[oe-commits] org.oe.dev pciutils-2.2.4: Add patch so they compile for uclibc

ifaistos commit openembedded-commits at lists.openembedded.org
Tue Feb 13 14:49:02 UTC 2007


pciutils-2.2.4: Add patch so they compile for uclibc

Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: 2b7851249db23b5e0ec0c3cd08f2eedfd98916fc
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2b7851249db23b5e0ec0c3cd08f2eedfd98916fc
Files:
1
packages/pciutils/pciutils-2.2.4/configure-uclibc.patch
packages/pciutils/pciutils_2.2.4.bb
Diffs:

#
# mt diff -r50741df04177cea601c953ceafaea363a9aec3b0 -r2b7851249db23b5e0ec0c3cd08f2eedfd98916fc
#
# 
# 
# add_file "packages/pciutils/pciutils-2.2.4/configure-uclibc.patch"
#  content [32f9877e4d1166282005b128a3463a05a06cc247]
# 
# patch "packages/pciutils/pciutils_2.2.4.bb"
#  from [57e472eba14ff23db05861b3cf5267cbb91e950f]
#    to [86d87aa633c415ab2ef8e0ec59eb7d7008fb0f90]
# 
============================================================
--- packages/pciutils/pciutils-2.2.4/configure-uclibc.patch	32f9877e4d1166282005b128a3463a05a06cc247
+++ packages/pciutils/pciutils-2.2.4/configure-uclibc.patch	32f9877e4d1166282005b128a3463a05a06cc247
@@ -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'`"
============================================================
--- packages/pciutils/pciutils_2.2.4.bb	57e472eba14ff23db05861b3cf5267cbb91e950f
+++ packages/pciutils/pciutils_2.2.4.bb	86d87aa633c415ab2ef8e0ec59eb7d7008fb0f90
@@ -6,12 +6,15 @@ DEPENDS = "zlib"
 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})
 }






More information about the Openembedded-commits mailing list