diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-10 22:40:47 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-10 22:40:47 +0900 |
commit | 58d46a271f1bfbe0965971bae534c805bef0e244 (patch) | |
tree | b2711d4931301029523d31343dc20cea20c0732d /dev-db/cdb | |
parent | dev-db/cdb: update HOMEPAGE and SRC_URI (diff) | |
download | gentoo-58d46a271f1bfbe0965971bae534c805bef0e244.tar.gz gentoo-58d46a271f1bfbe0965971bae534c805bef0e244.tar.bz2 gentoo-58d46a271f1bfbe0965971bae534c805bef0e244.zip |
dev-db/cdb: fix build
Closes: https://bugs.gentoo.org/693094
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-db/cdb')
-rw-r--r-- | dev-db/cdb/cdb-0.75-r4.ebuild | 1 | ||||
-rw-r--r-- | dev-db/cdb/files/cdb-inline.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild index ff5d1a6ffa73..23009ad748ed 100644 --- a/dev-db/cdb/cdb-0.75-r4.ebuild +++ b/dev-db/cdb/cdb-0.75-r4.ebuild @@ -18,6 +18,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-errno.patch + "${FILESDIR}"/${PN}-inline.patch "${FILESDIR}"/${PN}-stdint.patch ) diff --git a/dev-db/cdb/files/cdb-inline.patch b/dev-db/cdb/files/cdb-inline.patch new file mode 100644 index 000000000000..2d297dc62a41 --- /dev/null +++ b/dev-db/cdb/files/cdb-inline.patch @@ -0,0 +1,11 @@ +--- a/cdbmake.c ++++ b/cdbmake.c +@@ -26,7 +26,7 @@ + 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(); |