mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -18,6 +18,7 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-errno.patch
|
||||
"${FILESDIR}"/${PN}-inline.patch
|
||||
"${FILESDIR}"/${PN}-stdint.patch
|
||||
)
|
||||
|
||||
|
||||
11
dev-db/cdb/files/cdb-inline.patch
Normal file
11
dev-db/cdb/files/cdb-inline.patch
Normal file
@@ -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();
|
||||
Reference in New Issue
Block a user