Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435556 Details for
Bug 584334
dev-libs/libxslt: please review Prefix Cygwin patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch to apply: use -no-undefined for libtool libs
0001-dev-libs-libxslt-use-no-undefined.patch (text/plain), 4.20 KB, created by
Michael Haubenwallner (RETIRED)
on 2016-05-27 14:11:46 UTC
(
hide
)
Description:
ebuild patch to apply: use -no-undefined for libtool libs
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2016-05-27 14:11:46 UTC
Size:
4.20 KB
patch
obsolete
>From 7e4d8f78d7e5080c5b9ea8086631dbc39da94392 Mon Sep 17 00:00:00 2001 >From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> >Date: Thu, 19 May 2016 15:15:04 +0000 >Subject: [PATCH] dev-libs/libxslt: use -no-undefined > >--- > .../files/libxslt-1.1.28-no-undefined.patch | 80 ++++++++++++++++++++++ > dev-libs/libxslt/libxslt-1.1.28-r5.ebuild | 3 + > 2 files changed, 83 insertions(+) > create mode 100644 dev-libs/libxslt/files/libxslt-1.1.28-no-undefined.patch > >diff --git a/dev-libs/libxslt/files/libxslt-1.1.28-no-undefined.patch b/dev-libs/libxslt/files/libxslt-1.1.28-no-undefined.patch >new file mode 100644 >index 0000000..794b941 >--- /dev/null >+++ b/dev-libs/libxslt/files/libxslt-1.1.28-no-undefined.patch >@@ -0,0 +1,80 @@ >+https://bugzilla.gnome.org/show_bug.cgi?id=766669 >+ >+diff --git a/configure.in b/configure.in >+index d055979..1106e37 100644 >+--- a/configure.in >++++ b/configure.in >+@@ -632,21 +632,15 @@ LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins" >+ AC_SUBST(LIBXSLT_DEFAULT_PLUGINS_PATH) >+ >+ WIN32_EXTRA_LIBADD= >+-WIN32_EXTRA_LDFLAGS= >+ case "$host" in >+- *-*-cygwin*) >+- WIN32_EXTRA_LDFLAGS="-no-undefined" >+- ;; >+ *-*-mingw*) >+ WIN32_EXTRA_LIBADD="-lwsock32" >+- WIN32_EXTRA_LDFLAGS="-no-undefined" >+ AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation]) >+ AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around]) >+ AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around]) >+ ;; >+ esac >+ AC_SUBST(WIN32_EXTRA_LIBADD) >+-AC_SUBST(WIN32_EXTRA_LDFLAGS) >+ >+ >+ AC_SUBST(XSLTPROCDV) >+diff --git a/libexslt/Makefile.am b/libexslt/Makefile.am >+index 1cf5138..ec69124 100644 >+--- a/libexslt/Makefile.am >++++ b/libexslt/Makefile.am >+@@ -28,7 +28,7 @@ libexslt_la_SOURCES = \ >+ dynamic.c >+ >+ libexslt_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS) $(LIBGCRYPT_LIBS) >+-libexslt_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -version-info $(LIBEXSLT_VERSION_INFO) >++libexslt_la_LDFLAGS = -no-undefined -version-info $(LIBEXSLT_VERSION_INFO) >+ >+ man_MANS = libexslt.3 >+ >+diff --git a/libxslt/Makefile.am b/libxslt/Makefile.am >+index d9fed68..cd65fa3 100644 >+--- a/libxslt/Makefile.am >++++ b/libxslt/Makefile.am >+@@ -64,7 +64,7 @@ endif >+ >+ libxslt_la_LIBADD = $(LIBXML_LIBS) $(EXTRA_LIBS) >+ libxslt_la_LDFLAGS = \ >+- $(WIN32_EXTRA_LDFLAGS) \ >++ -no-undefined \ >+ $(LIBXSLT_VERSION_SCRIPT) \ >+ -version-info $(LIBXSLT_VERSION_INFO) >+ >+diff --git a/python/Makefile.am b/python/Makefile.am >+index fa58b78..314ca36 100644 >+--- a/python/Makefile.am >++++ b/python/Makefile.am >+@@ -19,7 +19,7 @@ >+ libxsltmod_la_SOURCES = libxslt.c types.c >+ nodist_libxsltmod_la_SOURCES = libxslt-py.c >+ libxsltmod_la_LIBADD = $(mylibs) $(PYTHON_LIBS) >+-libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) -module -avoid-version -shared >++libxsltmod_la_LDFLAGS = -no-undefined $(PYTHON_LDFLAGS) -module -avoid-version -shared >+ >+ libxslt.py: $(srcdir)/libxsl.py libxsltclass.py >+ cat $(srcdir)/libxsl.py libxsltclass.py > $@ >+diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am >+index e0736ab..48d5424 100644 >+--- a/tests/plugins/Makefile.am >++++ b/tests/plugins/Makefile.am >+@@ -21,7 +21,7 @@ plugindir = $(abs_builddir)/.libs >+ xmlsoft_org_xslt_testplugin_la_CFLAGS = -DMODULE_COMPILE $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) >+ xmlsoft_org_xslt_testplugin_la_SOURCES = testplugin.c >+ xmlsoft_org_xslt_testplugin_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS) >+-xmlsoft_org_xslt_testplugin_la_LDFLAGS = -module -avoid-version -rpath $(plugindir) >++xmlsoft_org_xslt_testplugin_la_LDFLAGS = -no-undefined -module -avoid-version -rpath $(plugindir) >+ >+ test-logall: >+ @echo '## Running plugin tests' >diff --git a/dev-libs/libxslt/libxslt-1.1.28-r5.ebuild b/dev-libs/libxslt/libxslt-1.1.28-r5.ebuild >index c3842a1..1024fa1 100644 >--- a/dev-libs/libxslt/libxslt-1.1.28-r5.ebuild >+++ b/dev-libs/libxslt/libxslt-1.1.28-r5.ebuild >@@ -64,6 +64,9 @@ src_prepare() { > epatch "${FILESDIR}"/${PN}-1.1.28-simplify-python.patch > epatch "${FILESDIR}"/${PN}-1.1.28-disable-static-modules.patch > >+ # Cygwin needs -no-undefined for shared modules >+ epatch "${FILESDIR}"/${P}-no-undefined.patch >+ > mv configure.{in,ac} || die > > eautoreconf >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 584334
: 435556