summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-configure_ac
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-27 14:44:43 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-27 14:45:32 -0600
commit12d2a79814987afd34c457a5e4365d7167972bc0 (patch)
tree7ff6dc01908ec4c0198a41190ad1d5882aeedf82 /package/util-linux/patches/patch-configure_ac
parent55bade535d3fca53ff5ceb6e7e1f6ee7369b59fb (diff)
unbreak kodi and util-linux, bad qa day.
Diffstat (limited to 'package/util-linux/patches/patch-configure_ac')
-rw-r--r--package/util-linux/patches/patch-configure_ac36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/util-linux/patches/patch-configure_ac b/package/util-linux/patches/patch-configure_ac
new file mode 100644
index 000000000..bb5a1ca31
--- /dev/null
+++ b/package/util-linux/patches/patch-configure_ac
@@ -0,0 +1,36 @@
+--- util-linux-2.25.2.orig/configure.ac 2014-10-24 05:24:02.952545559 -0500
++++ util-linux-2.25.2/configure.ac 2014-12-27 12:18:53.179522044 -0600
+@@ -53,16 +53,6 @@ LIBSMARTCOLS_LT_MINOR=1
+ LIBSMARTCOLS_LT_MICRO=0
+ LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR
+
+-# Check whether exec_prefix=/usr:
+-AS_CASE([$exec_prefix:$prefix],
+-[NONE:NONE | NONE:/usr | /usr:*],
+- [AC_MSG_NOTICE([Default --exec-prefix detected.])
+- AS_CASE([$bindir], ['${exec_prefix}/bin'], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ])
+- AS_CASE([$sbindir], ['${exec_prefix}/sbin'], [sbindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])])
+- AS_CASE([$libdir], ['${exec_prefix}/lib'], [libdir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ])
+- ]
+-)
+-
+ AS_CASE([$prefix:$localstatedir],
+ [NONE:'${prefix}/var' | /usr:'${prefix}/var'],
+ [localstatedir=/run
+@@ -160,16 +150,6 @@ UL_SET_ARCH([HPPA], [hppa*])
+
+ AC_SYS_LARGEFILE
+
+-dnl Don't forget to maintain alternatively allowed versions in autogen.sh!
+-AM_GNU_GETTEXT_VERSION([0.18.3])
+-AM_GNU_GETTEXT([external])
+-
+-AS_IF([test -d "$srcdir/po"], [
+- ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'`
+-], [
+- ALL_LINGUAS="af am ar as be bg bn_IN bn ca cs cy da de el en_GB es et eu_ES fa fi fr gl gu he hi hr hu hy id is it ja ka kn ko ku lo lt lv mk ml mr ms my nb nl nn no nso or pa pl pt_BR pt ro ru si sk sl sq sr@Latn sr sv ta te th tr uk ur vi zh_CN zh_TW zu"
+-])
+-
+ AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [
+ #ifdef HAVE_LINUX_COMPILER_H
+ #include <linux/compiler.h>