summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-19 01:48:44 +0000
committerSam James <sam@gentoo.org>2023-03-19 01:48:44 +0000
commitc85399a56ccef79c29a09334beb59abb10b87c7a (patch)
tree872488721c5e1929c2818017e34679097eba05b6 /net-im/cpop/files
parentdev-haskell/wai-logger: Add GHC_BOOTSTRAP_PACKAGES (diff)
downloadgentoo-c85399a56ccef79c29a09334beb59abb10b87c7a.tar.gz
gentoo-c85399a56ccef79c29a09334beb59abb10b87c7a.tar.bz2
gentoo-c85399a56ccef79c29a09334beb59abb10b87c7a.zip
net-im/cpop: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/885705 Closes: https://bugs.gentoo.org/900072 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im/cpop/files')
-rw-r--r--net-im/cpop/files/cpop-0.0.4-implicit-func-decls.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-im/cpop/files/cpop-0.0.4-implicit-func-decls.patch b/net-im/cpop/files/cpop-0.0.4-implicit-func-decls.patch
new file mode 100644
index 000000000000..ff3977e18055
--- /dev/null
+++ b/net-im/cpop/files/cpop-0.0.4-implicit-func-decls.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/885705
+--- a/pop_client.c
++++ b/pop_client.c
+@@ -2,6 +2,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/socket.h>
++#include <unistd.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
+--- a/pop_common.h
++++ b/pop_common.h
+@@ -3,4 +3,5 @@
+ #define CP_MSGSIZE 2048
+ #define CP_PORT 3233
+ void errquit(char *message);
++void printquit(char *message);
+ #endif