[21146] trunk/dports/devel/allegro
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jan 6 21:10:33 PST 2007
Revision: 21146
http://trac.macosforge.org/projects/macports/changeset/21146
Author: jkh at macports.org
Date: 2007-01-06 21:10:33 -0800 (Sat, 06 Jan 2007)
Log Message:
-----------
Make this work with gcc 4.x - static scoping is more rigorously enforced.
Modified Paths:
--------------
trunk/dports/devel/allegro/Portfile
Added Paths:
-----------
trunk/dports/devel/allegro/files/patch-gui.c
trunk/dports/devel/allegro/files/patch-sound.c
Modified: trunk/dports/devel/allegro/Portfile
===================================================================
--- trunk/dports/devel/allegro/Portfile 2007-01-07 03:26:05 UTC (rev 21145)
+++ trunk/dports/devel/allegro/Portfile 2007-01-07 05:10:33 UTC (rev 21146)
@@ -14,7 +14,7 @@
master_sites sourceforge:alleg
checksums md5 e125d7665d359f2392b6330c741bdbc6
depends_lib lib:libX11:XFree86
-patchfiles patch-makefile.osx
+patchfiles patch-makefile.osx patch-gui.c patch-sound.c
configure {
system "cd ${worksrcpath} && sh fix.sh macosx"
}
Added: trunk/dports/devel/allegro/files/patch-gui.c
===================================================================
--- trunk/dports/devel/allegro/files/patch-gui.c (rev 0)
+++ trunk/dports/devel/allegro/files/patch-gui.c 2007-01-07 05:10:33 UTC (rev 21146)
@@ -0,0 +1,19 @@
+--- src/gui.c.orig 2007-01-06 21:02:25.000000000 -0800
++++ src/gui.c 2007-01-06 21:08:11.000000000 -0800
+@@ -46,6 +46,7 @@
+ DIALOG *active_dialog = NULL;
+ MENU *active_menu = NULL;
+
++static int shutdown_single_menu(MENU_PLAYER *, int *);
+
+ /* list of currently active (initialized) dialog players */
+ struct al_active_dialog_player {
+@@ -1784,8 +1785,6 @@
+ */
+ int update_menu(MENU_PLAYER *player)
+ {
+- static int shutdown_single_menu(MENU_PLAYER *, int *);
+-
+ MENU_PLAYER *i;
+ int c, c2;
+ int old_sel, child_ret;
Added: trunk/dports/devel/allegro/files/patch-sound.c
===================================================================
--- trunk/dports/devel/allegro/files/patch-sound.c (rev 0)
+++ trunk/dports/devel/allegro/files/patch-sound.c 2007-01-07 05:10:33 UTC (rev 21146)
@@ -0,0 +1,11 @@
+--- src/sound.c.orig 2007-01-06 21:10:19.000000000 -0800
++++ src/sound.c 2007-01-06 21:10:53.000000000 -0800
+@@ -25,7 +25,7 @@
+
+
+
+-extern DIGI_DRIVER digi_none;
++static DIGI_DRIVER digi_none;
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070106/0d027d47/attachment.html
More information about the macports-changes
mailing list