Include missing header files to fix compilation warnings. Bump revision.
OK jasper@, landry@
This commit is contained in:
parent
9ab69acb80
commit
b0f236fa73
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2010/11/15 19:45:59 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2010/12/01 09:19:28 sebastia Exp $
|
||||
|
||||
COMMENT= C C++ API for memcached
|
||||
|
||||
VERSION= 0.44
|
||||
REVISION = 0
|
||||
DISTNAME= libmemcached-${VERSION}
|
||||
CATEGORIES= devel misc
|
||||
|
||||
|
11
devel/libmemcached/patches/patch-clients_ms_conn_c
Normal file
11
devel/libmemcached/patches/patch-clients_ms_conn_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-clients_ms_conn_c,v 1.1 2010/12/01 09:19:28 sebastia Exp $
|
||||
--- clients/ms_conn.c.orig Tue Nov 30 09:02:05 2010
|
||||
+++ clients/ms_conn.c Tue Nov 30 09:02:28 2010
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <event.h>
|
||||
#include <fcntl.h>
|
||||
#include <netinet/tcp.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
16
devel/libmemcached/patches/patch-libmemcached_platform_h
Normal file
16
devel/libmemcached/patches/patch-libmemcached_platform_h
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-libmemcached_platform_h,v 1.1 2010/12/01 09:19:28 sebastia Exp $
|
||||
--- libmemcached/platform.h.orig Tue Nov 30 08:55:02 2010
|
||||
+++ libmemcached/platform.h Tue Nov 30 08:55:12 2010
|
||||
@@ -20,11 +20,11 @@ typedef SOCKET memcached_socket_t;
|
||||
#else
|
||||
typedef int memcached_socket_t;
|
||||
#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/un.h>
|
||||
#include <netinet/tcp.h>
|
||||
-#include <netinet/in.h>
|
||||
|
||||
#endif /* WIN32 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user