diff options
-rw-r--r-- | app-misc/ddcutil/ddcutil-1.2.2.ebuild | 4 | ||||
-rw-r--r-- | app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch | 41 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/ddcutil/ddcutil-1.2.2.ebuild b/app-misc/ddcutil/ddcutil-1.2.2.ebuild index 9aa77c1cc2d3..d6267f5e0cc6 100644 --- a/app-misc/ddcutil/ddcutil-1.2.2.ebuild +++ b/app-misc/ddcutil/ddcutil-1.2.2.ebuild @@ -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" diff --git a/app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch b/app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch new file mode 100644 index 000000000000..caedb9922d27 --- /dev/null +++ b/app-misc/ddcutil/files/ddcutil-1.2.2-no-werror.patch @@ -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 |