aboutsummaryrefslogtreecommitdiff
path: root/audio/glame/files/patch-src_glmid_glscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/glame/files/patch-src_glmid_glscript.h')
-rw-r--r--audio/glame/files/patch-src_glmid_glscript.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/glame/files/patch-src_glmid_glscript.h b/audio/glame/files/patch-src_glmid_glscript.h
new file mode 100644
index 000000000000..fd2642f6f3b4
--- /dev/null
+++ b/audio/glame/files/patch-src_glmid_glscript.h
@@ -0,0 +1,15 @@
+--- src/glmid/glscript.h.orig 2008-03-02 14:07:01.000000000 -0500
++++ src/glmid/glscript.h 2008-03-02 14:07:39.000000000 -0500
+@@ -32,6 +32,12 @@
+ #include "gpsm.h"
+ #include "swapfile.h"
+
++/* Check if we have guile of at least version 1.8 */
++#undef HAVE_GUILE18
++#if SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION >= 8
++#define HAVE_GUILE18 1
++#endif
++
+
+ /* Initializes the guile scripting subsystem. Returns 0 on success,
+ * -1 on error. */