[hdf4] 01/02: Fix kfreebsd-64 bit
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Sat Sep 13 21:24:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository hdf4.
commit 1f0134a0b214b62fff6417834304d894d0b82b52
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Sat Sep 13 23:14:12 2014 +0200
Fix kfreebsd-64 bit
---
debian/patches/kfreebsd | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/patches/kfreebsd b/debian/patches/kfreebsd
index 4cfd77d..5968183 100644
--- a/debian/patches/kfreebsd
+++ b/debian/patches/kfreebsd
@@ -11,3 +11,16 @@ Index: b/HDF4/configure.ac
*-freebsd*) BAR="fbsd" ;;
*-ibm-aix*) BAR="aix" ;;
sparc64-*-solaris2*) BAR="solaris64" ;;
+Index: b/HDF4/hdf/src/hdfi.h
+===================================================================
+--- a/HDF4/hdf/src/hdfi.h 2014-09-13 23:09:17.689485898 +0200
++++ b/HDF4/hdf/src/hdfi.h 2014-09-13 23:10:32.453487107 +0200
+@@ -1392,7 +1392,7 @@
+ /*-----------------------------------------------------*/
+ #endif /*power PC 5 64 */
+ /* Linux 64 */
+-#if defined(__linux__) && defined __x86_64__ && !(defined SUN) /* i.e. 64-bit Linux but not SunOS on Intel */
++#if defined(__GLIBC__) && defined __x86_64__ && !(defined SUN) /* i.e. 64-bit Linux but not SunOS on Intel */
+
+ #ifdef GOT_MACHINE
+ If you get an error on this line more than one machine type has been defined.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf4.git
More information about the Pkg-grass-devel
mailing list