summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jmp/files/jmp-0.51-gcc44.patch')
-rw-r--r--dev-java/jmp/files/jmp-0.51-gcc44.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-java/jmp/files/jmp-0.51-gcc44.patch b/dev-java/jmp/files/jmp-0.51-gcc44.patch
new file mode 100644
index 000000000000..239d025dcbf9
--- /dev/null
+++ b/dev-java/jmp/files/jmp-0.51-gcc44.patch
@@ -0,0 +1,13 @@
+diff -ur jmp-0.51-orig/jmp.c jmp-0.51/jmp.c
+--- jmp-0.51-orig/jmp.c 2009-07-25 16:39:20.000000000 -0400
++++ jmp-0.51/jmp.c 2009-07-25 16:41:29.000000000 -0400
+@@ -167,7 +167,7 @@
+
+ #ifdef JVMPI_VERSION_1_2
+ static jint jvmpi_version_supported = JVMPI_VERSION_1_2;
+-#elif JVMPI_VERSION_1_1
++#elif defined(JVMPI_VERSION_1_1)
+ static jint jvmpi_version_supported = JVMPI_VERSION_1_1;
+ #else
+ static jint jvmpi_version_supported = JVMPI_VERSION_1;
+