summaryrefslogtreecommitdiff
path: root/dev-java/jffi/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-04 13:38:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-04 13:38:05 +0000
commit65e4244e411c4f65f55f2aa91f39e228f4c0680b (patch)
tree8b41c53639e40128179128339b45b0ed05984142 /dev-java/jffi/files
parent5ae7efc9abae6bb8f8fac438298427769a91f5ad (diff)
gentoo auto-resync : 04:03:2023 - 13:38:04
Diffstat (limited to 'dev-java/jffi/files')
-rw-r--r--dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch19
1 files changed, 15 insertions, 4 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
index 0e42b385e7b7..3153ff08d307 100644
--- a/dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch
+++ b/dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch
@@ -1,8 +1,19 @@
-diff --git a/jni/GNUmakefile b/jni/GNUmakefile
-index cfe570a..c8bbb51 100755
+Bug: #898142
--- a/jni/GNUmakefile
+++ b/jni/GNUmakefile
-@@ -278,7 +278,7 @@ debug:
+@@ -67,9 +67,11 @@ OFLAGS = -O2 $(JFLAGS)
+ WERROR = -Werror
+ ifneq ($(OS),darwin)
+ ifneq ($(OS),aix)
++ifneq ($(OS),linux)
+ WFLAGS += -Wundef $(WERROR)
+ endif
+ endif
++endif
+ WFLAGS += -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter
+ PICFLAGS = -fPIC
+ SOFLAGS = # Filled in for each OS specifically
+@@ -278,7 +280,7 @@ debug:
@echo "OBJS=$(OBJS)"
$(LIBJFFI): $(OBJS) $(LIBFFI_LIBS)
@@ -11,7 +22,7 @@ index cfe570a..c8bbb51 100755
$(STRIP) $@
ifeq ($(OS), darwin)
codesign -s - $@
-@@ -287,10 +287,14 @@ endif
+@@ -287,10 +289,14 @@ endif
$(BUILD_DIR)/%.o : $(SRC_DIR)/%.c $(wildcard $(JFFI_SRC_DIR)/*.h)
@mkdir -p $(@D)
@$(CCACHE) $(CC) $(CFLAGS) -c $< -o $@