packages: libupnp/libupnp.spec, libupnp/libupnp-opt.patch - opt patch is ba...

qboosh qboosh at pld-linux.org
Mon Mar 7 19:38:38 CET 2011


Author: qboosh                       Date: Mon Mar  7 18:38:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- opt patch is back (updated)

---- Files affected:
packages/libupnp:
   libupnp.spec (1.20 -> 1.21) , libupnp-opt.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/libupnp/libupnp.spec
diff -u packages/libupnp/libupnp.spec:1.20 packages/libupnp/libupnp.spec:1.21
--- packages/libupnp/libupnp.spec:1.20	Sat Mar  5 19:32:06 2011
+++ packages/libupnp/libupnp.spec	Mon Mar  7 19:38:33 2011
@@ -8,6 +8,7 @@
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
 # Source0-md5:	d48938efe69d07142be8aaaeaa9a2d3e
+Patch0:		%{name}-opt.patch
 URL:		http://pupnp.sourceforge.net/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake >= 1:1.8
@@ -54,6 +55,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -111,6 +113,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2011/03/07 18:38:33  qboosh
+- opt patch is back (updated)
+
 Revision 1.20  2011/03/05 18:32:06  caleb
 - Up to 1.6.12
 - Bumped so version

================================================================
Index: packages/libupnp/libupnp-opt.patch
diff -u /dev/null packages/libupnp/libupnp-opt.patch:1.5
--- /dev/null	Mon Mar  7 19:38:38 2011
+++ packages/libupnp/libupnp-opt.patch	Mon Mar  7 19:38:33 2011
@@ -0,0 +1,22 @@
+--- libupnp-1.6.12/configure.ac.orig	2011-02-09 00:55:44.000000000 +0100
++++ libupnp-1.6.12/configure.ac	2011-03-07 19:20:34.403417132 +0100
+@@ -408,19 +408,6 @@
+ 	echo "Using FreeBSD specific compiler settings"
+ 	# Put FreeBSD specific compiler flags here
+ 	;;
+-*)
+-	echo "Using non-specific system compiler settings"
+-	if test x"$enable_debug" = xyes; then
+-		# AC_PROG_CC already sets CFLAGS to "-g -O2" by default,
+-		# but only if CFLAGS was not previously set.
+-		#:
+-		# Use -O0 in debug so that variables do not get optimized out
+-		AX_CFLAGS_GCC_OPTION([-O0, -g])
+-	else
+-		# add optimise for size
+-		AX_CFLAGS_GCC_OPTION([-Os])
+-	fi
+-	;;
+ esac
+ 
+ AX_CFLAGS_WARN_ALL
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libupnp/libupnp.spec?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libupnp/libupnp-opt.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list