Files @ 39d1268394e4
Branch filter:

Location: ohnobinki_overlay/media-sound/glame/files/glame-2.0.1-guile18.patch

binki
media-sound/glame fixed problem with newer guile

Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:

glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
--- glame-2.0.1/src/include/glame_guile_compat.h	Sat Oct 23 09:09:27 2004
+++ glame-2.0.1/src/include/glame_guile_compat.h	Tue Mar 10 18:49:36 2009
@@ -47,7 +47,7 @@
 #define glame_scm2double(obj) scm_num2dbl (obj, "somewhere")
 #define scm_str2string(str) gh_str02scm (str)
 
-#if (SCM_MINOR_VERSION == 7)
+#if (SCM_MINOR_VERSION > 6)
 #define GLAME_NEWCELL(z) z = scm_cell (SCM_UNPACK(z), 0)
 #endif