[grass] 01/01: Add patch to treat Hurd & kFreeBSD like Linux in SC_CONFIG_FLAGS.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Feb 7 21:52:11 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository grass.

commit 4a95ae59741cf6da36b5f2f30612b36bdce61ad3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 7 20:51:47 2015 +0100

    Add patch to treat Hurd & kFreeBSD like Linux in SC_CONFIG_FLAGS.
---
 debian/changelog                      |  6 ++++++
 debian/patches/sc-config-cflags.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 34 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 811de30..5264e5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+grass (7.0.0~rc1+ds1-1~exp2) UNRELEASED; urgency=medium
+
+  * Add patch to treat GNU/{Hurd,kFreeBSD} like Linux in SC_CONFIG_CFLAGS.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 07 Feb 2015 20:48:47 +0100
+
 grass (7.0.0~rc1+ds1-1~exp1) experimental; urgency=medium
 
   * New upstream release candidate.
diff --git a/debian/patches/sc-config-cflags.patch b/debian/patches/sc-config-cflags.patch
new file mode 100644
index 0000000..c0db77e
--- /dev/null
+++ b/debian/patches/sc-config-cflags.patch
@@ -0,0 +1,27 @@
+Description: Treat GNU/Hurd & GNU/kFreeBSD like Linux.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Forwarded: https://trac.osgeo.org/grass/ticket/2580
+Applied-Upstream: https://trac.osgeo.org/grass/changeset/64501
+
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -486,7 +486,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
+     LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
+ 
+     case $host in
+-        *-linux-*)
++        *-linux-* | *-gnu* | *-kfreebsd*-gnu)
+ 	    SHLIB_CFLAGS="-fPIC"
+             SHLIB_LD_FLAGS=""
+ 	    SHLIB_SUFFIX=".so"
+--- a/configure
++++ b/configure
+@@ -1484,7 +1484,7 @@ ac_save_ldflags="$LDFLAGS"
+     LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
+ 
+     case $host in
+-        *-linux-*)
++        *-linux-* | *-gnu* | *-kfreebsd*-gnu)
+ 	    SHLIB_CFLAGS="-fPIC"
+             SHLIB_LD_FLAGS=""
+ 	    SHLIB_SUFFIX=".so"
diff --git a/debian/patches/series b/debian/patches/series
index 95f1509..ffbb9fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,6 +2,7 @@ www-browser
 pager
 instdir
 check4dev
+sc-config-cflags.patch
 wxpy3.0-compat.patch
 parameter-typo.patch
 additionally-typo.patch

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



More information about the Pkg-grass-devel mailing list