Browse Source

directfb: fix compilation error on ppc (linux/config.h is long gone)

Peter Korsgaard 16 năm trước cách đây
mục cha
commit
2e02904b04
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      package/directfb/directfb-1.2.7-ppc-compile-fix.patch

+ 17 - 0
package/directfb/directfb-1.2.7-ppc-compile-fix.patch

@@ -0,0 +1,17 @@
+---
+ lib/direct/ppcasm_memcpy_cachable.S |    2 --
+ 1 file changed, 2 deletions(-)
+
+Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
+===================================================================
+--- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
++++ DirectFB-1.2.7/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