From a96d210eb62353040cf7e5e2f2ca002c2b91298035ecb7847e6853574ee73f07 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 9 Dec 2013 13:57:18 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=29 --- a2ps-4.13-linker.patch | 29 +++++++++++++++++++++++++++++ a2ps.changes | 6 ++++++ 2 files changed, 35 insertions(+) diff --git a/a2ps-4.13-linker.patch b/a2ps-4.13-linker.patch index 8bc876f..2905cd9 100644 --- a/a2ps-4.13-linker.patch +++ b/a2ps-4.13-linker.patch @@ -22,3 +22,32 @@ ;; netbsd*) +--- auxdir/ltmain.sh ++++ auxdir/ltmain.sh 2013-12-09 13:50:04.722735821 +0000 +@@ -1982,11 +1982,12 @@ EOF + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." ++ echo "*** All declared inter-library dependencies are being dropped." ++ droppeddeps=yes + else +- echo "*** Warning: inter-library dependencies are not known to be supported." ++ deplibs=$($echo "X $deplibs" | $Xsed -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g') ++ newdeplibs="$deplibs" + fi +- echo "*** All declared inter-library dependencies are being dropped." +- droppeddeps=yes + fi + ;; + esac +--- lib/Makefile.in ++++ lib/Makefile.in 2013-12-09 13:54:05.318235734 +0000 +@@ -247,7 +247,7 @@ CFLAGS = @CFLAGS@ + LEXLIB = @LEXLIB@ + YLWRAP = $(top_srcdir)/auxdir/ylwrap + CCLD = $(CC) +-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -lm + DIST_SOURCES = $(liba2ps_la_SOURCES) + HEADERS = $(include_HEADERS) $(noinst_HEADERS) + diff --git a/a2ps.changes b/a2ps.changes index 32ee1f4..2c563fa 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 9 13:56:20 UTC 2013 - werner@suse.de + +- Work around new linker behaviour that is enforce the liba2ps to + depend on libm + ------------------------------------------------------------------- Mon Mar 18 12:41:27 UTC 2013 - mmeister@suse.com