diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-18 02:59:18 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-18 02:59:18 +0000 |
commit | 3c48b72920227ab09616fcc745bd9591e2559431 (patch) | |
tree | 47840bb4b5097f7f2aa22c983e82f48c86e4ed5e /devel/libdnsres | |
parent | ee11ea66238cfa64ce60be6acfe958203ad7a542 (diff) | |
download | ports-3c48b72920227ab09616fcc745bd9591e2559431.tar.gz ports-3c48b72920227ab09616fcc745bd9591e2559431.zip |
- Patch to fix usage with C++
- Bump PORTREVISION
PR: 93505
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=156251
Diffstat (limited to 'devel/libdnsres')
-rw-r--r-- | devel/libdnsres/Makefile | 1 | ||||
-rw-r--r-- | devel/libdnsres/files/patch-dnsres.h | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/devel/libdnsres/Makefile b/devel/libdnsres/Makefile index a3640974def5..9ee7cc5da876 100644 --- a/devel/libdnsres/Makefile +++ b/devel/libdnsres/Makefile @@ -7,6 +7,7 @@ PORTNAME= libdnsres PORTVERSION= 0.1a +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://monkey.org/~provos/ diff --git a/devel/libdnsres/files/patch-dnsres.h b/devel/libdnsres/files/patch-dnsres.h new file mode 100644 index 000000000000..f3803fcee396 --- /dev/null +++ b/devel/libdnsres/files/patch-dnsres.h @@ -0,0 +1,20 @@ +--- dnsres.h.orig Fri Feb 17 16:51:37 2006 ++++ dnsres.h Fri Feb 17 16:52:14 2006 +@@ -431,6 +431,8 @@ + int dnsres_net_addrcmp(struct sockaddr *, struct sockaddr *); + int dnsres_getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct dnsres_rrsetinfo **); + void dnsres_freerrset(struct dnsres_rrsetinfo *); ++int dnsres_init(struct dnsres *); ++void dnsres_cancel_lookup(void *); + __END_DECLS + + /* +@@ -502,8 +504,5 @@ + struct dnsres_hostent_state hostent_state; + struct dnsres_servent_state servent_state; + }; +- +-int dnsres_init(struct dnsres *_resp); +-void dnsres_cancel_lookup(void *handle); + + #endif /* _DNSRES_H_ */ |