diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2011-06-24 19:51:20 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2011-06-24 19:51:20 +0800 |
commit | aa580a26c0f5e2dd9c012fefe3d68a3e34aa5061 (patch) | |
tree | a5b31364986b0eb5742cc0807988b38a2f507c8a /net | |
parent | 323369228a3396c0fa0eff8ec5bcacd7747bc464 (diff) | |
download | freebsd-ports-gnome-aa580a26c0f5e2dd9c012fefe3d68a3e34aa5061.tar.gz freebsd-ports-gnome-aa580a26c0f5e2dd9c012fefe3d68a3e34aa5061.tar.zst freebsd-ports-gnome-aa580a26c0f5e2dd9c012fefe3d68a3e34aa5061.zip |
Fix build with clang
Diffstat (limited to 'net')
-rw-r--r-- | net/beanstalkd/Makefile | 1 | ||||
-rw-r--r-- | net/beanstalkd/files/patch-conn.h | 13 | ||||
-rw-r--r-- | net/beanstalkd/files/patch-tube.h | 17 |
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; |