autogen/autogen-build_ldpath.patch

23 lines
818 B
Diff
Raw Normal View History

---
autoopts/Makefile.am | 2 +-
doc/mk-agen-texi.sh | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Index: autogen-5.18.16/doc/mk-agen-texi.sh
===================================================================
--- autogen-5.18.16.orig/doc/mk-agen-texi.sh
+++ autogen-5.18.16/doc/mk-agen-texi.sh
@@ -98,9 +98,9 @@ setup_exports()
PATH=${top_builddir}/columns:${PATH}
timer=`expr ${AG_TIMEOUT} '*' 5`
- d=`find ${top_builddir}/autoopts -type f -name libopts.a -print`
- test -f "$d" || die "Cannot locate libopts.a"
- LIBS="$d ${LIBS}"
+ d=`find ${top_builddir}/autoopts -type f -name libopts.a -o -name libopts.so | head -n 1`
Accepting request 239432 from home:Andreas_Schwab:Factory - Update to 5.18.3 * ATTRIBUTE_FORMAT_ARG is a configured attribute that wraps __attribute__((__format_arg__(n))) procedure declaration attributes. To configure it, the ag_macros.m4 has a new macroo, AG_COMPILE_FORMAT_ARG (which is a compile only test probe). * Auto-edit Guile headers that depend upon configure values most especially: noreturn but check for "ptrdiff_t" in our configure too, so that Guile does not create its own duplicate definition. * Abort from the failing function so that stack traces are useful * The libopts m4 configure code must configure the libopts/Makefile * Happy 2014 New Year * make sure library option handling code does nothing when the library is just trying to get information about an option. * Only apply texi2mdoc when it is needed. * The aoGetsText() emitted i18n helper function needs its argument to have the "format_arg" attribute. * documentation clarifications * properly create generated main procedures from user supplied code. * ChangeLog files have been removed from GIT sources (though still obtainable with tagged checkouts). * LIBGUILE_PATH is not needed and its derivation is wrong on where binaries and libraries have different prefixes. * fixed char casting issue that shows in UTF-8 files * fixed installation error for str2init * fixed failure handling in the usage template * fix broken flag values for auto-supported options * various tweaks to make Coverity happy. * allow the fatal error message functions to be tagged "noreturn" and incorporate sysnoreturn.h technology into AutoGen. OBS-URL: https://build.opensuse.org/request/show/239432 OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=27
2014-07-03 16:56:01 +02:00
+ LIBS="-L$(dirname "$d") -lopts ${LIBS}"
+ LD_LIBRARY_PATH="$(dirname "$d"):$LD_LIBRARY_PATH"
eval `${EGREP} '^AG_[A-Z_]*' ${top_srcdir}/VERSION`