[Midnightbsd-cvs] mports [19668] trunk/databases/memcached: add patches
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 7 16:08:57 EDT 2015
Revision: 19668
http://svnweb.midnightbsd.org/mports/?rev=19668
Author: laffer1
Date: 2015-08-07 16:08:54 -0400 (Fri, 07 Aug 2015)
Log Message:
-----------
add patches
Added Paths:
-----------
trunk/databases/memcached/files/patch-configure.ac
trunk/databases/memcached/files/patch-memcached.c
trunk/databases/memcached/files/patch-thread.c
trunk/databases/memcached/pkg-plist
Added: trunk/databases/memcached/files/patch-configure.ac
===================================================================
--- trunk/databases/memcached/files/patch-configure.ac (rev 0)
+++ trunk/databases/memcached/files/patch-configure.ac 2015-08-07 20:08:54 UTC (rev 19668)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2015-06-27 18:28:54 UTC
++++ configure.ac
+@@ -581,7 +581,7 @@ then
+ elif test "$GCC" = "yes"
+ then
+ GCC_VERSION=`$CC -dumpversion`
+- CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
++ CFLAGS="$CFLAGS -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
+ case $GCC_VERSION in
+ 4.4.*)
+ CFLAGS="$CFLAGS -fno-strict-aliasing"
Property changes on: trunk/databases/memcached/files/patch-configure.ac
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/memcached/files/patch-memcached.c
===================================================================
--- trunk/databases/memcached/files/patch-memcached.c (rev 0)
+++ trunk/databases/memcached/files/patch-memcached.c 2015-08-07 20:08:54 UTC (rev 19668)
@@ -0,0 +1,74 @@
+--- memcached.c.orig 2015-04-20 05:34:19 UTC
++++ memcached.c
+@@ -288,7 +288,7 @@ static int add_msghdr(conn *c)
+ c->msgbytes = 0;
+ c->msgused++;
+
+- if (IS_UDP(c->transport)) {
++ if IS_UDP(c->transport) {
+ /* Leave room for the UDP header, which we'll fill in later. */
+ return add_iov(c, NULL, UDP_HEADER_SIZE);
+ }
+@@ -432,7 +432,7 @@ conn *conn_new(const int sfd, enum conn_
+ if (init_state == conn_listening) {
+ fprintf(stderr, "<%d server listening (%s)\n", sfd,
+ prot_text(c->protocol));
+- } else if (IS_UDP(transport)) {
++ } else if IS_UDP(transport) {
+ fprintf(stderr, "<%d server listening (udp)\n", sfd);
+ } else if (c->protocol == negotiating_prot) {
+ fprintf(stderr, "<%d new auto-negotiating client connection\n",
+@@ -531,7 +531,7 @@ static void conn_cleanup(conn *c) {
+ c->sasl_conn = NULL;
+ }
+
+- if (IS_UDP(c->transport)) {
++ if IS_UDP(c->transport) {
+ conn_set_state(c, conn_read);
+ }
+ }
+@@ -601,7 +601,7 @@ static void conn_close(conn *c) {
+ static void conn_shrink(conn *c) {
+ assert(c != NULL);
+
+- if (IS_UDP(c->transport))
++ if IS_UDP(c->transport)
+ return;
+
+ if (c->rsize > READ_BUFFER_HIGHWAT && c->rbytes < DATA_BUFFER_SIZE) {
+@@ -4022,7 +4022,7 @@ static enum transmit_result transmit(con
+ if (settings.verbose > 0)
+ perror("Failed to write, and not due to blocking");
+
+- if (IS_UDP(c->transport))
++ if IS_UDP(c->transport)
+ conn_set_state(c, conn_read);
+ else
+ conn_set_state(c, conn_closing);
+@@ -4346,7 +4346,7 @@ static void drive_machine(conn *c) {
+ break;
+
+ case conn_closing:
+- if (IS_UDP(c->transport))
++ if IS_UDP(c->transport)
+ conn_cleanup(c);
+ else
+ conn_close(c);
+@@ -4506,7 +4506,7 @@ static int server_socket(const char *int
+ #endif
+
+ setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, (void *)&flags, sizeof(flags));
+- if (IS_UDP(transport)) {
++ if IS_UDP(transport) {
+ maximize_sndbuf(sfd);
+ } else {
+ error = setsockopt(sfd, SOL_SOCKET, SO_KEEPALIVE, (void *)&flags, sizeof(flags));
+@@ -4561,7 +4561,7 @@ static int server_socket(const char *int
+ }
+ }
+
+- if (IS_UDP(transport)) {
++ if IS_UDP(transport) {
+ int c;
+
+ for (c = 0; c < settings.num_threads_per_udp; c++) {
Property changes on: trunk/databases/memcached/files/patch-memcached.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/memcached/files/patch-thread.c
===================================================================
--- trunk/databases/memcached/files/patch-thread.c (rev 0)
+++ trunk/databases/memcached/files/patch-thread.c 2015-08-07 20:08:54 UTC (rev 19668)
@@ -0,0 +1,11 @@
+--- thread.c.orig 2015-04-20 05:34:19 UTC
++++ thread.c
+@@ -402,7 +402,7 @@ static void thread_libevent_process(int
+ conn *c = conn_new(item->sfd, item->init_state, item->event_flags,
+ item->read_buffer_size, item->transport, me->base);
+ if (c == NULL) {
+- if (IS_UDP(item->transport)) {
++ if IS_UDP(item->transport) {
+ fprintf(stderr, "Can't listen for events on UDP socket\n");
+ exit(1);
+ } else {
Property changes on: trunk/databases/memcached/files/patch-thread.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/memcached/pkg-plist
===================================================================
--- trunk/databases/memcached/pkg-plist (rev 0)
+++ trunk/databases/memcached/pkg-plist 2015-08-07 20:08:54 UTC (rev 19668)
@@ -0,0 +1,9 @@
+bin/memcached
+bin/memcached-tool
+include/memcached/protocol_binary.h
+man/man1/memcached.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/protocol-binary-range.xml
+%%PORTDOCS%%%%DOCSDIR%%/protocol-binary.xml
+%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/threads.txt
Property changes on: trunk/databases/memcached/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list