summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2017-05-25 11:23:02 (GMT)
committerespie <espie@openbsd.org>2017-05-25 11:23:02 (GMT)
commit90593cd9580f6f8b2937811fb02dfc6274340a8a (patch)
tree146b8e6c95d7b0d31e34e960d1d025ae3ba765ff
parentc4682a73a695e89bdc19ac2a761f2d5894592080 (diff)
downloadopenbsd-ports-90593cd9580f6f8b2937811fb02dfc6274340a8a.tar.gz
openbsd-ports-90593cd9580f6f8b2937811fb02dfc6274340a8a.tar.xz
Werror considered harmful
-rw-r--r--lang/jruby/patches/patch-jffi_jni_GNUmakefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/jruby/patches/patch-jffi_jni_GNUmakefile b/lang/jruby/patches/patch-jffi_jni_GNUmakefile
new file mode 100644
index 0000000..da07a2b
--- /dev/null
+++ b/lang/jruby/patches/patch-jffi_jni_GNUmakefile
@@ -0,0 +1,14 @@
+$OpenBSD: patch-jffi_jni_GNUmakefile,v 1.1 2017/05/25 11:23:02 espie Exp $
+
+Index: jffi/jni/GNUmakefile
+--- jffi/jni/GNUmakefile.orig
++++ jffi/jni/GNUmakefile
+@@ -68,7 +68,7 @@ WERROR = -Werror
+ ifneq ($(OS),darwin)
+ WFLAGS += -Wundef $(WERROR)
+ endif
+-WFLAGS += -W -Wall -Wno-unused -Wno-parentheses
++WFLAGS += -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter
+ PICFLAGS = -fPIC
+ SOFLAGS = # Filled in for each OS specifically
+ FFI_MMAP_EXEC = -DFFI_MMAP_EXEC_WRIT