[SCM] midisport-firmware/master: Strip udev version check from configure

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Fri Jan 28 14:25:49 UTC 2011


The following commit has been merged in the master branch:
commit a534389a1b47556b1c63c575634450b03f3ee705
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Fri Jan 28 15:11:18 2011 +0100

    Strip udev version check from configure
    
    We are Debian, we know the udev version. (via build dependency)

diff --git a/debian/patches/configure-drop-udev-check.patch b/debian/patches/configure-drop-udev-check.patch
new file mode 100644
index 0000000..5902e22
--- /dev/null
+++ b/debian/patches/configure-drop-udev-check.patch
@@ -0,0 +1,27 @@
+From: Adrian Knoth <adi at drcomp.erfurt.thur.de>
+Forwarded: not-needed
+Description: Strip udev version check from configure
+ We are Debian, we know the udev version. (via build dependency).
+ Without this patch, we'd need to augment $PATH (/sbin/udevadm) in the
+ pbuilder, just to find out that we have the right one.
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,18 +22,6 @@
+   AC_MSG_ERROR([$FXLOAD not found; please install the fxload package first])
+ fi
+ 
+-AC_MSG_CHECKING([for udev version])
+-udev_ver=`udevinfo -V | awk '{ print $3 }'`
+-if test -n "$udev_ver"; then
+-  AC_MSG_RESULT([$udev_ver])
+-else
+-  AC_MSG_RESULT([none])
+-  udev_ver="0"
+-fi
+-if test "$udev_ver" -lt 057; then
+-  AC_MSG_ERROR([udev version 057 or later is required])
+-fi
+-
+ AC_ARG_WITH([udev],
+ 	    AS_HELP_STRING([--with-udev=dir],
+ 			   [specify udev directory [[/etc/udev]]]),

-- 
midisport-firmware packaging



More information about the pkg-multimedia-commits mailing list