[Top][All Lists]

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

[Help-smalltalk] Oh, patches!

From: Eli Green
Subject: [Help-smalltalk] Oh, patches!
Date: Tue, 13 Oct 2009 16:00:38 +0200

I totally forgot that the HEAD won't compile on OS X without a few changes:

I haven't run the test suite but autoconf on OS X is 2.61 so I punted on the 
prerequisites and just changed the number. I'm surprised anybody can compile 
without multiple defined symbols right now without adding extern to the 
_gst_sem_int_vec declaration...

diff --git a/ b/
index 056e1cc..0fa210d 100644
--- a/
+++ b/
@@ -6,8 +6,8 @@ dnl Please see COPYING for a description your rights and respons
 dnl with this software.
 dnl Process this file with autoconf to produce a configure script.
-dnl 2.63 needed by testsuite, actually
+dnl 2.61 needed by testsuite, actually
 AC_INIT([GNU Smalltalk], 3.1, address@hidden, smalltalk)
diff --git a/libgst/events.h b/libgst/events.h
index d6835fa..5772938 100644
--- a/libgst/events.h
+++ b/libgst/events.h
@@ -54,7 +54,7 @@
 #define GST_EVENTS_H
 /* Array of semaphores associated to the C signals.  */
-volatile OOP _gst_sem_int_vec[NSIG];
+extern volatile OOP _gst_sem_int_vec[NSIG];
 /* Initialize the data structures used to hold information about
    asynchronous events requested by Smalltalk programs.  */

reply via email to

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