[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] patch: gst-2.95h on Mac OS X 10.3.9

From: Tony Garnock-Jones
Subject: [Help-smalltalk] patch: gst-2.95h on Mac OS X 10.3.9
Date: Tue, 01 Jan 2008 18:50:16 +0000
User-agent: Mozilla-Thunderbird (X11/20070622)

Hi all,

I'm running the now fairly old 10.3.9 version of Mac OS X, and I found that unfortunately gst-2.95h didn't compile out-of-the-box for me.

The two changes that I had to make were:

* change the header file includes in socketx.h to the older way of
  getting the prototypes for select(2)

* change part of a .section declaration in darwin_closure.S to remove
  mention of the live_support section attribute, which isn't available
  on OS X 10.3.9.

After these changes, gst compiles and runs well for me. Thanks for a great piece of software! I'm looking forward to getting into it.

The patch is both attached to this message, and available at

diff -ru smalltalk-2.95h/lib-src/socketx.h 
--- smalltalk-2.95h/lib-src/socketx.h   2007-11-05 08:22:48.000000000 +0000
+++ smalltalk-2.95h-modified/lib-src/socketx.h  2008-01-01 18:36:39.000000000 
@@ -103,8 +103,10 @@
 #else /* !__MSVCRT__ */
+#include <sys/types.h>
+#include <sys/time.h>
+#include <unistd.h>
 #include <errno.h>
-#include <sys/select.h>
 #include <sys/socket.h>
 #include <netdb.h>
 #include <netinet/in.h>
diff -ru smalltalk-2.95h/libffi/src/powerpc/darwin_closure.S 
--- smalltalk-2.95h/libffi/src/powerpc/darwin_closure.S 2006-03-17 
08:00:52.000000000 +0000
+++ smalltalk-2.95h-modified/libffi/src/powerpc/darwin_closure.S        
2007-12-30 05:43:47.000000000 +0000
@@ -246,7 +246,7 @@
 /* END(ffi_closure_ASM)  */
-.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
+.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms
        .set    L$set$0,LECIE1-LSCIE1
        .long   L$set$0 ; Length of Common Information Entry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]