]> git.openpandora.org Git - openembedded.git/commitdiff
A couple of packages (util-linux and procps) expect the PAGE_SIZE define from
authorHolger Schurig <schurig@mn-solutions.de>
Mon, 4 Apr 2005 10:21:26 +0000 (10:21 +0000)
committerHolger Schurig <schurig@mn-solutions.de>
Mon, 4 Apr 2005 10:21:26 +0000 (10:21 +0000)
<asm/page.h> to be a constant (e.g. using it to set the size of a static array)
which no longer works since the latest glibc has changed this to use the
"getpagesize()" function. There may be others, but these are the two that
failed for me.

BKrev: 42511526QrKR819dMIxBogIdn-8lIA

packages/procps/procps-3.2.1/pagesz-not-constant.patch [new file with mode: 0644]
packages/procps/procps_3.2.1.bb
packages/util-linux/util-linux-2.12/pagesz-not-constant.patch [new file with mode: 0644]
packages/util-linux/util-linux_2.12o.bb

diff --git a/packages/procps/procps-3.2.1/pagesz-not-constant.patch b/packages/procps/procps-3.2.1/pagesz-not-constant.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4796bbf7bf2e5f6e257cbc1bc1629f592fe3d13c 100644 (file)
@@ -0,0 +1,21 @@
+LICENSE = GPL
+DESCRIPTION = "Procps is the package that has a bunch \
+of small useful utilities that give information \
+about processes using the /proc filesystem. The package \
+includes the programs ps, top, vmstat, w, kill, and skill."
+SECTION = "base"
+PRIORITY = "optional"
+DEPENDS = "ncurses"
+PR = "r1"
+
+SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
+           file://install.patch;patch=1 \
+           file://pagesz-not-constant.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
+                LDFLAGS=-L${STAGING_LIBDIR} -Wl,--rpath-link,${STAGING_LIBDIR} \
+                CURSES=-lncurses \
+                install='install -D' \
+                ldconfig=echo"
diff --git a/packages/util-linux/util-linux-2.12/pagesz-not-constant.patch b/packages/util-linux/util-linux-2.12/pagesz-not-constant.patch
new file mode 100644 (file)
index 0000000..e69de29
index ab6179461b424887aa07017c434686ba0678e34e..5bcc761d38f4b32b712b87cfca7f9bbc6d211320 100644 (file)
@@ -1,11 +1,12 @@
 inherit autotools
 include util-linux.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
            file://gcc34.patch;patch=1 \
            file://MCONFIG \
            file://make_include \
            file://swapargs.h \
-           file://defines.h"
+           file://defines.h \
+           file://pagesz-not-constant.patch;patch=1"