aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-03 15:09:38 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-03 15:09:38 +0000
commitbbc85104dd433b30a62cf681e7090249605ddd93 (patch)
tree62a8b0a9a482416a3feecb385648c40b65db54cf /archivers
parent8be2c3de11006848ca95dfae6338e170ab01c311 (diff)
downloadports-bbc85104dd433b30a62cf681e7090249605ddd93.tar.gz
ports-bbc85104dd433b30a62cf681e7090249605ddd93.zip
archivers/py-bup: don't set -Werror
Fixes build with base GCC. Approved by: portmgr (ports compliance blanket) MFH: 2020Q1 (ports compliance blanket)
Notes
Notes: svn path=/head/; revision=521945
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-bup/files/patch-Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/archivers/py-bup/files/patch-Makefile b/archivers/py-bup/files/patch-Makefile
index 2fe6c137d624..34d058bab6b6 100644
--- a/archivers/py-bup/files/patch-Makefile
+++ b/archivers/py-bup/files/patch-Makefile
@@ -1,6 +1,15 @@
---- Makefile.orig 2017-03-26 22:24:25 UTC
+--- Makefile.orig 2019-08-25 17:32:03 UTC
+++ Makefile
-@@ -80,7 +80,7 @@ man_html := $(patsubst %.md,%.html,$(man
+@@ -25,7 +25,7 @@ current_sampledata := t/sampledata/var/rev/v$(sampleda
+ os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok))
+ os := $(call shout,$(os),Unable to determine OS)
+
+-CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
++CFLAGS := -Wall -O2 -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
+ CFLAGS := -D_FILE_OFFSET_BITS=64 $(CFLAGS)
+ SOEXT:=.so
+
+@@ -84,7 +84,7 @@ man_html := $(patsubst %.md,%.html,$(man_md))
INSTALL=install
PREFIX=/usr/local