summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-01-02 17:28:31 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-06-08 10:12:09 +0200
commitaab81bcdbf942f37f06c0f03fefde6a717d51d3e (patch)
tree58c9fa4b582e2c9752657a17bfb9b0c16bb9ed69 /dev-java/jffi/files
parentdev-java/logback-core: Ignore test failing under Java 17 (diff)
downloadgentoo-aab81bcdbf942f37f06c0f03fefde6a717d51d3e.tar.gz
gentoo-aab81bcdbf942f37f06c0f03fefde6a717d51d3e.tar.bz2
gentoo-aab81bcdbf942f37f06c0f03fefde6a717d51d3e.zip
dev-java/jffi: add 1.3.9
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/jffi/files')
-rw-r--r--dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch b/dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch
new file mode 100644
index 000000000000..0e42b385e7b7
--- /dev/null
+++ b/dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch
@@ -0,0 +1,28 @@
+diff --git a/jni/GNUmakefile b/jni/GNUmakefile
+index cfe570a..c8bbb51 100755
+--- a/jni/GNUmakefile
++++ b/jni/GNUmakefile
+@@ -278,7 +278,7 @@ debug:
+ @echo "OBJS=$(OBJS)"
+
+ $(LIBJFFI): $(OBJS) $(LIBFFI_LIBS)
+- $(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI) $(LIBS)
++ $(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI) $(LIBS) $(LIBFFI_LIBS)
+ $(STRIP) $@
+ ifeq ($(OS), darwin)
+ codesign -s - $@
+@@ -287,10 +287,14 @@ endif
+ $(BUILD_DIR)/%.o : $(SRC_DIR)/%.c $(wildcard $(JFFI_SRC_DIR)/*.h)
+ @mkdir -p $(@D)
+ @$(CCACHE) $(CC) $(CFLAGS) -c $< -o $@
++ mkdir -p $(@D)
++ $(CCACHE) $(CC) $(CFLAGS) -c $< -o $@
+
+ $(BUILD_DIR)/%.o : $(SRC_DIR)/%.S $(wildcard $(JFFI_SRC_DIR)/*.h)
+ @mkdir -p $(@D)
+ @$(CC) $(CFLAGS) -o $@ -c $<
++ mkdir -p $(@D)
++ $(CC) $(CFLAGS) -o $@ -c $<
+
+ $(OBJS) : $(LIBFFI)
+