SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
30
net/openmdns/patches/patch-mdnsd_mdnsd_h
Normal file
30
net/openmdns/patches/patch-mdnsd_mdnsd_h
Normal file
|
@ -0,0 +1,30 @@
|
|||
Fix -fno-common build error. Taken from
|
||||
https://svnweb.freebsd.org/ports?view=revision&revision=549579
|
||||
|
||||
Index: mdnsd/mdnsd.h
|
||||
--- mdnsd/mdnsd.h.orig
|
||||
+++ mdnsd/mdnsd.h
|
||||
@@ -223,9 +223,11 @@ struct pge {
|
||||
};
|
||||
|
||||
/* Publish Group Queue, should hold all publishing groups */
|
||||
-TAILQ_HEAD(, pg) pg_queue;
|
||||
+typedef TAILQ_HEAD(, pg) pg_q;
|
||||
+extern pg_q pg_queue;
|
||||
/* Publish Group Entry Queue, should hold all publishing group entries */
|
||||
-TAILQ_HEAD(, pge) pge_queue;
|
||||
+typedef TAILQ_HEAD(, pge) pge_q;
|
||||
+extern pge_q pge_queue;
|
||||
|
||||
struct kif {
|
||||
char ifname[IF_NAMESIZE];
|
||||
@@ -397,7 +399,8 @@ int rr_send_an(struct rr *);
|
||||
void conflict_resolve_by_rr(struct rr *);
|
||||
|
||||
/* control.c */
|
||||
-TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns;
|
||||
+typedef TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns_t;
|
||||
+extern ctl_conns_t ctl_conns;
|
||||
int control_send_rr(struct ctl_conn *, struct rr *, int);
|
||||
int control_send_ms(struct ctl_conn *, struct mdns_service *, int);
|
||||
int control_try_answer_ms(struct ctl_conn *, char[MAXHOSTNAMELEN]);
|
Loading…
Add table
Add a link
Reference in a new issue