diff options
author | Andrew Shadura <bugzilla@tut.by> | 2011-12-01 17:26:46 +0200 |
---|---|---|
committer | Andrew Shadura <bugzilla@tut.by> | 2011-12-01 17:26:46 +0200 |
commit | 57dbb94a170a939eb5699ef7a0e7f1b854c4be7d (patch) | |
tree | 028a0553797453a2403d79ab754c31d80212ac8e /debian/patches | |
parent | bac62c1b0ac3bdbeff4c68a7a7de7f47d4458d58 (diff) |
require mowgli 0.7.0, not 0.9.50
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/01-change-mowgli-requirement.diff | 57 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 58 insertions, 0 deletions
diff --git a/debian/patches/01-change-mowgli-requirement.diff b/debian/patches/01-change-mowgli-requirement.diff new file mode 100644 index 0000000..989b7a9 --- /dev/null +++ b/debian/patches/01-change-mowgli-requirement.diff @@ -0,0 +1,57 @@ +Description: No need in 0.9.50 libmowgli, 0.7.0 is enough +Author: Andrew O. Shadura <bugzilla@tut.by> + +diff --git a/configure b/configure +--- a/configure ++++ b/configure +@@ -4238,23 +4238,23 @@ + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmowgli >= 0.9.50" >&5 +-$as_echo_n "checking for libmowgli >= 0.9.50... " >&6; } +- +- if $PKG_CONFIG --exists "libmowgli >= 0.9.50" ; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmowgli >= 0.7.0" >&5 ++$as_echo_n "checking for libmowgli >= 0.7.0... " >&6; } ++ ++ if $PKG_CONFIG --exists "libmowgli >= 0.7.0" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + succeeded=yes + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOWGLI_CFLAGS" >&5 + $as_echo_n "checking MOWGLI_CFLAGS... " >&6; } +- MOWGLI_CFLAGS=`$PKG_CONFIG --cflags "libmowgli >= 0.9.50"` ++ MOWGLI_CFLAGS=`$PKG_CONFIG --cflags "libmowgli >= 0.7.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOWGLI_CFLAGS" >&5 + $as_echo "$MOWGLI_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOWGLI_LIBS" >&5 + $as_echo_n "checking MOWGLI_LIBS... " >&6; } +- MOWGLI_LIBS=`$PKG_CONFIG --libs "libmowgli >= 0.9.50"` ++ MOWGLI_LIBS=`$PKG_CONFIG --libs "libmowgli >= 0.7.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOWGLI_LIBS" >&5 + $as_echo "$MOWGLI_LIBS" >&6; } + else +@@ -4264,7 +4264,7 @@ + MOWGLI_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. +- MOWGLI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmowgli >= 0.9.50"` ++ MOWGLI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmowgli >= 0.7.0"` + + fi + +diff --git a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -40,7 +40,7 @@ + AC_CHECK_FUNCS([printf sprintf snprintf vsnprintf gettimeofday strndup strlcpy strlcat]) + AC_FUNC_STAT + +-PKG_CHECK_MODULES([MOWGLI], [libmowgli >= 0.9.50], [], [AC_MSG_ERROR([Install Mowgli from http://atheme.org/project/mowgli.])]) ++PKG_CHECK_MODULES([MOWGLI], [libmowgli >= 0.7.0], [], [AC_MSG_ERROR([Install Mowgli from http://atheme.org/project/mowgli.])]) + + # Check for optional features. + EXAMPLES_BUILD="" diff --git a/debian/patches/series b/debian/patches/series index a48ced7..b6a642a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 00-remove-colours.diff +01-change-mowgli-requirement.diff |