summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-29 09:36:37 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-29 09:36:37 +0200
commitd017723ad88c3f9ace47da27795e855fff05cb72 (patch)
tree989f77723b737808ea88900a824259e9b14f9d76
parent11e60ddab0badfd77df5fb9f16e4e4192b2411fe (diff)
jamvm-native 1.5.3: Prevent evil jni.h from being installed.
-rw-r--r--recipes/jamvm/files/jamvm-1.5.3-jni_h-noinst.patch13
-rw-r--r--recipes/jamvm/jamvm-native_1.5.3.bb4
2 files changed, 16 insertions, 1 deletions
diff --git a/recipes/jamvm/files/jamvm-1.5.3-jni_h-noinst.patch b/recipes/jamvm/files/jamvm-1.5.3-jni_h-noinst.patch
new file mode 100644
index 0000000000..f0884fd838
--- /dev/null
+++ b/recipes/jamvm/files/jamvm-1.5.3-jni_h-noinst.patch
@@ -0,0 +1,13 @@
+Index: jamvm-1.5.3/src/Makefile.am
+===================================================================
+--- jamvm-1.5.3.orig/src/Makefile.am 2009-09-29 09:29:13.386565473 +0200
++++ jamvm-1.5.3/src/Makefile.am 2009-09-29 09:33:47.702565852 +0200
+@@ -23,7 +23,7 @@
+ DIST_SUBDIRS = os arch interp
+
+ bin_PROGRAMS = jamvm
+-include_HEADERS = jni.h
++noinst_HEADERS = jni.h
+
+ lib_LTLIBRARIES = libjvm.la
+ noinst_LTLIBRARIES = libcore.la
diff --git a/recipes/jamvm/jamvm-native_1.5.3.bb b/recipes/jamvm/jamvm-native_1.5.3.bb
index 07a213c260..bc3cbe9950 100644
--- a/recipes/jamvm/jamvm-native_1.5.3.bb
+++ b/recipes/jamvm/jamvm-native_1.5.3.bb
@@ -2,5 +2,7 @@
require jamvm-native.inc
-PR = "r0"
+PR = "r1"
+
+SRC_URI += "file://jamvm-1.5.3-jni_h-noinst.patch;patch=1"