Fix build with -Woverloaded-virtual.
Add missing openssl & pcre dependencies. Bump PKGREVISION.
This commit is contained in:
parent
88565762b8
commit
0a0f33682e
4 changed files with 23 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.22 2013/09/14 09:14:08 fhajny Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2013/09/17 11:58:57 fhajny Exp $
|
||||
#
|
||||
|
||||
DISTNAME= rudiments-0.42
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/}
|
||||
|
||||
|
@ -16,5 +17,7 @@ USE_LANGUAGES= c c++
|
|||
USE_LIBTOOL= YES
|
||||
USE_PKGLOCALEDIR= YES
|
||||
|
||||
.include "../../devel/pcre/buildlink3.mk"
|
||||
.include "../../security/openssl/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:29 joerg Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.9 2013/09/17 11:58:57 fhajny Exp $
|
||||
#
|
||||
# This Makefile fragment is included by packages that use rudiments.
|
||||
#
|
||||
|
@ -13,6 +13,9 @@ RUDIMENTS_BUILDLINK3_MK:=
|
|||
BUILDLINK_API_DEPENDS.rudiments+= rudiments>=0.25.1
|
||||
BUILDLINK_ABI_DEPENDS.rudiments+= rudiments>=0.28.2nb1
|
||||
BUILDLINK_PKGSRCDIR.rudiments?= ../../devel/rudiments
|
||||
|
||||
.include "../../devel/pcre/buildlink3.mk"
|
||||
.include "../../security/openssl/buildlink3.mk"
|
||||
.endif # RUDIMENTS_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -rudiments
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.8 2013/09/14 09:14:08 fhajny Exp $
|
||||
$NetBSD: distinfo,v 1.9 2013/09/17 11:58:57 fhajny Exp $
|
||||
|
||||
SHA1 (rudiments-0.42.tar.gz) = 136faa5186d052dccb6616dbe40e5e10a52c0ffb
|
||||
RMD160 (rudiments-0.42.tar.gz) = 46aa5d06d63faa8fb7319fd73d28c71f2dea3dc0
|
||||
Size (rudiments-0.42.tar.gz) = 1488133 bytes
|
||||
SHA1 (patch-aa) = b3a49dd56808843d0e995a5c45df236abeb4c7d3
|
||||
SHA1 (patch-include_rudiments_private_clientsocket.h) = bfc239e4eb5ca79c01e3a17837443ea329dd9d80
|
||||
SHA1 (patch-src_charstring.cpp) = b385472b2340abd8090d75df9b272e6f1564061a
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-include_rudiments_private_clientsocket.h,v 1.1 2013/09/17 11:58:57 fhajny Exp $
|
||||
|
||||
Fix hidden overloaded virtual function in include/rudiments/client.h.
|
||||
--- include/rudiments/private/clientsocket.h.orig 2012-01-30 01:52:27.000000000 +0000
|
||||
+++ include/rudiments/private/clientsocket.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifdef RUDIMENTS_HAS_SSL
|
||||
BIO *newSSLBIO() const;
|
||||
#endif
|
||||
+ using rudiments::client::connect;
|
||||
int32_t connect(const struct ::sockaddr *addr,
|
||||
socklen_t addrlen, long sec, long usec);
|
||||
ssize_t lowLevelRead(void *buf, ssize_t count) const;
|
Loading…
Reference in a new issue