raptor: build against libxml 2.11
This commit is contained in:
parent
c13c879bf3
commit
d79aca968b
@ -6,7 +6,6 @@ drwxr-xr-x root/root usr/include/raptor2/
|
||||
-rw-r--r-- root/root usr/include/raptor2/raptor.h
|
||||
-rw-r--r-- root/root usr/include/raptor2/raptor2.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libraptor2.a
|
||||
-rwxr-xr-x root/root usr/lib/libraptor2.la
|
||||
lrwxrwxrwx root/root usr/lib/libraptor2.so -> libraptor2.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libraptor2.so.0 -> libraptor2.so.0.0.0
|
||||
|
@ -1,8 +1,9 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF323F47a7rk7Q/vDG48PuPfKG5JPqX74vGrX3241+zY8U4dFFpkvN3zTJWywriYxo+te2qnwEFsiaGapMsfTqjwE=
|
||||
SHA256 (Pkgfile) = 92c22a06d5f057b2648096be875ec9c843ee22bb79bb84eda52ee2427050532b
|
||||
SHA256 (.footprint) = d17fbcd4efd58f95fa79560a96ec64dbbe01e47357edea3749b83357ad0d5c34
|
||||
RWSagIOpLGJF33s7TiOd/nWJYCENJ+96BC+hlkVccWWJJCNEibexZJYday2jqH1+VAYp38qV/xo8hVAd//d+ofSZXP751BUJcw0=
|
||||
SHA256 (Pkgfile) = 98e7a233e283ea27124365258977f09a2b6878f95e98010d07f320a43a2d95c2
|
||||
SHA256 (.footprint) = ac4d81982c8ff72c65147e49a9860ca8a7d90ded8fc9ea3fba6ef6544b234738
|
||||
SHA256 (raptor2-2.0.16.tar.gz) = 089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680
|
||||
SHA256 (libxml-2.11.0.patch) = 655628b6ab0dad1209c9055d8830127530cfbdff9e3fdff9bee1b3dbb710d0d9
|
||||
SHA256 (libtool.patch) = 6234df68001f6b8df208f1c8604a5521515396dfc9da6a554e8bfacf8b4b002b
|
||||
SHA256 (rpath.patch) = ec14f0dea02f29f36e77e7da5d3eb780466bece2f2937cef82713e011758eb53
|
||||
SHA256 (xml2-config.patch) = 7a9384a15a837f6b839cbb8a8e5054db2ef61b76adcdcbc521b6b651d6aa4cfb
|
||||
|
@ -5,8 +5,9 @@
|
||||
|
||||
name=raptor
|
||||
version=2.0.16
|
||||
release=1
|
||||
release=2
|
||||
source=(http://librdf.org/dist/source/raptor2-$version.tar.gz
|
||||
libxml-2.11.0.patch
|
||||
libtool.patch
|
||||
rpath.patch
|
||||
xml2-config.patch)
|
||||
@ -17,10 +18,14 @@ build() {
|
||||
patch -Np0 -i $SRC/libtool.patch
|
||||
patch -Np0 -i $SRC/rpath.patch
|
||||
patch -Np0 -i $SRC/xml2-config.patch
|
||||
patch -Np1 -i $SRC/libxml-2.11.0.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--with-yajl=no \
|
||||
--with-icu-config=/usr/bin/icu-config
|
||||
--with-icu-config=/usr/bin/icu-config \
|
||||
--disable-static
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
make prefix="$PKG"/usr install
|
||||
|
||||
|
17
raptor/libxml-2.11.0.patch
Normal file
17
raptor/libxml-2.11.0.patch
Normal file
@ -0,0 +1,17 @@
|
||||
this was removed in https://gitlab.gnome.org/GNOME/libxml2/-/commit/ce76ebfd1312459951d555ad9d87fb9a89eede55
|
||||
--
|
||||
diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c
|
||||
index 538c2c8..f516021 100644
|
||||
--- a/src/raptor_libxml.c
|
||||
+++ b/src/raptor_libxml.c
|
||||
@@ -253,8 +253,8 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
|
||||
*/
|
||||
|
||||
/* Mark this entity as having been checked - never do this again */
|
||||
- if(!ret->checked)
|
||||
- ret->checked = 1;
|
||||
+ // if(!ret->checked)
|
||||
+ // ret->checked = 1;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user