* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libcli/files/
@ 2023-12-29 4:21 YiFei Zhu
0 siblings, 0 replies; only message in thread
From: YiFei Zhu @ 2023-12-29 4:21 UTC (permalink / raw
To: gentoo-commits
commit: 2b4bd08b9de1b085e9ddbb750082edee1be920f6
Author: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 29 04:18:16 2023 +0000
Commit: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Fri Dec 29 04:19:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b4bd08b
dev-libs/libcli: Remove -Werror
Closes: https://bugs.gentoo.org/920891
Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>
dev-libs/libcli/files/libcli-1.10.7-makefile.patch | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-libs/libcli/files/libcli-1.10.7-makefile.patch b/dev-libs/libcli/files/libcli-1.10.7-makefile.patch
index 78e803176b..f6af1e6615 100644
--- a/dev-libs/libcli/files/libcli-1.10.7-makefile.patch
+++ b/dev-libs/libcli/files/libcli-1.10.7-makefile.patch
@@ -1,4 +1,4 @@
-From 2e86f55dd594dd176c1ade2ce58918900e011391 Mon Sep 17 00:00:00 2001
+From 08cc1bf7558e3ba24149d4452677abcc7caf270a Mon Sep 17 00:00:00 2001
From: YiFei Zhu <zhuyifei1999@gmail.com>
Date: Mon, 25 Dec 2023 08:40:21 -0800
Subject: [PATCH] Gentoo Makefile changes
@@ -7,12 +7,15 @@ Subject: [PATCH] Gentoo Makefile changes
- Use env vars for $(CC) $(AR) and $(PREFIX)
- Delete $(DEBUG) $(OPTIM); we don't want package to override CFLAGS
in make.conf
+- Remove -Werror [1]
+
+[1] https://bugs.gentoo.org/920891
---
Makefile | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
-index d365952..951fc85 100644
+index d365952..ce393fd 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ TESTS ?= 1
@@ -37,7 +40,7 @@ index d365952..951fc85 100644
-DEBUG = -g
-OPTIM = -O3
-override CFLAGS += $(DEBUG) $(OPTIM) -Wall -std=c99 -pedantic -Wformat-security -Wno-format-zero-length -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wsign-compare -Wcast-align -Wno-unused-parameter
-+override CFLAGS += -Wall -std=c99 -pedantic -Wformat-security -Wno-format-zero-length -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wsign-compare -Wcast-align -Wno-unused-parameter
++override CFLAGS += -Wall -std=c99 -pedantic -Wformat-security -Wno-format-zero-length -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wsign-compare -Wcast-align -Wno-unused-parameter
override LDFLAGS += -shared
override LIBPATH += -L.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-29 4:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-29 4:21 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libcli/files/ YiFei Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox