rpms/directfb/devel directfb-0.9.24-use-rpm-cflags.patch, NONE, 1.1 directfb.spec, 1.6, 1.7

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Tue Nov 15 15:35:06 UTC 2005


Author: dcbw

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

Modified Files:
	directfb.spec 
Added Files:
	directfb-0.9.24-use-rpm-cflags.patch 
Log Message:
- Try removing custom CFLAGS to see if build makes it through x86_64


directfb-0.9.24-use-rpm-cflags.patch:

--- NEW FILE directfb-0.9.24-use-rpm-cflags.patch ---
--- DirectFB-0.9.24/configure.in.rpmcflags	2005-11-15 09:55:26.000000000 -0500
+++ DirectFB-0.9.24/configure.in	2005-11-15 09:55:56.000000000 -0500
@@ -171,7 +171,7 @@
   CFLAGS=
 fi
 
-CFLAGS="-O3 -ffast-math -pipe $CFLAGS"
+CFLAGS="$CFLAGS"
 
 DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
 
--- DirectFB-0.9.24/configure.rpmcflags	2005-11-15 09:55:18.000000000 -0500
+++ DirectFB-0.9.24/configure	2005-11-15 09:56:10.000000000 -0500
@@ -21384,7 +21384,7 @@
   CFLAGS=
 fi
 
-CFLAGS="-O3 -ffast-math -pipe $CFLAGS"
+CFLAGS="$CFLAGS"
 
 DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
 


Index: directfb.spec
===================================================================
RCS file: /cvs/extras/rpms/directfb/devel/directfb.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- directfb.spec	13 Nov 2005 00:02:39 -0000	1.6
+++ directfb.spec	15 Nov 2005 15:34:50 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           directfb
 Version:        0.9.24
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Graphics abstraction library for the Linux Framebuffer Device
 
 Group:          System/Libraries
@@ -18,6 +18,8 @@
 # libtool
 BuildRequires:  gcc-c++
 
+Patch0: directfb-0.9.24-use-rpm-cflags.patch
+
 %define oname   DirectFB
 
 %description
@@ -45,6 +47,8 @@
 %prep
 %setup -q -n %{oname}-%{version}
 
+%patch0 -p1 -b .use-rpm-cflags
+
 %build
 %configure \
         --disable-maintainer-mode \
@@ -120,6 +124,9 @@
 %{_libdir}/directfb-%{version}/*/*/*.o
 
 %changelog
+* Tue Nov 15 2005 Dan Williams <dcbw at redhat.com> 0.9.24-2
+- Try removing custom CFLAGS to see if build makes it through x86_64
+
 * Sun Nov 13 2005 Hans de Goede <j.w.r.degoede at hhs.nl>
 - 0.9.24-1
 - 0.9.22 Has build troubles on PPC, upgrade to 0.9.24 which will most




More information about the fedora-extras-commits mailing list