rpms/ortp/devel ortp-0.14.1-nowerror.patch, NONE, 1.1 ortp.spec, 1.18, 1.19

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Tue Feb 5 15:21:41 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/ortp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31404

Modified Files:
	ortp.spec 
Added Files:
	ortp-0.14.1-nowerror.patch 
Log Message:
Apply patch to remove -Werror from the build (for PPC).

ortp-0.14.1-nowerror.patch:

--- NEW FILE ortp-0.14.1-nowerror.patch ---
>From 35347d5adbebd7c65d52c797f28f74fc18b9da79 Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Tue, 5 Feb 2008 08:45:03 -0600
Subject: [PATCH] Don't enable -Werror (for PPC)

---
 configure.ac |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index aa96132..0811561 100644
--- a/configure.ac
+++ b/configure.ac
@@ -229,10 +229,6 @@ if test "$perf" = "yes" ; then
 	CFLAGS="$CFLAGS -DPERF"
 fi
 
-if test $GCC = yes && test $wall_werror = yes;  then
-	CFLAGS="$CFLAGS -Werror "
-fi
-
 ORTPDEPS_LIBS="$ORTPDEPS_LIBS $PTHREAD_LIBS $PTHREAD_LDFLAGS $SRTP_LIBS"
 ORTPDEPS_CFLAGS="$ORTPDEPS_CFLAGS $PTHREAD_CFLAGS $ORTP_DEFS $SRTP_CFLAGS"
 CFLAGS="$CFLAGS $ORTP_DEFS"
-- 
1.5.3.8



Index: ortp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ortp/devel/ortp.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ortp.spec	4 Feb 2008 17:05:56 -0000	1.18
+++ ortp.spec	5 Feb 2008 15:20:59 -0000	1.19
@@ -2,7 +2,7 @@
 
 Name:           ortp
 Version:        0.14.1
-Release:        0.%{cvs}.1%{?dist}
+Release:        0.%{cvs}.2%{?dist}
 Summary:        A C library implementing the RTP protocol (RFC3550)
 
 Group:          System Environment/Libraries
@@ -15,6 +15,7 @@
 # git archive --format=tar --prefix=ortp-%{version}/ ortp-%{version}-%{cvs} > ortp-%{version}-%{cvs}.tar
 # bzip2 ortp-%{version}-%{cvs}.tar
 Source0:	ortp-%{version}-%{cvs}.tar.bz2
+Patch0:		ortp-0.14.1-nowerror.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -38,7 +39,9 @@
 Libraries and headers required to develop software with ortp.
 
 %prep
-%setup -q
+%setup0 -q
+%patch0 -p1
+
 %{__perl} -pi.dot  -e 's/^(HAVE_DOT\s+=)\s+NO$/\1 YES/;s/^(CALL_GRAPH\s+=)\s+NO$/\1 YES/;s/^(CALLER_GRAPH\s+=)\s+NO$/\1 YES/' ortp.doxygen.in
 
 %build
@@ -76,6 +79,9 @@
 %{_libdir}/pkgconfig/ortp.pc
 
 %changelog
+* Tue Feb  5 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.14.1-0.20080123.2
+- Apply patch to remove -Werror from the build (for PPC).
+
 * Fri Feb  1 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.14.1-0.20080123.1
 - Update to 0.14.1 (using CVS snapshot until official release is available).
 




More information about the fedora-extras-commits mailing list