]> git.pld-linux.org Git - packages/dropwatch.git/commitdiff
disable -Werror
authorJan Palus <atler@pld-linux.org>
Tue, 20 Jul 2021 23:19:37 +0000 (01:19 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 20 Jul 2021 23:19:37 +0000 (01:19 +0200)
dropwatch-no_werror.patch [new file with mode: 0644]
dropwatch.spec

diff --git a/dropwatch-no_werror.patch b/dropwatch-no_werror.patch
new file mode 100644 (file)
index 0000000..b4bfb55
--- /dev/null
@@ -0,0 +1,11 @@
+--- dropwatch-1.5.3/src/Makefile.am.orig       2020-03-19 14:19:40.000000000 +0100
++++ dropwatch-1.5.3/src/Makefile.am    2021-07-21 01:18:23.495547294 +0200
+@@ -1,7 +1,7 @@
+ bin_PROGRAMS = dropwatch dwdump
+-AM_CFLAGS = -g -Wall -Werror $(LIBNL3_CFLAGS) $(READLINE_CFLAGS)
++AM_CFLAGS = -g -Wall $(LIBNL3_CFLAGS) $(READLINE_CFLAGS)
+ AM_LDFLAGS = $(LIBNL3_LIBS) -lnl-genl-3 $(READLINE_LIBS) -lpcap
+ AM_CPPFLAGS = -D_GNU_SOURCE
index 4a05a2dd5287b0533e840819c175fc21c590c2fc..df6b0450f570f3b1504fe40c18c37eb5ffadd6a9 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v2+
 Group:         Applications/System
 Source0:       https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 64527bb669393e45b9b21f0b91c574c0
+Patch0:                %{name}-no_werror.patch
 URL:           https://github.com/nhorman/dropwatch
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -29,6 +30,7 @@ odrzuconych pakietów sieciowych.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.12613 seconds and 4 git commands to generate.