Date: Wed, 12 Sep 2007 01:48:53 -0300 From: "Alejandro Pulver" <alepulver@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/116300: [UPDATE] devel/commoncpp: update to version 1.5.7 Message-ID: <1189572533.91521@deimos.mars.bsd> Resent-Message-ID: <200709120450.l8C4o1nu072310@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116300 >Category: ports >Synopsis: [UPDATE] devel/commoncpp: update to version 1.5.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Sep 12 04:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP >Description: - Use OPTIONS. - Remove FreeBSD 4.x support (USE_GCC and USE_GETOPT_LONG). - Update to version 1.5.7. >How-To-Repeat: >Fix: --- commoncpp.diff begins here --- Index: commoncpp/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/commoncpp/Makefile,v retrieving revision 1.32 diff -u -r1.32 Makefile --- commoncpp/Makefile 17 Dec 2006 20:41:06 -0000 1.32 +++ commoncpp/Makefile 11 Sep 2007 17:44:02 -0000 @@ -6,35 +6,35 @@ # PORTNAME= commoncpp -PORTVERSION= 1.5.2 +PORTVERSION= 1.5.7 PORTEPOCH= 2 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= gnutelephony +MASTER_SITES= GNU DISTNAME= ${PORTNAME:S/$/2/}-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= GNU project portable class framework for C++ +USE_LDCONFIG= yes USE_GNOME= gnomehack gnometarget - -.if !defined(WITHOUT_LIBXML2) -USE_GNOME+= libxml2 -.else -CONFIGURE_ARGS= --without-libxml2 -.endif - -USE_GETOPT_LONG=yes USE_GMAKE= yes GNU_CONFIGURE= yes -USE_GCC= 3.4+ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ ac_cv_path_DOXYGEN=no -USE_LDCONFIG= yes + +OPTIONS= LIBXML2 "Enable libxml2 support" on INFO= commoncpp2 CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_LIBXML2) +USE_GNOME+= libxml2 +.else +CONFIGURE_ARGS+=--without-libxml2 +.endif + +.include <bsd.port.post.mk> Index: commoncpp/distinfo =================================================================== RCS file: /home/pcvs/ports/devel/commoncpp/distinfo,v retrieving revision 1.18 diff -u -r1.18 distinfo --- commoncpp/distinfo 17 Dec 2006 20:41:06 -0000 1.18 +++ commoncpp/distinfo 11 Sep 2007 17:44:02 -0000 @@ -1,3 +1,3 @@ -MD5 (commoncpp2-1.5.2.tar.gz) = 9d84aa85af660b0dbb8fb601cf783409 -SHA256 (commoncpp2-1.5.2.tar.gz) = 75e2a4777f7fc6764c176b79851ca9530f6c5c745e9f610dbedf4253fde5f200 -SIZE (commoncpp2-1.5.2.tar.gz) = 862550 +MD5 (commoncpp2-1.5.7.tar.gz) = bd85e157e1f4f457e9137c59d40a13fb +SHA256 (commoncpp2-1.5.7.tar.gz) = 95b0e86c27db1ec0b79abe4097f4449f1e15dde1870202ead0551c506269a504 +SIZE (commoncpp2-1.5.7.tar.gz) = 858598 Index: commoncpp/files/patch-include-cc++_address.h =================================================================== RCS file: /home/pcvs/ports/devel/commoncpp/files/patch-include-cc++_address.h,v retrieving revision 1.1 diff -u -r1.1 patch-include-cc++_address.h --- commoncpp/files/patch-include-cc++_address.h 5 Oct 2006 06:31:32 -0000 1.1 +++ commoncpp/files/patch-include-cc++_address.h 11 Sep 2007 17:44:02 -0000 @@ -1,28 +1,28 @@ ---- include/cc++/address.h Sun Oct 1 07:07:12 2006 -+++ include/cc++/address.h Wed Oct 4 21:25:44 2006 -@@ -237,10 +237,10 @@ +--- ./include/cc++/address.h.orig Tue Jan 23 14:15:02 2007 ++++ ./include/cc++/address.h Tue Sep 11 11:58:17 2007 +@@ -236,10 +236,10 @@ + bool isMember(const struct in_addr &inaddr) const; + + inline bool operator==(const struct sockaddr *a) const +- {return isMember(a);}; ++ {return isMember(a);} + + inline bool operator==(const struct in_addr &a) const +- {return isMember(a);}; ++ {return isMember(a);} }; - inline bool operator==(struct sockaddr *sa, IPV4Cidr &cidr) -- {return cidr.isMember(sa);}; -+ {return cidr.isMember(sa);} - - inline bool operator==(struct in_addr &a, IPV4Cidr &cidr) -- {return cidr.isMember(a);}; -+ {return cidr.isMember(a);} - #ifdef CCXX_IPV6 - /** -@@ -325,10 +325,10 @@ - }; +@@ -324,10 +324,10 @@ + bool isMember(const struct in6_addr &inaddr) const; - inline bool operator==(struct sockaddr *sa, IPV6Cidr &cidr) -- {return cidr.isMember(sa);}; -+ {return cidr.isMember(sa);} - - inline bool operator==(struct in6_addr &a, IPV6Cidr &cidr) -- {return cidr.isMember(a);}; -+ {return cidr.isMember(a);} + inline bool operator==(const struct sockaddr *sa) const +- {return isMember(sa);}; ++ {return isMember(sa);} + + inline bool operator==(const struct in6_addr &a) const +- {return isMember(a);}; ++ {return isMember(a);} + }; #endif - Index: commoncpp/files/patch-src_timer.cpp =================================================================== RCS file: commoncpp/files/patch-src_timer.cpp diff -N commoncpp/files/patch-src_timer.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ commoncpp/files/patch-src_timer.cpp 11 Sep 2007 17:44:02 -0000 @@ -0,0 +1,11 @@ +--- src/timer.cpp.orig Tue Jan 23 21:09:13 2007 ++++ src/timer.cpp Tue Sep 11 13:12:41 2007 +@@ -117,7 +117,7 @@ + active = true; + } + +-#ifdef HAVE_HIRES_TIMER ++#if defined(HAVE_HIRES_TIMER) && !defined(__FreeBSD__) + void TimerPort::sleepTimer(void) + { + struct timespec ts; --- commoncpp.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1189572533.91521>