[qpid-cpp] patch for configure.ac

Nuno Santos nsantos at fedoraproject.org
Tue Sep 20 21:07:22 UTC 2011


commit fc08f7580f128a7b1502e12433cbf36d41359e01
Author: Nuno Santos <nsantos at redhat.com>
Date:   Tue Sep 20 17:07:04 2011 -0400

    patch for configure.ac

 configure.patch |   10 ++++++++++
 qpid-cpp.spec   |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/configure.patch b/configure.patch
new file mode 100644
index 0000000..38fbe4c
--- /dev/null
+++ b/configure.patch
@@ -0,0 +1,10 @@
+--- cpp/configure.ac	2011-06-07 15:32:01.000000000 -0400
++++ cpp/configure.ac	2011-09-20 17:02:20.996275528 -0400
+@@ -72,7 +72,6 @@
+ 	# CFLAGS/CXXFLAGS. In any case it's been in gcc for a long time (since 2.95 at least)
+ 	if test "${enableval}" = yes; then
+         COMPILER_FLAGS="-Werror"
+-	    gl_COMPILER_FLAGS(-pedantic)
+ 	    gl_COMPILER_FLAGS(-Wall)
+ 	    gl_COMPILER_FLAGS(-Wextra)
+ 	    gl_COMPILER_FLAGS(-Wno-shadow)
diff --git a/qpid-cpp.spec b/qpid-cpp.spec
index 1917bdb..9f4a60a 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -105,6 +105,7 @@ Source0:        qpid-%{version}.tar.gz
 Source1:        store-%{qpid_release}.%{store_svnrev}.tar.gz
 
 %if %{fedora}
+Patch0:         configure.patch
 Patch1:         fedora.patch
 %endif
 
@@ -840,6 +841,7 @@ popd
 %endif
 
 %if %{fedora}
+%patch0 -p0
 %patch1 -p2
 %endif
 


More information about the scm-commits mailing list