mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-misc/ddcutil: drop Werror
Closes: https://bugs.gentoo.org/744970 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -40,6 +40,10 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.2-no-werror.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
|
||||
41
app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch
Normal file
41
app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
--- a/src/adl/Makefile.am
|
||||
+++ b/src/adl/Makefile.am
|
||||
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
|
||||
AM_CPPFLAGS += -I@ADL_HEADER_DIR@
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
--- a/src/app_sysenv/Makefile.am
|
||||
+++ b/src/app_sysenv/Makefile.am
|
||||
@@ -12,7 +12,6 @@ endif
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
--- a/src/i2c/Makefile.am
|
||||
+++ b/src/i2c/Makefile.am
|
||||
@@ -4,7 +4,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
--- a/src/test/Makefile.am
|
||||
+++ b/src/test/Makefile.am
|
||||
@@ -4,7 +4,7 @@ $(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror
|
||||
+AM_CFLAGS = -Wall
|
||||
|
||||
CLEANFILES = \
|
||||
*expand
|
||||
Reference in New Issue
Block a user