SHA256
1
0
forked from pool/a2ps

Accepting request 210001 from Publishing

- Work around new linker behaviour that is enforce the liba2ps to
  depend on libm

OBS-URL: https://build.opensuse.org/request/show/210001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/a2ps?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2013-12-10 16:41:51 +00:00 committed by Git OBS Bridge
commit 7594a19633
2 changed files with 35 additions and 0 deletions

View File

@ -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)

View File

@ -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