rpms/babl/devel babl.spec,1.22,1.23

Nils Philippsen nphilipp at fedoraproject.org
Wed Jun 23 14:12:50 UTC 2010


Author: nphilipp

Update of /cvs/pkgs/rpms/babl/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23994

Modified Files:
	babl.spec 
Log Message:
use PIC/PIE because babl is likely to deal with data coming from untrusted sources



Index: babl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/babl/devel/babl.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- babl.spec	23 Jun 2010 12:36:19 -0000	1.22
+++ babl.spec	23 Jun 2010 14:12:50 -0000	1.23
@@ -1,7 +1,7 @@
 Summary:	A dynamic, any to any, pixel format conversion library
 Name:		babl
 Version:	0.1.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
 License:	LGPLv3+ and GPLv3+
 Group:		System Environment/Libraries
@@ -47,7 +47,10 @@ This package contains documentation need
 %setup -q
 
 %build
-CFLAGS="%optflags -fno-strict-aliasing" \
+# use PIC/PIE because babl is likely to deal with data coming from untrusted
+# sources
+CFLAGS="-fPIC %optflags -fno-strict-aliasing"
+LDFLAGS="-pie"
 %configure --disable-static
 
 make V=1 %{?_smp_mflags}
@@ -89,6 +92,10 @@ rm -rf %{buildroot}
 %doc %{develdocdir}
 
 %changelog
+* Wed Jun 23 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-4
+- use PIC/PIE because babl is likely to deal with data coming from untrusted
+  sources
+
 * Wed Jun 23 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-3
 - build with -fno-strict-aliasing
 



More information about the scm-commits mailing list