Browse Source

graphviz: Avoid linking against libstdc++

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
e1e8caa769
  1. 2
      packages/graphviz/build.sh
  2. 12
      packages/graphviz/cmd-edgepaint-Makefile.in.patch

2
packages/graphviz/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Rich set of graph drawing tools"
TERMUX_PKG_LICENSE="EPL-2.0" TERMUX_PKG_LICENSE="EPL-2.0"
TERMUX_PKG_MAINTAINER="Dustin DeWeese @HackerFoo" TERMUX_PKG_MAINTAINER="Dustin DeWeese @HackerFoo"
TERMUX_PKG_VERSION=2.40.1 TERMUX_PKG_VERSION=2.40.1
TERMUX_PKG_REVISION=6 TERMUX_PKG_REVISION=7
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/graphviz-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/graphviz-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421 TERMUX_PKG_SHA256=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421
TERMUX_PKG_DEPENDS="libandroid-glob,libcairo,pango,libexpat,libltdl,librsvg,libgd,zlib" TERMUX_PKG_DEPENDS="libandroid-glob,libcairo,pango,libexpat,libltdl,librsvg,libgd,zlib"

12
packages/graphviz/cmd-edgepaint-Makefile.in.patch

@ -0,0 +1,12 @@
diff -u -r ../graphviz-2.40.1/cmd/edgepaint/Makefile.in ./cmd/edgepaint/Makefile.in
--- ../graphviz-2.40.1/cmd/edgepaint/Makefile.in 2016-12-25 03:04:55.000000000 +0000
+++ ./cmd/edgepaint/Makefile.in 2019-04-26 20:26:13.197184745 +0000
@@ -585,7 +585,7 @@
$(top_builddir)/lib/edgepaint/liblab_gamut.la \
$(top_builddir)/lib/cgraph/libcgraph.la \
$(top_builddir)/lib/cdt/libcdt.la \
- $(ANN_LIBS) -lstdc++ -lm
+ $(ANN_LIBS) -lc++_shared -lm
EXTRA_DIST = $(man_MANS) $(pdf_DATA) edgepaint.vcxproj*
DISTCLEANFILES = $(pdf_DATA)
Loading…
Cancel
Save