[zoo-project] 08/12: Add patch to fix symbols.sym installation.

Bas Couwenberg sebastic at debian.org
Sun Jan 29 19:42:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository zoo-project.

commit 0396162525a1fb8e5863360bca127459caef1fef
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jan 29 18:28:14 2017 +0100

    Add patch to fix symbols.sym installation.
---
 debian/patches/series                |  1 +
 debian/patches/symbols-install.patch | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ef275e3..2f3539a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 hardening-buildflags.patch
 zoo-version.patch
 cachedir.patch
+symbols-install.patch
diff --git a/debian/patches/symbols-install.patch b/debian/patches/symbols-install.patch
new file mode 100644
index 0000000..2cd3b93
--- /dev/null
+++ b/debian/patches/symbols-install.patch
@@ -0,0 +1,24 @@
+Description: Fix symbols.sym installation.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://zoo-project.org/trac/ticket/143
+
+--- a/zoo-project/zoo-kernel/Makefile.in
++++ b/zoo-project/zoo-kernel/Makefile.in
+@@ -60,7 +60,7 @@ service_yaml.o: service_yaml.c service.h
+ 
+ service_internal_ms.o: service_internal_ms.c
+ 	gcc ${JS_ENABLED} ${GDAL_CFLAGS}  ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c
+-	echo "SYMBOLSET\nEND" > sybols.sym
++	echo "SYMBOLSET\nEND" > symbols.sym
+ 
+ service_internal_python.o: service_internal_python.c service.h
+ 	g++ ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c service_internal_python.c
+@@ -119,7 +119,7 @@ install: zoo_loader.cgi
+ 	(cd ${DESTDIR}${INST_LIB} ; \
+ 	 if [ -e "libzoo_service.${EXT}" ]; then rm  libzoo_service.${EXT}; fi ; \
+ 	 ln -s ${LIBZOO_SERVICE} libzoo_service.${EXT})
+-	if [ -z "${MS_FILE}" ] ; then echo "No symbols.sym" ; else install -d ${SHAREDSTATEDIR}; install symbols.sym ${SHAREDSTATEDIR}; fi
++	if [ -z "${MS_FILE}" ] ; then echo "No symbols.sym" ; else install -d ${DESTDIR}${SHAREDSTATEDIR}; install symbols.sym ${DESTDIR}${SHAREDSTATEDIR}; fi
+ 	install -d ${DESTDIR}${INST_INCLUDE}/zoo
+ 	install sqlapi.h service.h service_internal.h ${DESTDIR}${INST_INCLUDE}/zoo
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/zoo-project.git



More information about the Pkg-grass-devel mailing list