[virtuoso-opensource] safer workaround for awol sparqlwords.gperf
Rex Dieter
rdieter at fedoraproject.org
Fri Mar 16 16:11:49 UTC 2012
commit 0b93e40cafa4361a68750648da8d609c3c87bb56
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Fri Mar 16 11:12:59 2012 -0500
safer workaround for awol sparqlwords.gperf
virtuoso-opensource-6.1.5-no_sparqlwords.patch | 29 ------------------------
virtuoso-opensource.spec | 8 +++++-
2 files changed, 6 insertions(+), 31 deletions(-)
---
diff --git a/virtuoso-opensource.spec b/virtuoso-opensource.spec
index 4a6fbe0..594bf7f 100644
--- a/virtuoso-opensource.spec
+++ b/virtuoso-opensource.spec
@@ -28,7 +28,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch51: virtuoso-opensource-6.1.0-external_iodbc.patch
Patch52: virtuoso-opensource-6.1.0-nodemos_buildfix.patch
Patch53: virtuoso-opensource-6.1.4-no_strip.patch
-Patch54: virtuoso-opensource-6.1.5-no_sparqlwords.patch
## Upstream patches
@@ -99,7 +98,6 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%patch52 -p1 -b .nodemos_buildfix
%endif
%patch53 -p1 -b .no_strip
-%patch54 -p1 -b .no_sparqlwords
# required by both patch52/53
./autogen.sh
@@ -115,6 +113,12 @@ ln -s %(pkg-config --variable includedir libiodbc) include
ln -s %(pkg-config --variable libdir libiodbc) lib
popd
+# workaround for missing sparqlwords.gperf
+if [ ! -f libsrc/Wi/sparqlwords.gperf ]; then
+touch libsrc/Wi/sparqlwords.gperf --reference libsrc/Wi/Makefile.am
+touch libsrc/Wi/sparglwords.h
+fi
+
%build
%configure \
More information about the scm-commits
mailing list