diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-03 18:02:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-03 18:02:14 +0000 |
commit | 58b8395fcaccd903d6787b6d8623d2e409b64155 (patch) | |
tree | ffb9b23512f84ac0730777948609a89a7ea6e9c9 | |
parent | 4790012751f540cbb6f8f84f566a61c218121f8f (diff) | |
download | pkgsrc-58b8395fcaccd903d6787b6d8623d2e409b64155.tar.gz |
Include stdio.h as well when looking for __fpending, that's where it is
found on DragonFly. Add one more check for DTTOIF, otherwise it can end
up as implicit prototype and undefined reference.
-rw-r--r-- | misc/gnuls/distinfo | 4 | ||||
-rw-r--r-- | misc/gnuls/patches/patch-ad | 12 | ||||
-rw-r--r-- | misc/gnuls/patches/patch-ae | 13 |
3 files changed, 28 insertions, 1 deletions
diff --git a/misc/gnuls/distinfo b/misc/gnuls/distinfo index 23961e75c99..f8854b6aeda 100644 --- a/misc/gnuls/distinfo +++ b/misc/gnuls/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/09/08 22:37:54 abs Exp $ +$NetBSD: distinfo,v 1.5 2006/01/03 18:02:14 joerg Exp $ SHA1 (coreutils-5.2.1.tar.bz2) = 1028755ae0fa9be840576e4837004cf5a9981c45 RMD160 (coreutils-5.2.1.tar.bz2) = a72bdb360371c026e77281ae0d543bdcce55a4e6 @@ -6,3 +6,5 @@ Size (coreutils-5.2.1.tar.bz2) = 4270776 bytes SHA1 (patch-aa) = 0c671db84fbd6807d186d93898a7398a7bb8c338 SHA1 (patch-ab) = 98623f76654772ac433ae6af12bbeaf8f4518599 SHA1 (patch-ac) = 4c067b00acb5546f4de5cb8bf524e97932cd9e88 +SHA1 (patch-ad) = ca9125509ded4d31934eff7c7772717d983ee9e3 +SHA1 (patch-ae) = dfa6030d09550133ae83c7d2b316f6ab0431810f diff --git a/misc/gnuls/patches/patch-ad b/misc/gnuls/patches/patch-ad new file mode 100644 index 00000000000..44057d364a7 --- /dev/null +++ b/misc/gnuls/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1 2006/01/03 18:02:15 joerg Exp $ + +--- configure.orig 2006-01-03 17:51:06.000000000 +0000 ++++ configure +@@ -39680,6 +39680,7 @@ done + + + fp_headers=' ++# include <stdio.h> + # if HAVE_STDIO_EXT_H + # include <stdio_ext.h> + # endif diff --git a/misc/gnuls/patches/patch-ae b/misc/gnuls/patches/patch-ae new file mode 100644 index 00000000000..24bd57e1afa --- /dev/null +++ b/misc/gnuls/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2006/01/03 18:02:15 joerg Exp $ + +--- src/ls.c.orig 2006-01-03 17:15:34.000000000 +0000 ++++ src/ls.c +@@ -2528,7 +2528,7 @@ gobble_file (const char *name, enum file + else + { + f->filetype = type; +-#if HAVE_STRUCT_DIRENT_D_TYPE ++#if HAVE_STRUCT_DIRENT_D_TYPE && defined(DTTOIF) + f->stat.st_mode = DTTOIF (type); + #endif + blocks = 0; |