From 824233e707c4123b73a12b0b847d24af9ad259bb Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Tue, 13 Feb 2007 14:46:47 +0000 Subject: pciutils-2.2.4: Add patch so they compile for uclibc --- packages/pciutils/pciutils-2.2.4/configure-uclibc.patch | 14 ++++++++++++++ packages/pciutils/pciutils_2.2.4.bb | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 packages/pciutils/pciutils-2.2.4/configure-uclibc.patch diff --git a/packages/pciutils/pciutils-2.2.4/configure-uclibc.patch b/packages/pciutils/pciutils-2.2.4/configure-uclibc.patch new file mode 100644 index 0000000000..0e6e774f91 --- /dev/null +++ b/packages/pciutils/pciutils-2.2.4/configure-uclibc.patch @@ -0,0 +1,14 @@ +--- /lib/orig-configure 2007-02-13 16:36:54.000000000 +0200 ++++ /lib/configure 2007-02-13 16:37:33.000000000 +0200 +@@ -39,6 +39,11 @@ + sys=linux + fi + ++if [ "$host" = "linux--uclibc" ] ++then ++ sys=linux ++fi ++ + c=config.h + m=config.mk + echo >$c "#define PCI_ARCH_`echo $cpu | tr 'a-z' 'A-Z'`" diff --git a/packages/pciutils/pciutils_2.2.4.bb b/packages/pciutils/pciutils_2.2.4.bb index 57d9e2089f..0cd335eb32 100644 --- a/packages/pciutils/pciutils_2.2.4.bb +++ b/packages/pciutils/pciutils_2.2.4.bb @@ -6,12 +6,15 @@ HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" LICENSE = "GPLv2" DEPENDS = "zlib" -SRC_URI = "${KERNELORG_MIRROR}/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ +SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ file://configure.patch;patch=1 \ + file://configure-uclibc.patch;patch=1 \ file://pcimodules-pciutils.diff;patch=1" PARALLEL_MAKE = "" +PR="r1" + do_configure () { (cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH}) } -- cgit v1.2.3