diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-12-02 22:22:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-12-02 22:22:18 +0000 |
commit | 3be96156e012ec741e1088758af94c7c6b2772a1 (patch) | |
tree | 9570386fd6dbe6adf7f853f46a86850164d1ab7a /dev-libs/DirectFB/files | |
parent | Unmask Xfce Desktop Environment 4.4.2, 0 hour, 0 minute bump. (diff) | |
download | gentoo-2-3be96156e012ec741e1088758af94c7c6b2772a1.tar.gz gentoo-2-3be96156e012ec741e1088758af94c7c6b2772a1.tar.bz2 gentoo-2-3be96156e012ec741e1088758af94c7c6b2772a1.zip |
Version bump #190463 by Alexandre Bique. Fix from Andrew Williams for the .pc file #200661.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'dev-libs/DirectFB/files')
-rw-r--r-- | dev-libs/DirectFB/files/DirectFB-1.1.0-headers.patch | 46 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/DirectFB-1.1.0-pkgconfig.patch | 22 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/digest-DirectFB-1.1.0 | 6 |
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/DirectFB/files/DirectFB-1.1.0-headers.patch b/dev-libs/DirectFB/files/DirectFB-1.1.0-headers.patch new file mode 100644 index 000000000000..0e93de3c9d7f --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.1.0-headers.patch @@ -0,0 +1,46 @@ +Don't rely on the kernel to tell us what the cpu target is ... we'll just +use the default values all the time instead. + +http://bugs.gentoo.org/152614 + +--- lib/direct/ppcasm_memcpy_cachable.S ++++ lib/direct/ppcasm_memcpy_cachable.S +@@ -34,8 +34,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 + +Don't pollute the namespace with define hacks, just use the real deal. + +--- include/dfb_types.h ++++ include/dfb_types.h +@@ -60,6 +60,8 @@ + + #endif + ++#include <asm/types.h> ++#define DIRECTFB_NO_CRUFT + #ifndef DIRECTFB_NO_CRUFT + #define __u8 u8 + #define __u16 u16 + +some arches (*cough* powerpc *cough*) are retarded and export a completely +worthless asm/page.h ... so set a fallback for PAGE_SIZE + +--- lib/direct/system.c ++++ lib/direct/system.c +@@ -35,7 +35,8 @@ + + #if HAVE_ASM_PAGE_H + #include <asm/page.h> +-#else ++#endif ++#ifndef PAGE_SIZE + #define PAGE_SIZE sysconf( _SC_PAGESIZE ) + #endif + diff --git a/dev-libs/DirectFB/files/DirectFB-1.1.0-pkgconfig.patch b/dev-libs/DirectFB/files/DirectFB-1.1.0-pkgconfig.patch new file mode 100644 index 000000000000..f28d263fa79e --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.1.0-pkgconfig.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/200661 + +--- DirectFB/directfb-config.in ++++ DirectFB/directfb-config.in +@@ -300,7 +300,7 @@ + libs=-L@libdir@ + + if test "$lib_directfb" = "yes"; then +- libs="$libs -ldirectfb -lfusion -ldirect @THREADLIB@ @ZLIB_LIBS@" ++ libs="$libs -ldirectfb -lfusion -ldirect @THREADLIB@ @ZLIB_LIBS@ @SYSFS_LIBS@" + + if test -z "$echo_static"; then + libs="$libs @DYNLIB@" +--- DirectFB/directfb.pc.in ++++ DirectFB/directfb.pc.in +@@ -7,5 +7,5 @@ + Description: Graphics and windowing library for the Linux frame buffer device + Version: @VERSION@ + Requires: fusion direct +-Libs: -L${libdir} -ldirectfb @THREADLIB@ @DYNLIB@ @ZLIB_LIBS@ @OSX_LIBS@ ++Libs: -L${libdir} -ldirectfb @THREADLIB@ @DYNLIB@ @ZLIB_LIBS@ @SYSFS_LIBS@ @OSX_LIBS@ + Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ diff --git a/dev-libs/DirectFB/files/digest-DirectFB-1.1.0 b/dev-libs/DirectFB/files/digest-DirectFB-1.1.0 new file mode 100644 index 000000000000..56d66956d5fb --- /dev/null +++ b/dev-libs/DirectFB/files/digest-DirectFB-1.1.0 @@ -0,0 +1,6 @@ +MD5 4d05469904126e9cd60e5d36970775bc DirectFB-1.1.0-upstream-git-gfxdrivers-fixes.patch.bz2 7167 +RMD160 08327bca85e6d133c282e1da19addba46adf6102 DirectFB-1.1.0-upstream-git-gfxdrivers-fixes.patch.bz2 7167 +SHA256 b009646ad5fc4131f73ffa549258fbfcb5ca6ff8bf93aa2abfcea5d4fa639fb8 DirectFB-1.1.0-upstream-git-gfxdrivers-fixes.patch.bz2 7167 +MD5 da30fa2748c7501913c8832a83e654ab DirectFB-1.1.0.tar.gz 2624473 +RMD160 9e5dd3b44ec828dd1b2cc739d14670d7d9e7f7a9 DirectFB-1.1.0.tar.gz 2624473 +SHA256 0ee87256a278079955d78e4f235c15a174afbb507b5434f1966cd3e5f5a3f23a DirectFB-1.1.0.tar.gz 2624473 |