summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-10 22:40:47 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-10 22:40:47 +0900
commit58d46a271f1bfbe0965971bae534c805bef0e244 (patch)
treeb2711d4931301029523d31343dc20cea20c0732d /dev-db/cdb/files/cdb-inline.patch
parentdev-db/cdb: update HOMEPAGE and SRC_URI (diff)
downloadgentoo-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/files/cdb-inline.patch')
-rw-r--r--dev-db/cdb/files/cdb-inline.patch11
1 files changed, 11 insertions, 0 deletions
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();