diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gmake/files/patch-glob.h | 20 | ||||
-rw-r--r-- | devel/gmake381/files/patch-glob.h | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/devel/gmake/files/patch-glob.h b/devel/gmake/files/patch-glob.h new file mode 100644 index 000000000000..1d1985248735 --- /dev/null +++ b/devel/gmake/files/patch-glob.h @@ -0,0 +1,20 @@ +--- glob/glob.h.orig Sat Jan 22 00:43:03 2000 ++++ glob/glob.h Fri Aug 23 02:37:03 2002 +@@ -47,6 +47,9 @@ + + /* We need `size_t' for the following definitions. */ + #ifndef __size_t ++#if defined __FreeBSD__ ++#define __size_t size_t ++#else + # if defined __GNUC__ && __GNUC__ >= 2 + typedef __SIZE_TYPE__ __size_t; + # else +@@ -59,6 +62,7 @@ + */ + #if !(defined __DECC && defined __SIZE_T) + typedef unsigned long int __size_t; ++#endif + #endif + # endif + #else diff --git a/devel/gmake381/files/patch-glob.h b/devel/gmake381/files/patch-glob.h new file mode 100644 index 000000000000..1d1985248735 --- /dev/null +++ b/devel/gmake381/files/patch-glob.h @@ -0,0 +1,20 @@ +--- glob/glob.h.orig Sat Jan 22 00:43:03 2000 ++++ glob/glob.h Fri Aug 23 02:37:03 2002 +@@ -47,6 +47,9 @@ + + /* We need `size_t' for the following definitions. */ + #ifndef __size_t ++#if defined __FreeBSD__ ++#define __size_t size_t ++#else + # if defined __GNUC__ && __GNUC__ >= 2 + typedef __SIZE_TYPE__ __size_t; + # else +@@ -59,6 +62,7 @@ + */ + #if !(defined __DECC && defined __SIZE_T) + typedef unsigned long int __size_t; ++#endif + #endif + # endif + #else |