summaryrefslogtreecommitdiff
path: root/lang/gfortran/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gfortran/files')
-rw-r--r--lang/gfortran/files/patch-fibheap.c14
-rw-r--r--lang/gfortran/files/patch-mf-impl.h18
2 files changed, 32 insertions, 0 deletions
diff --git a/lang/gfortran/files/patch-fibheap.c b/lang/gfortran/files/patch-fibheap.c
new file mode 100644
index 000000000000..ae11205400af
--- /dev/null
+++ b/lang/gfortran/files/patch-fibheap.c
@@ -0,0 +1,14 @@
+--- libiberty/fibheap.c.org Sat Jan 31 14:51:11 2004
++++ libiberty/fibheap.c Sat Jan 31 14:51:28 2004
+@@ -22,9 +22,9 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+-#ifdef HAVE_LIMITS_H
++//#ifdef HAVE_LIMITS_H
+ #include <limits.h>
+-#endif
++//#endif
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
diff --git a/lang/gfortran/files/patch-mf-impl.h b/lang/gfortran/files/patch-mf-impl.h
new file mode 100644
index 000000000000..c86a3a1d520b
--- /dev/null
+++ b/lang/gfortran/files/patch-mf-impl.h
@@ -0,0 +1,18 @@
+--- libmudflap/mf-impl.h.org Sat Jan 31 20:35:05 2004
++++ libmudflap/mf-impl.h Sat Jan 31 20:35:20 2004
+@@ -17,11 +17,11 @@
+ #error "Do not compile this file with -fmudflap!"
+ #endif
+
+-#if HAVE_PTHREAD_H
++//#if HAVE_PTHREAD_H
+ #include <pthread.h>
+-#elif LIBMUDFLAPTH
+-#error "Cannot build libmudflapth without pthread.h."
+-#endif
++//#elif LIBMUDFLAPTH
++//#error "Cannot build libmudflapth without pthread.h."
++//#endif
+
+
+ /* Private definitions related to mf-runtime.h */