diff --git a/mingw-w64-raptor/PKGBUILD b/mingw-w64-raptor2/PKGBUILD similarity index 83% rename from mingw-w64-raptor/PKGBUILD rename to mingw-w64-raptor2/PKGBUILD index 282cddbb93..1d2b4a529f 100644 --- a/mingw-w64-raptor/PKGBUILD +++ b/mingw-w64-raptor2/PKGBUILD @@ -9,14 +9,19 @@ pkgdesc="RDF Parser Toolkit (mingw-w64)" arch=('any') url='http://librdf.org/raptor/' license=('LICENSE') -source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz") -sha1sums=("504231f87024df9aceb90eb957196b557b4b8e38") +source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz" + no-undefined.patch) +sha1sums=('504231f87024df9aceb90eb957196b557b4b8e38' + '9c7008807ad3eda1d42204bc98c6ce1287d8e6f5') depends=("${MINGW_PACKAGE_PREFIX}-libxml2" "${MINGW_PACKAGE_PREFIX}-curl") prepare() { cd $srcdir/${_realname}-${pkgver} + patch -p1 -i ${srcdir}/no-undefined.patch + + autoreconf -fiv } build() { diff --git a/mingw-w64-raptor2/no-undefined.patch b/mingw-w64-raptor2/no-undefined.patch new file mode 100644 index 0000000000..043f0cb061 --- /dev/null +++ b/mingw-w64-raptor2/no-undefined.patch @@ -0,0 +1,11 @@ +--- raptor2-2.0.15/src/Makefile.am.orig 2016-01-27 13:33:28.602246500 +0300 ++++ raptor2-2.0.15/src/Makefile.am 2016-01-27 13:33:37.351634000 +0300 +@@ -171,7 +171,7 @@ + libraptor2_la_LIBADD += $(top_builddir)/librdfa/librdfa.la + endif + +-libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ \ ++libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ -no-undefined \ + @RAPTOR_LDFLAGS@ $(MEM_LIBS) + libraptor2_la_LIBADD += @LTLIBOBJS@ +