Package: hdf5
Severity: wishlist
Tags: patch


It is just a wishlist bug.

Some applications are distributed under a binary form with all thirdparty
dependencies included into their distributions with specific version.
However, even on old Debian, this hdf5 triggers a dependency on the glibc2.7 
can cause problems on old releases of Linux.
This has been reported here:

I have been able to fix this issue with the attached patch.

Could you consider its inclusion ?


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -ur hdf5-1.8.4-patch1.orig/src/H5Epublic.h hdf5-1.8.4-patch1/src/H5Epublic.h
--- hdf5-1.8.4-patch1.orig/src/H5Epublic.h	2010-02-22 22:31:54.000000000 +0100
+++ hdf5-1.8.4-patch1/src/H5Epublic.h	2010-10-08 20:23:55.000000000 +0200
@@ -18,7 +18,7 @@
 #ifndef _H5Epublic_H
 #define _H5Epublic_H
+#define _GNU_SOURCE
 #include <stdio.h>              /*FILE arg of H5Eprint()                     */
 /* Public headers needed by this file */
diff -ur hdf5-1.8.4-patch1.orig/src/H5private.h hdf5-1.8.4-patch1/src/H5private.h
--- hdf5-1.8.4-patch1.orig/src/H5private.h	2010-02-22 22:31:54.000000000 +0100
+++ hdf5-1.8.4-patch1/src/H5private.h	2010-10-08 20:24:16.000000000 +0200
@@ -25,6 +25,7 @@
 #ifndef _H5private_H
 #define _H5private_H
+#define _GNU_SOURCE
 #include "H5public.h"		/* Include Public Definitions		*/
Pkg-grass-devel mailing list

Reply via email to