From bbc85104dd433b30a62cf681e7090249605ddd93 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 3 Jan 2020 15:09:38 +0000 Subject: [PATCH] archivers/py-bup: don't set -Werror Fixes build with base GCC. Approved by: portmgr (ports compliance blanket) MFH: 2020Q1 (ports compliance blanket) --- archivers/py-bup/files/patch-Makefile | 13 +++++++++++-- 1 file 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