rpms/directfb/devel DirectFB-0.9.25.1-ppc.patch, NONE, 1.1 directfb.spec, 1.13, 1.14

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri Sep 15 13:40:37 UTC 2006


Author: thias

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

Modified Files:
	directfb.spec 
Added Files:
	DirectFB-0.9.25.1-ppc.patch 
Log Message:
Try to fix build on ppc.


DirectFB-0.9.25.1-ppc.patch:

--- NEW FILE DirectFB-0.9.25.1-ppc.patch ---
diff -Naupr DirectFB-0.9.25.1.orig/lib/direct/ppcasm_memcpy_cachable.S DirectFB-0.9.25.1/lib/direct/ppcasm_memcpy_cachable.S
--- DirectFB-0.9.25.1.orig/lib/direct/ppcasm_memcpy_cachable.S	2005-10-19 01:14:16.000000000 +0200
+++ DirectFB-0.9.25.1/lib/direct/ppcasm_memcpy_cachable.S	2006-09-15 15:38:17.000000000 +0200
@@ -11,8 +11,6 @@
 
 #define __ASSEMBLY__
 
-#include <linux/config.h>
-
 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
 #define L1_CACHE_LINE_SIZE       16
 #define LG_L1_CACHE_LINE_SIZE     4 


Index: directfb.spec
===================================================================
RCS file: /cvs/extras/rpms/directfb/devel/directfb.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- directfb.spec	15 Sep 2006 13:26:28 -0000	1.13
+++ directfb.spec	15 Sep 2006 13:40:36 -0000	1.14
@@ -9,6 +9,7 @@
 Source:         http://www.directfb.org/download/DirectFB/DirectFB-%{version}.tar.gz
 Patch0:         DirectFB-0.9.25.1-types.patch
 Patch1:         DirectFB-0.9.25.1-linux-compiler.patch
+Patch2:         DirectFB-0.9.25.1-ppc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libpng-devel
@@ -51,6 +52,7 @@
 %setup -q -n %{oname}-%{version}
 %patch0 -p1 -b .types
 %patch1 -p1 -b .linux-compiler
+%patch2 -p1 -b .ppc
 
 %build
 %configure \
@@ -125,6 +127,7 @@
 - End directory lines in %%files with slashes to identify them more easily.
 - Add types patch to fix 64bit build on FC6.
 - Add linux-compiler patch to remove obsolete kernel header include.
+- Add ppc patch to remove other obsolete kernel header include.
 
 * Sun Jun 09 2006 Warren Togami <wtogami at redhat.com> 0.9.25.1-2
 - buildreq sysfsutils-devel became libsysfs-devel




More information about the scm-commits mailing list