[Gridflow-cvs] [svn] commit: r3611 - in /trunk: Makefile rubyext.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Apr 18 18:55:07 EDT 2008


Author: matju
Date: Fri Apr 18 18:55:06 2008
New Revision: 3611

Log:
remove libruby.so

Modified:
    trunk/Makefile
    trunk/rubyext.c

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Apr 18 18:55:06 2008
@@ -12,7 +12,6 @@
 RM = rm -f
 CFLAGS += -Wall -Wno-unused -Wunused-variable
 CFLAGS += -g -fPIC -I.
-CFLAGS += -DUSE_RUBY
 
 # LDFLAGS += ../gem-cvs/Gem/Gem.pd_linux
 ifeq ($(HAVE_DEBUG),yes)
@@ -23,7 +22,7 @@
 endif
 
 LDSOFLAGS += -lm
-BRIDGE_LDFLAGS += -lm $(LIBRUBYARG) $(LIBS)
+BRIDGE_LDFLAGS += -lm $(LIBS)
 OBJS2 = base/main.o base/grid.o base/flow_objects.o \
 base/number.1.o base/number.2.o base/number.3.o base/number.4.o format/main.o
 SYSTEM = $(shell uname -s | sed -e 's/^MINGW.*/NT/')

Modified: trunk/rubyext.c
==============================================================================
--- trunk/rubyext.c (original)
+++ trunk/rubyext.c Fri Apr 18 18:55:06 2008
@@ -292,15 +292,6 @@
 }
 
 //****************************************************************
-
-/* revival of the stack end crutch of 2003-2005... just in case */
-static t_clock *hack;
-extern "C" void Init_stack(void*);
-static void ruby_stack_end_hack () {
-	int bogus;
-	Init_stack(&bogus);
-	clock_free(hack);
-}
 
 struct t_namelist;
 extern t_namelist *sys_searchpath, *sys_helppath;
@@ -421,8 +412,6 @@
 	STARTUP_LIST()
 	delete[] dirresult;
 	delete[] dirname;
-	hack = clock_new((void*)0,(t_method)ruby_stack_end_hack);
-	clock_delay(hack,0);
 	signal(SIGSEGV,SIG_DFL);
 	signal(SIGABRT,SIG_DFL);
 	signal(SIGBUS, SIG_DFL);



More information about the Gridflow-cvs mailing list