diff options
Diffstat (limited to 'development/autogen')
-rw-r--r-- | development/autogen/autogen-mktplconfig.patch | 21 | ||||
-rw-r--r-- | development/autogen/autogen.SlackBuild | 6 |
2 files changed, 26 insertions, 1 deletions
diff --git a/development/autogen/autogen-mktplconfig.patch b/development/autogen/autogen-mktplconfig.patch new file mode 100644 index 0000000000000..491da6a4c974c --- /dev/null +++ b/development/autogen/autogen-mktplconfig.patch @@ -0,0 +1,21 @@ +Author: Tigro <ashejn@gmail.com> + +Fix mk-tpl-config.sh to not fail when guile headers don't use noreturn + +https://abf.rosalinux.ru/import/autogen/commit/d773f874326700a8aeef935351dab2b915575a7c + +diff -up autogen-5.18.3/autoopts/mk-tpl-config.sh.mktplconfig autogen-5.18.3/autoopts/mk-tpl-config.sh +--- autogen-5.18.3/autoopts/mk-tpl-config.sh.mktplconfig 2014-05-10 17:48:26.000000000 +0200 ++++ autogen-5.18.3/autoopts/mk-tpl-config.sh 2014-05-27 14:05:26.961175451 +0200 +@@ -200,9 +200,8 @@ fix_guile() { + cd ${builddir} + find_libguiledir "${LGCFLAGS}" + +- list=`set +e ; exec 2>/dev/null +- find ${libguiledir}/libguile* -type f | \ +- xargs grep -l -E '\<noreturn\>'` ++ list=`find ${libguiledir}/libguile* -type f | \ ++ xargs grep -l -E '\<noreturn\>' 2> /dev/null || :` + + test -z "$list" && exit 0 + diff --git a/development/autogen/autogen.SlackBuild b/development/autogen/autogen.SlackBuild index 007b430a7ce46..60d7b2922e68a 100644 --- a/development/autogen/autogen.SlackBuild +++ b/development/autogen/autogen.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=autogen VERSION=${VERSION:-5.18.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +70,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Added patch to work with newer guile in -current +# Should be safe on -stable as well +patch -p1 < $CWD/autogen-mktplconfig.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |