[packages/3store] Rel 17
arekm
arekm at pld-linux.org
Mon Mar 9 22:33:52 CET 2026
commit eb3e8f920c8b2bf193ee35cf1a5e82f305e92418
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 22:33:39 2026 +0100
Rel 17
3store-compat.patch | 24 ++++++++++++++++++++++++
3store.spec | 4 +++-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/3store.spec b/3store.spec
index 46cea59..d71ee65 100644
--- a/3store.spec
+++ b/3store.spec
@@ -6,7 +6,7 @@ Summary: 3store RDF engine
Summary(pl.UTF-8): Silnik RDF 3store
Name: 3store
Version: 2.2.22
-Release: 16
+Release: 17
License: GPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/threestore/%{name}-%{version}.tar.gz
@@ -14,6 +14,7 @@ Source0: http://downloads.sourceforge.net/threestore/%{name}-%{version}.tar.gz
Patch0: %{name}-ac.patch
Patch1: glib2.patch
Patch2: format-security.patch
+Patch3: %{name}-compat.patch
URL: http://threestore.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -72,6 +73,7 @@ Statyczna biblioteka 3store.
%patch -P0 -p1
%{?with_glib2:%patch1 -p1}
%patch -P2 -p1
+%patch -P3 -p1
%build
%{__libtoolize}
diff --git a/3store-compat.patch b/3store-compat.patch
new file mode 100644
index 0000000..9c3d58b
--- /dev/null
+++ b/3store-compat.patch
@@ -0,0 +1,24 @@
+--- 3store-2.2.22.orig/src/tools/tstore_test.c 2004-10-18 14:22:15.000000000 +0000
++++ 3store-2.2.22/src/tools/tstore_test.c 2026-03-09 00:00:00.000000000 +0000
+@@ -18,6 +18,7 @@
+ #include <stdlib.h>
+ #include <mysql.h>
+ #include <getopt.h>
++#include <string.h>
+ #include <sys/time.h>
+
+ #include "rdfsql/rdfsql.h"
+--- 3store-2.2.22.orig/src/tools/tstore_import.c 2004-06-21 13:23:19.000000000 +0000
++++ 3store-2.2.22/src/tools/tstore_import.c 2026-03-09 00:00:00.000000000 +0000
+@@ -153,7 +153,10 @@
+ }
+ if (verbosity > 0) printf("Reading '%s'\n", uri);
+
+- rs_import2(db, uri, model, verbosity, stderr, format);
++ /* 2.2.x exports rs_import(), not rs_import2(). */
++ rs_import(db, uri, model, verbosity);
++ /* keep parsed syntax option for CLI compatibility */
++ (void)format;
+ }
+
+ if (lock) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/3store.git/commitdiff/eb3e8f920c8b2bf193ee35cf1a5e82f305e92418
More information about the pld-cvs-commit
mailing list