diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-18 20:46:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-18 20:47:30 +0100 |
commit | 5288857b2244dfd9c7af66c446a0d2d7d7758ccd (patch) | |
tree | 6fcd17994fd67c16bb28ab8cb02756305b785d44 /media-gfx/graphviz/files | |
parent | media-libs/libkate: python-single-r1, EAPI=6 (diff) | |
download | gentoo-5288857b2244dfd9c7af66c446a0d2d7d7758ccd.tar.gz gentoo-5288857b2244dfd9c7af66c446a0d2d7d7758ccd.tar.bz2 gentoo-5288857b2244dfd9c7af66c446a0d2d7d7758ccd.zip |
media-gfx/graphviz: Revert "Clean old version up"
Turns out it breaks media-gfx/nip2.
Diffstat (limited to 'media-gfx/graphviz/files')
3 files changed, 114 insertions, 0 deletions
diff --git a/media-gfx/graphviz/files/graphviz-2.26.3-automake-1.11.2.patch b/media-gfx/graphviz/files/graphviz-2.26.3-automake-1.11.2.patch new file mode 100644 index 000000000000..86280f2b05dd --- /dev/null +++ b/media-gfx/graphviz/files/graphviz-2.26.3-automake-1.11.2.patch @@ -0,0 +1,35 @@ +Install dir ( buiding with media-libs/ming ): + /usr/$(get_libdir)/graphviz/Bitstream_Vera_Serif.fdb + /usr/$(get_libdir)/graphviz/Bitstream_Vera_Sans.fdb + /usr/include/graphviz/gv.cpp + /usr/include/graphviz/gv.i + +Due to the following change, {pkglib,pkginclude}_DATA is invalid: + http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf + +--- +diff --git a/plugin/ming/Makefile.am b/plugin/ming/Makefile.am +--- a/plugin/ming/Makefile.am ++++ b/plugin/ming/Makefile.am +@@ -17,7 +17,8 @@ lib_LTLIBRARIES = libgvplugin_ming.la + else + pkglib_LTLIBRARIES = libgvplugin_ming.la + endif +-pkglib_DATA = Bitstream_Vera_Sans.fdb Bitstream_Vera_Serif.fdb ++fdblibdir = $(libdir)/@PACKAGE@ ++fdblib_DATA = Bitstream_Vera_Sans.fdb Bitstream_Vera_Serif.fdb + endif + + libgvplugin_ming_C_la_SOURCES = \ +diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am +--- a/tclpkg/gv/Makefile.am ++++ b/tclpkg/gv/Makefile.am +@@ -258,7 +258,7 @@ libgv_tcl_la_CPPFLAGS = $(BASECPPFLAGS) + gv_tcl.cpp: gv.i + $(SWIG) -c++ -tcl -namespace -o gv_tcl.cpp $(srcdir)/gv.i + +-pkginclude_DATA = gv.i gv.cpp ++pkginclude_HEADERS = gv.i gv.cpp + pkglib_LTLIBRARIES = + man_MANS = + pdf_DATA = diff --git a/media-gfx/graphviz/files/graphviz-2.26.3-libtool-configure.patch b/media-gfx/graphviz/files/graphviz-2.26.3-libtool-configure.patch new file mode 100644 index 000000000000..142aea2843fd --- /dev/null +++ b/media-gfx/graphviz/files/graphviz-2.26.3-libtool-configure.patch @@ -0,0 +1,52 @@ +backport newer libtool logic + +https://bugs.gentoo.org/539032 + +--- a/configure.ac ++++ b/configure.ac +@@ -464,28 +464,15 @@ + dnl ----------------------------------- + dnl libtool ltdl on-demand plugin loading + +-m4_ifdef([LT_INIT], +- [ #code that is for Libtool 2.x +-AM_PROG_LIBTOOL +- ], +- [ #code that is for 1.5.x +- ]) ++LT_INIT([dlopen]) ++LT_CONFIG_LTDL_DIR([libltdl]) ++LTDL_INIT ++ + AC_ARG_ENABLE(ltdl, + [AS_HELP_STRING([--enable-ltdl],[support on-demand plugin loading])]) + if test "x$enable_ltdl" != "xno"; then + AC_DEFINE(ENABLE_LTDL,1,[Define if you want on-demand plugin loading]) +- AC_LIBTOOL_DLOPEN +-m4_ifdef([LT_INIT], +- [ #code that is for Libtool 2.x +- LT_CONFIG_LTDL_DIR([libltdl]) +- LTDL_INIT +- ], +- [ #code that is for 1.5.x +- AC_CONFIG_SUBDIRS([libltdl]) +- ]) + use_ltdl="Yes" +- +- AC_LIBLTDL_CONVENIENCE + if test "x$DARWIN9" = "xyes"; then + LIBLTDL_LDFLAGS="-Wl,-unexported_symbol,_lt_*" + fi +@@ -494,12 +483,6 @@ + AC_SUBST(INCLTDL) + AC_SUBST(LIBLTDL) + AC_SUBST(LIBLTDL_LDFLAGS) +-m4_ifdef([LT_INIT], +- [ #code that is for Libtool 2.x +- ], +- [ #code that is for 1.5.x +-AM_PROG_LIBTOOL +- ]) + + # Checks for libraries. + #AC_CHECK_LIB([ICE], [main]) diff --git a/media-gfx/graphviz/files/graphviz-2.26.3-libtool.patch b/media-gfx/graphviz/files/graphviz-2.26.3-libtool.patch new file mode 100644 index 000000000000..f82312dbbebf --- /dev/null +++ b/media-gfx/graphviz/files/graphviz-2.26.3-libtool.patch @@ -0,0 +1,27 @@ +http://bugs.gentoo.org/339298 + +--- lib/gvc/gvcext.h ++++ lib/gvc/gvcext.h +@@ -80,9 +80,11 @@ + #if defined(GVDLL) + __declspec(dllexport) lt_symlist_t lt_preloaded_symbols[]; + #else ++#if !defined(LTDL_H) + extern lt_symlist_t lt_preloaded_symbols[]; + #endif + #endif ++#endif + + + #ifdef __cplusplus +--- lib/gvc/Makefile.am ++++ lib/gvc/Makefile.am +@@ -18,7 +18,7 @@ + -I$(top_srcdir)/lib/pathplan \ + -I$(top_srcdir)/lib/$(GRAPH) \ + -I$(top_srcdir)/lib/cdt \ +- $(INCLTDL) -I$(top_srcdir)/libltdl \ ++ $(INCLTDL) \ + -DGVLIBDIR=\"$(pkglibdir)\" + + if WITH_WIN32 |