diff options
author | dholland <dholland> | 2015-08-30 08:18:14 +0000 |
---|---|---|
committer | dholland <dholland> | 2015-08-30 08:18:14 +0000 |
commit | 0dd51ef72d566629b5931919ce822ce8c4d4fa9c (patch) | |
tree | b254942a6e67eaebc948e9c456f656f69573b4ff /databases/cdb | |
parent | ad292bcdb13ce8e76e069a6580db895bd56f5bc2 (diff) | |
download | pkgsrc-0dd51ef72d566629b5931919ce822ce8c4d4fa9c.tar.gz |
Fix build if the compiler decides not to inline. Should correct build
failure seen in the last dfly build.
Diffstat (limited to 'databases/cdb')
-rw-r--r-- | databases/cdb/distinfo | 3 | ||||
-rw-r--r-- | databases/cdb/patches/patch-cdbmake.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/databases/cdb/distinfo b/databases/cdb/distinfo index 3e2326fce89..e6672e7c695 100644 --- a/databases/cdb/distinfo +++ b/databases/cdb/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 16:33:05 agc Exp $ +$NetBSD: distinfo,v 1.4 2015/08/30 08:18:14 dholland Exp $ SHA1 (cdb-0.75.tar.gz) = 555749be5b2617e29e44b5326a2536813d62c248 RMD160 (cdb-0.75.tar.gz) = d52288ee6df58fdc5a79efc16693cd5e305f9c65 Size (cdb-0.75.tar.gz) = 54162 bytes SHA1 (patch-aa) = 7e7a4e20ca36c3e773c729c0f0d751ac6340ccda +SHA1 (patch-cdbmake.c) = 08dfa3ab166bb7467d022a0ea20cac9426f30368 diff --git a/databases/cdb/patches/patch-cdbmake.c b/databases/cdb/patches/patch-cdbmake.c new file mode 100644 index 00000000000..17aec7a7690 --- /dev/null +++ b/databases/cdb/patches/patch-cdbmake.c @@ -0,0 +1,15 @@ +$NetBSD: patch-cdbmake.c,v 1.1 2015/08/30 08:18:15 dholland Exp $ + +fix build if the compiler decides not to inline. + +--- cdbmake.c~ 2000-02-19 20:42:05.000000000 +0000 ++++ cdbmake.c +@@ -26,7 +26,7 @@ void die_readformat(void) + strerr_die2x(111,FATAL,"unable to read input: bad format"); + } + +-inline void get(char *ch) ++static inline void get(char *ch) + { + switch(buffer_GETC(buffer_0,ch)) { + case 0: die_readformat(); |