SPECS: DirectFB.spec - gcc4 fixes, mmx/sse enabled for x86-64, tod...

pluto pluto at pld-linux.org
Thu Jan 26 22:29:41 CET 2006


Author: pluto                        Date: Thu Jan 26 21:29:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gcc4 fixes, mmx/sse enabled for x86-64, todo added.

---- Files affected:
SPECS:
   DirectFB.spec (1.65 -> 1.66) 

---- Diffs:

================================================================
Index: SPECS/DirectFB.spec
diff -u SPECS/DirectFB.spec:1.65 SPECS/DirectFB.spec:1.66
--- SPECS/DirectFB.spec:1.65	Mon Jan 23 16:08:55 2006
+++ SPECS/DirectFB.spec	Thu Jan 26 22:29:36 2006
@@ -1,5 +1,20 @@
 # $Revision$, $Date$
 #
+# TODO:
+#	- fix x86-64 int32<->ptr64 casts.
+#
+#	tree.c:88: warning: cast from pointer to integer of different size
+#	tree.c:102: warning: cast from pointer to integer of different size
+#	fonts.c:144: warning: cast to pointer from integer of different size
+#	fonts.c:211: warning: cast to pointer from integer of different size
+#	gfxcard.c:1451: warning: cast to pointer from integer of different size
+#	fbdev.c:459: warning: cast from pointer to integer of different size
+#	fbdev.c:578: warning: cast from pointer to integer of different size
+#	fbdev.c:708: warning: cast from pointer to integer of different size
+#	idirectfbfont_ft2.c:130: warning: cast from pointer to integer of different size
+#	idirectfbfont_ft2.c:292: warning: cast from pointer to integer of different size
+#	idirectfbfont_ft2.c:653: warning: cast to pointer from integer of different size
+#
 # Conditional build:
 %bcond_with	multi		# build Multi-application core (requires working /dev/fusion*)
 #
@@ -19,6 +34,7 @@
 Patch1:		%{name}-pmake.patch
 Patch2:		%{name}-fix.patch
 Patch3:		%{name}-sh.patch
+Patch4:		%{name}-gcc4.patch
 URL:		http://www.directfb.org/
 BuildRequires:	SDL-devel
 BuildRequires:	XFree86-devel
@@ -38,6 +54,8 @@
 
 %define		dfbdir	%{_libdir}/directfb-%{version}
 
+%define		specflags	-fno-strict-aliasing
+
 %ifarch %{ix86}
 # gcc running out of registers with -O0 in generic_mmx.h
 %define		debugcflags	-O1 -g
@@ -201,6 +219,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
@@ -224,7 +243,7 @@
 	--enable-voodoo \
 	--enable-x11 \
 	--enable-zlib \
-%ifarch %{ix86}
+%ifarch %{ix86} %{x8664}
 %ifnarch i386 i486
 	--enable-mmx \
 %endif
@@ -233,7 +252,8 @@
 %endif
 %endif
 
-%{__make}
+%{__make} \
+	X11_LIBS=%{_prefix}/X11R6/%{_lib}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -393,6 +413,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66  2006/01/26 21:29:36  pluto
+- gcc4 fixes, mmx/sse enabled for x86-64, todo added.
+
 Revision 1.65  2006/01/23 15:08:55  qboosh
 - current policy is not to R: pkgconfig just because package has pkgconfig support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/DirectFB.spec?r1=1.65&r2=1.66&f=u



More information about the pld-cvs-commit mailing list