summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2023-02-07 15:25:14 +0300
committerSam James <sam@gentoo.org>2023-02-08 04:10:40 +0000
commitb1556a4ddabf55f1adf02de75bb5bce64a4b18f5 (patch)
treef7f07af37beab62197927b2c910a575cc7cac9f4 /app-arch
parentapp-backup/rsnapshot: fix email to align w/ bz (diff)
downloadgentoo-b1556a4ddabf55f1adf02de75bb5bce64a4b18f5.tar.gz
gentoo-b1556a4ddabf55f1adf02de75bb5bce64a4b18f5.tar.bz2
gentoo-b1556a4ddabf55f1adf02de75bb5bce64a4b18f5.zip
app-arch/qpress: exclude -Werror on build
Closes: https://bugs.gentoo.org/889336 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29460 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/qpress/files/qpress-20220819-fix-build-system.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-arch/qpress/files/qpress-20220819-fix-build-system.patch b/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
index 79676f57664d..3fb5750eac9b 100644
--- a/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
+++ b/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
@@ -11,13 +11,12 @@ diff --git a/makefile b/makefile
index 4890f9d..349fbb2 100755
--- a/makefile
+++ b/makefile
-@@ -1,9 +1,21 @@
+@@ -1,9 +1,20 @@
-PREFIX = /usr/local
+DESTDIR ?=
+PREFIX ?= /usr/local
+CXX ?= g++
-+CXXFLAGS ?= -O3
-+CXXFLAGS += -Wall -Wextra -Werror
++CXXFLAGS ?= -O3 -Wall -Wextra -Werror
+LDFLAGS ?=
-g++: qpress.cpp aio.cpp quicklz.c utilities.cpp