[petsc] 01/01: debian/patches/hurd: use the actually documented __GNU__ instead of __gnu_hurd__

Mattia Rizzolo mattia at debian.org
Fri Apr 22 17:56:46 UTC 2016


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

mattia pushed a commit to branch master
in repository petsc.

commit 61ed7d5a4b057362d89a3eed3954d2a7efd892cd
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Apr 22 17:56:12 2016 +0000

    debian/patches/hurd: use the actually documented __GNU__ instead of __gnu_hurd__
---
 debian/patches/hurd.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/hurd.patch b/debian/patches/hurd.patch
index 47e96e4..085894b 100644
--- a/debian/patches/hurd.patch
+++ b/debian/patches/hurd.patch
@@ -4,7 +4,7 @@
  #include <sys/resource.h>
  #endif
  #if defined(PETSC_HAVE_SYS_PROCFS_H)
-+#if defined __gnu_hurd__
++#if defined __GNU__
 +#include <mach/std_types.h>
 +#endif
  /* #include <sys/int_types.h> Required if using gcc on solaris 2.6 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git



More information about the debian-science-commits mailing list