aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2011-06-24 11:51:20 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2011-06-24 11:51:20 +0000
commitfc970779c8e457b30ed07d7fd7cdb14f46be4e03 (patch)
treec28196fee5cb9dc67dcae27ad3a1efbe7313a670 /net
parent506f8c5798c81464be4bd7eb025c10c33205590c (diff)
downloadports-fc970779c8e457b30ed07d7fd7cdb14f46be4e03.tar.gz
ports-fc970779c8e457b30ed07d7fd7cdb14f46be4e03.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/beanstalkd/Makefile1
-rw-r--r--net/beanstalkd/files/patch-conn.h13
-rw-r--r--net/beanstalkd/files/patch-tube.h17
3 files changed, 31 insertions, 0 deletions
diff --git a/net/beanstalkd/Makefile b/net/beanstalkd/Makefile
index 87f55779f01c..73be245177c3 100644
--- a/net/beanstalkd/Makefile
+++ b/net/beanstalkd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= beanstalkd
PORTVERSION= 1.4.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://cloud.github.com/downloads/kr/beanstalkd/
diff --git a/net/beanstalkd/files/patch-conn.h b/net/beanstalkd/files/patch-conn.h
new file mode 100644
index 000000000000..a46c764f4d40
--- /dev/null
+++ b/net/beanstalkd/files/patch-conn.h
@@ -0,0 +1,13 @@
+--- conn.h.orig 2011-06-24 15:38:41.000000000 +0400
++++ conn.h 2011-06-24 15:39:11.000000000 +0400
+@@ -72,9 +72,9 @@
+
+ job out_job;
+ int out_job_sent;
+- struct job reserved_jobs; /* doubly-linked list header */
+ tube use;
+ struct ms watch;
++ struct job reserved_jobs; /* doubly-linked list header */
+ };
+
+ conn make_conn(int fd, char start_state, tube use, tube watch);
diff --git a/net/beanstalkd/files/patch-tube.h b/net/beanstalkd/files/patch-tube.h
new file mode 100644
index 000000000000..133b49692e2c
--- /dev/null
+++ b/net/beanstalkd/files/patch-tube.h
@@ -0,0 +1,17 @@
+--- tube.h.orig 2011-06-24 15:37:57.000000000 +0400
++++ tube.h 2011-06-24 15:38:13.000000000 +0400
+@@ -35,13 +35,13 @@
+ char name[MAX_TUBE_NAME_LEN];
+ struct pq ready;
+ struct pq delay;
+- struct job buried;
+ struct ms waiting; /* set of conns */
+ struct stats stat;
+ unsigned int using_ct;
+ unsigned int watching_ct;
+ usec pause;
+ usec deadline_at;
++ struct job buried;
+ };
+
+ extern struct ms tubes;