From 65e4244e411c4f65f55f2aa91f39e228f4c0680b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Mar 2023 13:38:05 +0000 Subject: gentoo auto-resync : 04:03:2023 - 13:38:04 --- dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'dev-java/jffi/files') 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 $@ -- cgit v1.2.3