diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-03-01 12:05:09 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-04 08:22:22 +0100 |
commit | d9e0fbfe50821c810cad6f7a374d95d8baef1117 (patch) | |
tree | 39201bff375af16a6d96121184d055d5e7d0fa2d /dev-java/jffi | |
parent | sys-fs/btrfs-progs: Stabilize 6.1.2 ppc, #899376 (diff) | |
download | gentoo-d9e0fbfe50821c810cad6f7a374d95d8baef1117.tar.gz gentoo-d9e0fbfe50821c810cad6f7a374d95d8baef1117.tar.bz2 gentoo-d9e0fbfe50821c810cad6f7a374d95d8baef1117.zip |
dev-java/jffi: suppress -Werror flag
Closes: https://bugs.gentoo.org/898142
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29870
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jffi')
-rw-r--r-- | dev-java/jffi/files/jffi-1.3.8-GNUmakefile.patch | 19 |
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 $@ |