Source: postgis Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el
Dear Maintainer, I would like to add support for this package on the ppc64el architecture. I created a patch that adds initial support for it. I hope it covers all the basic architecture dependent stuff. Let me know if you need something else. Thank you, Paulo -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
diff -Nru postgis-2.1.3+dfsg/debian/changelog postgis-2.1.3+dfsg/debian/changelog --- postgis-2.1.3+dfsg/debian/changelog 2014-08-14 13:33:43.000000000 +0000 +++ postgis-2.1.3+dfsg/debian/changelog 2014-08-27 19:39:29.000000000 +0000 @@ -1,3 +1,10 @@ +postgis (2.1.3+dfsg-4ppc64el1) UNRELEASED; urgency=medium + + * add -lm for liblwgeom to avoid linkage problem. + * enable ppc64el. + + -- Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com> Wed, 27 Aug 2014 19:38:55 +0000 + postgis (2.1.3+dfsg-4) unstable; urgency=low [ Bas Couwenberg ] diff -Nru postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch --- postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch 1970-01-01 00:00:00.000000000 +0000 +++ postgis-2.1.3+dfsg/debian/patches/add_lm_for_liblwgeom.patch 2014-08-27 19:39:53.000000000 +0000 @@ -0,0 +1,19 @@ +commit 51cb683439e273261667b19df059522f47e76a25 +Author: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com> +Date: Wed Aug 27 14:57:15 2014 -0300 + + add -lm + +Index: postgis-2.1.3+dfsg/liblwgeom/Makefile.in +=================================================================== +--- postgis-2.1.3+dfsg.orig/liblwgeom/Makefile.in ++++ postgis-2.1.3+dfsg/liblwgeom/Makefile.in +@@ -13,7 +13,7 @@ + CC = @CC@ + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ @GEOS_CPPFLAGS@ @PROJ_CPPFLAGS@ @JSON_CPPFLAGS@ +-LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@ ++LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c -lm @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@ + NUMERICFLAGS = @NUMERICFLAGS@ + top_builddir = @top_builddir@ + prefix = @prefix@ diff -Nru postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch --- postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch 1970-01-01 00:00:00.000000000 +0000 +++ postgis-2.1.3+dfsg/debian/patches/enable_ppc64el.patch 2014-08-27 19:40:11.000000000 +0000 @@ -0,0 +1,20 @@ +commit d9821dae5f7960b78ed60d264d56c55a092cf4e1 +Author: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com> +Date: Wed Aug 27 14:36:38 2014 -0300 + + elf64lppc + +Index: postgis-2.1.3+dfsg/macros/libtool.m4 +=================================================================== +--- postgis-2.1.3+dfsg.orig/macros/libtool.m4 ++++ postgis-2.1.3+dfsg/macros/libtool.m4 +@@ -1352,6 +1352,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; ++ powerpc64le-*) ++ LD="${LD-ld} -m elf64lppc" ++ ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; diff -Nru postgis-2.1.3+dfsg/debian/patches/series postgis-2.1.3+dfsg/debian/patches/series --- postgis-2.1.3+dfsg/debian/patches/series 2014-08-14 11:33:17.000000000 +0000 +++ postgis-2.1.3+dfsg/debian/patches/series 2014-08-27 19:39:59.000000000 +0000 @@ -8,3 +8,5 @@ de-translation use-json-c postgres-9.4-fixes.patch +add_lm_for_liblwgeom.patch +enable_ppc64el.patch
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel