]> git.openpandora.org Git - openembedded.git/commitdiff
uicmoc-native 2.3.10: fix build against recent build-system headers, close bug #2564
authorMichael Krelin <hacker@klever.net>
Sun, 15 Jul 2007 12:22:36 +0000 (12:22 +0000)
committerMichael Krelin <hacker@klever.net>
Sun, 15 Jul 2007 12:22:36 +0000 (12:22 +0000)
not only recent headers do not define relevant stuff in asm/page.h, but they do not
provide the file anymore.

packages/uicmoc/uicmoc-native-2.3.10/kernel-asm-page.patch
packages/uicmoc/uicmoc-native_2.3.10.bb

index bad2d959673eee51102a6a5d588d595885430bc6..0d3187417a186d236e59d291ce9d6e6b72bfd28f 100644 (file)
@@ -2,10 +2,10 @@ diff --git a/src/kernel/qpixmapcache.cpp b/src/kernel/qpixmapcache.cpp
 index c2e7d9b..8d39585 100644
 --- a/src/kernel/qpixmapcache.cpp
 +++ b/src/kernel/qpixmapcache.cpp
-@@ -123,9 +123,13 @@ void cleanup_pixmap_cache();
+@@ -123,9 +123,12 @@ void cleanup_pixmap_cache();
  #ifdef THROW_AWAY_UNUSED_PAGES
  # include <sys/mman.h> // madvise
- # include <asm/page.h> // PAGE_SIZE,PAGE_MASK,PAGE_ALIGN
+-# include <asm/page.h> // PAGE_SIZE,PAGE_MASK,PAGE_ALIGN
 +# include <unistd.h>  // getpagesize()
 +# if (!defined(PAGE_ALIGN)) && defined(PAGE_SIZE) && defined(PAGE_MASK)
 +#  define PAGE_ALIGN(addr)    (((addr)+PAGE_SIZE-1)&PAGE_MASK)
index cda233554cb005359f19c002607528feac5c6a76..4d6b16a3b365dca10f50742666894c157ee31652 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.trolltech.com"
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \
            file://fix-makefile.patch;patch=1 \