summaryrefslogtreecommitdiff
path: root/meta/packages/udev/udev-145
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:18:56 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:18:56 +0000
commitecc9880c9d05dbe73b7f50946401d96e187c979a (patch)
treef2091a88010553dc686a0f3117d810f5c048b689 /meta/packages/udev/udev-145
parente5c96dd507fbf96979b619429faaef5fe8420911 (diff)
downloadopenembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.tar.gz
openembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.tar.bz2
openembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.tar.xz
openembedded-core-ecc9880c9d05dbe73b7f50946401d96e187c979a.zip
udev: Enable gudev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/udev/udev-145')
-rw-r--r--meta/packages/udev/udev-145/enable-gudev.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/udev/udev-145/enable-gudev.patch b/meta/packages/udev/udev-145/enable-gudev.patch
new file mode 100644
index 000000000..45fd37311
--- /dev/null
+++ b/meta/packages/udev/udev-145/enable-gudev.patch
@@ -0,0 +1,48 @@
+Index: udev-145/configure.ac
+===================================================================
+--- udev-145.orig/configure.ac 2010-01-29 14:41:29.000000000 +0000
++++ udev-145/configure.ac 2010-01-29 14:41:54.000000000 +0000
+@@ -49,16 +49,17 @@
+ AC_ARG_ENABLE([extras],
+ AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
+ [], [enable_extras=yes])
++
++ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
++ AC_SUBST([GLIB_CFLAGS])
++ AC_SUBST([GLIB_LIBS])
++
+ if test "x$enable_extras" = xyes; then
+ AC_PATH_PROG([GPERF], [gperf])
+ if test -z "$GPERF"; then
+ AC_MSG_ERROR([gperf is needed])
+ fi
+
+- PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
+- AC_SUBST([GLIB_CFLAGS])
+- AC_SUBST([GLIB_LIBS])
+-
+ AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
+ AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))
+
+Index: udev-145/extras/Makefile.am
+===================================================================
+--- udev-145.orig/extras/Makefile.am 2010-01-29 14:43:56.000000000 +0000
++++ udev-145/extras/Makefile.am 2010-01-29 14:44:11.000000000 +0000
+@@ -12,7 +12,8 @@
+ rule_generator \
+ scsi_id \
+ usb_id \
+- v4l_id
++ v4l_id \
++ gudev
+
+ if ENABLE_EXTRAS
+ SUBDIRS += \
+@@ -20,6 +21,5 @@
+ usb-db \
+ hid2hci \
+ keymap \
+- modem-modeswitch \
+- gudev
++ modem-modeswitch
+ endif