aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-02-18 15:07:45 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2010-02-18 15:07:45 +0300
commit87703d4ff77459339ef633a9c36d32bc09341773 (patch)
treea0d737bd024a24f20f6bff5d032ec9f9ee3f7d18 /sci-chemistry/gromacs/files
parentsci-mathmatics/topcom-0.16.2 added (diff)
downloadsci-87703d4ff77459339ef633a9c36d32bc09341773.tar.gz
sci-87703d4ff77459339ef633a9c36d32bc09341773.tar.bz2
sci-87703d4ff77459339ef633a9c36d32bc09341773.zip
[sci-chemistry/gromacs] Add dirent detection patch
(Portage version: 2.2_rc62/git/Linux x86_64) (Unsigned Manifest commit)
Diffstat (limited to 'sci-chemistry/gromacs/files')
-rw-r--r--sci-chemistry/gromacs/files/gromacs-9999-dirent.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-chemistry/gromacs/files/gromacs-9999-dirent.patch b/sci-chemistry/gromacs/files/gromacs-9999-dirent.patch
new file mode 100644
index 000000000..ff1aa7c17
--- /dev/null
+++ b/sci-chemistry/gromacs/files/gromacs-9999-dirent.patch
@@ -0,0 +1,28 @@
+From 81b43d199d1a34ef80ade47db86618626e50d225 Mon Sep 17 00:00:00 2001
+From: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
+Date: Thu, 18 Feb 2010 15:04:31 +0300
+Subject: [PATCH] Fix detection of dirent.h
+
+---
+ configure.ac | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7dec0e9..d5744a8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -648,6 +648,11 @@ Selections still work, but the default groups can differ from
+ those obtained with regular expressions enabled.
+ Consider installing the regular expression library from GNU libc.])])
+
++#######################################################################
++# Check for dirent.h
++#######################################################################
++AC_CHECK_HEADERS([dirent.h],,AC_DEFINE([HAVE_DIRENT_H]))
++
+ #####
+ # Checks for additional and/or optional functions or libraries.
+ #AC_FUNC_MALLOC
+--
+1.7.0
+