[tcptrack] Remove -Werror from AM_CXXFLAGS in src/Makefile.* (FTBFS RHBZ#1107444).

corsepiu corsepiu at fedoraproject.org
Tue Jul 22 12:54:11 UTC 2014


commit 575e68e71b8a0659d4f4d73669d5c25e2b84c56c
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Jul 22 14:53:51 2014 +0200

    Remove -Werror from AM_CXXFLAGS in src/Makefile.* (FTBFS RHBZ#1107444).

 tcptrack-1.4.2-no-werror.patch |   22 ++++++++++++++++++++++
 tcptrack.spec                  |    8 +++++++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/tcptrack-1.4.2-no-werror.patch b/tcptrack-1.4.2-no-werror.patch
new file mode 100644
index 0000000..0367c35
--- /dev/null
+++ b/tcptrack-1.4.2-no-werror.patch
@@ -0,0 +1,22 @@
+diff -Naur tcptrack-1.4.2.orig/src/Makefile.am tcptrack-1.4.2/src/Makefile.am
+--- tcptrack-1.4.2.orig/src/Makefile.am	2010-09-28 01:02:01.000000000 +0200
++++ tcptrack-1.4.2/src/Makefile.am	2014-07-22 13:53:03.081360006 +0200
+@@ -25,5 +25,5 @@
+ EXTRA_DIST = tcptrack.1
+ 
+ # no-deprecated required due to hash_map
+-AM_CXXFLAGS = -Werror -Wno-deprecated -Wall
++AM_CXXFLAGS = -Wno-deprecated -Wall
+ 
+diff -Naur tcptrack-1.4.2.orig/src/Makefile.in tcptrack-1.4.2/src/Makefile.in
+--- tcptrack-1.4.2.orig/src/Makefile.in	2011-08-03 19:37:02.000000000 +0200
++++ tcptrack-1.4.2/src/Makefile.in	2014-07-22 13:53:03.084359998 +0200
+@@ -211,7 +211,7 @@
+ EXTRA_DIST = tcptrack.1
+ 
+ # no-deprecated required due to hash_map
+-AM_CXXFLAGS = -Werror -Wno-deprecated -Wall
++AM_CXXFLAGS = -Wno-deprecated -Wall
+ all: all-am
+ 
+ .SUFFIXES:
diff --git a/tcptrack.spec b/tcptrack.spec
index ceeef26..c993585 100644
--- a/tcptrack.spec
+++ b/tcptrack.spec
@@ -1,6 +1,6 @@
 Name:           tcptrack
 Version:        1.4.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Displays information about tcp connections on a network interface
 
 Group:          Applications/System
@@ -9,6 +9,8 @@ URL:            http://www.rhythm.cx/~steve/devel/tcptrack/
 Source0:        http://www.rhythm.cx/~steve/devel/%{name}/release/%{version}/source/%{name}-%{version}.tar.gz
 #Increase text ui select timeout to 10000 usec, upstream agrees
 Patch0:         tcptrack-1.4.0-timeout.patch
+#Kick out -Werror from AM_CXXFLAGS
+Patch1:         tcptrack-1.4.2-no-werror.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ncurses-devel
@@ -25,6 +27,7 @@ and bandwidth usage
 %prep
 %setup -q
 %patch0 -p1 -b .timeout
+%patch1 -p1
 
 %build
 %configure
@@ -48,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 22 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.4.2-7
+- Remove -Werror from AM_CXXFLAGS in src/Makefile.* (FTBFS RHBZ#1107444).
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list