rpms/ortp/devel ortp-0.11.0-Werror.patch, NONE, 1.1 ortp.spec, 1.10, 1.11

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Mon Oct 9 14:33:46 UTC 2006


Author: jcollie

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

Modified Files:
	ortp.spec 
Added Files:
	ortp-0.11.0-Werror.patch 
Log Message:
Adding -Werror patch back

ortp-0.11.0-Werror.patch:

--- NEW FILE ortp-0.11.0-Werror.patch ---
--- configure.orig	2006-10-09 09:20:54.000000000 -0500
+++ configure	2006-10-09 09:21:27.000000000 -0500
@@ -21285,10 +21285,6 @@
 _ACEOF
 
 
-if test $GCC = yes && test $wall_werror = yes;  then
-	CFLAGS="$CFLAGS -Werror "
-fi
-
 ORTPDEPS_LIBS="$ORTPDEPS_LIBS $PTHREAD_LIBS $PTHREAD_LDFLAGS"
 ORTPDEPS_CFLAGS="$ORTPDEPS_CFLAGS $PTHREAD_CFLAGS $ORTP_DEFS"
 CFLAGS="$CFLAGS $ORTP_DEFS"


Index: ortp.spec
===================================================================
RCS file: /cvs/extras/rpms/ortp/devel/ortp.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ortp.spec	9 Oct 2006 13:16:53 -0000	1.10
+++ ortp.spec	9 Oct 2006 14:33:45 -0000	1.11
@@ -1,12 +1,13 @@
 Name:           ortp
 Version:        0.11.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A C library implementing the RTP protocol (RFC3550)
 
 Group:          System Environment/Libraries
 License:        LGPL
 URL:            http://www.linphone.org/index.php/v2/code_review/ortp
 Source0:        http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-%{version}.tar.gz
+Patch0:		ortp-0.11.0-Werror.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure --disable-static
@@ -48,6 +50,9 @@
 %doc %{_datadir}/gtk-doc/html/%{name}
 
 %changelog
+* Mon Oct  9 2006 Jeffrey C. Ollie <jeff at max1.ocjtech.us> - 0.11.0
+- Bring back -Werror patch (needed for building on PPC)
+
 * Mon Oct  9 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.11.0-1
 - Update to 0.11.0
 - Remove ortp-0.8.1-Werror.patch




More information about the fedora-extras-commits mailing list