[packages/hexchat] disable failing on missing include dirs

atler atler at pld-linux.org
Thu Aug 13 18:56:32 CEST 2026


commit 82dc685f9a3f9dcf5b47733fb934497de9637c81
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Aug 13 18:46:01 2026 +0200

    disable failing on missing include dirs
    
    perl adds non-existent /usr/local/include to include paths in
    compilation flags resulting in build failure

 disable-werror.patch | 10 ++++++++++
 hexchat.spec         |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/hexchat.spec b/hexchat.spec
index 71b728d..93d833b 100644
--- a/hexchat.spec
+++ b/hexchat.spec
@@ -7,6 +7,7 @@ License:	GPL v2+
 Group:		X11/Applications/Networking
 Source0:	https://dl.hexchat.net/hexchat/%{name}-%{version}.tar.xz
 # Source0-md5:	0af269d719c2c047310d44804bb31fdb
+Patch0:		disable-werror.patch
 URL:		https://hexchat.github.io
 BuildRequires:	dbus-glib-devel
 BuildRequires:	glib2-devel >= 1:2.34.0
@@ -59,6 +60,7 @@ Ten pakiet zawiera pliki programistyczne HexChata.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %meson \
diff --git a/disable-werror.patch b/disable-werror.patch
new file mode 100644
index 0000000..4019f32
--- /dev/null
+++ b/disable-werror.patch
@@ -0,0 +1,10 @@
+--- hexchat-2.16.1/meson.build.orig	2022-02-12 19:30:55.878055000 +0100
++++ hexchat-2.16.1/meson.build	2026-08-13 18:44:22.164220605 +0200
+@@ -108,7 +108,6 @@
+   '-Werror=pointer-arith',
+   '-Werror=init-self',
+   ['-Werror=format-security', '-Werror=format=1'],
+-  '-Werror=missing-include-dirs',
+   '-Werror=date-time',
+ ]
+ foreach cflag : test_cflags
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hexchat.git/commitdiff/36a695b5e1389605dc2f17e392164bba9850b3de



More information about the pld-cvs-commit mailing list