diff options
author | dholland <dholland@pkgsrc.org> | 2011-08-01 05:44:26 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-08-01 05:44:26 +0000 |
commit | 24eb3ed137bc31893ba0f49b6d6ac6360f5c8d7f (patch) | |
tree | 5a83038971fbd1554902fe0489eebc9cbec46d07 /editors/ex | |
parent | ab3518a04475bcfd7e17eb294e5eb948efcf310b (diff) | |
download | pkgsrc-24eb3ed137bc31893ba0f49b6d6ac6360f5c8d7f.tar.gz |
Fix broken build with clang.
Diffstat (limited to 'editors/ex')
-rw-r--r-- | editors/ex/distinfo | 3 | ||||
-rw-r--r-- | editors/ex/patches/patch-exrecover_c | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/editors/ex/distinfo b/editors/ex/distinfo index a154e75f63e..666602b364f 100644 --- a/editors/ex/distinfo +++ b/editors/ex/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2010/01/31 21:24:03 joerg Exp $ +$NetBSD: distinfo,v 1.14 2011/08/01 05:47:40 dholland Exp $ SHA1 (ex-040103.tar.gz) = 51fa1d613b37a4f3aed1ef2968be691465cdff09 RMD160 (ex-040103.tar.gz) = 5fc3f222dde5a8d00e1b233281ccf210affdbdf1 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 8902846a518fbf214725a801293610ebe12c143b SHA1 (patch-ab) = 5bac9911e71b7fe787023568a7a46d1e87fb4d0e SHA1 (patch-ac) = 0401448724a4aba59b4aeb07a4cb00982bb52d98 SHA1 (patch-ad) = 31bafb04f553ca286baf90505da450964fea9954 +SHA1 (patch-exrecover_c) = f5fd1bff1f1e8229170415081815531d86e482da diff --git a/editors/ex/patches/patch-exrecover_c b/editors/ex/patches/patch-exrecover_c new file mode 100644 index 00000000000..2b114aae0c9 --- /dev/null +++ b/editors/ex/patches/patch-exrecover_c @@ -0,0 +1,23 @@ +$NetBSD: patch-exrecover_c,v 1.1 2011/08/01 05:47:40 dholland Exp $ + +Fix illegal C caught by clang. + +--- exrecover.c~ 2002-04-07 12:02:27.000000000 +0000 ++++ exrecover.c +@@ -198,7 +198,7 @@ char *getblock __P((line, int)); + int blkio __P((bloc, char *, ssize_t (*) __P((int, void *, size_t)))); + char *poolsbrk __P((intptr_t)); + int error __P((char *str, ...)); +-int listfiles __P((char *)); ++void listfiles __P((char *)); + int enter __P((struct svfile *, char *, int)); + int qucmp __P((struct svfile *, struct svfile *)); + int findtmp __P((char *)); +@@ -384,6 +384,7 @@ error(char *str, ...) + exit(1); + } + ++void + listfiles(dirname) + char *dirname; + { |