ports/170586: [UPDATE PORT] devel/commoncpp 1.8.1
Waitman Gobble
uzimac at da3m0n8t3r.com
Mon Aug 13 04:30:02 UTC 2012
>Number: 170586
>Category: ports
>Synopsis: [UPDATE PORT] devel/commoncpp 1.8.1
>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: Mon Aug 13 04:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Waitman Gobble
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
Waitman Gobble
>Environment:
FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Aug 11 13:25:18 PDT 2012 root at hunny.waitman.net:/usr/obj/usr/src/sys/KEYSHIA amd64
>Description:
update commoncpp to 1.8.1
Common C++ offers a highly portable C++ application development
framework. Common C++ provides classes for threads, sockets, daemon
management, system logging, object synchronization, realtime network
development, persistent object management, and file access.
Thank you
>How-To-Repeat:
na
>Fix:
na
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# commoncpp
# commoncpp/files
# commoncpp/files/patch-include-cc++_address.h
# commoncpp/files/patch-src_mutex.cpp
# commoncpp/files/patch-src_thread.cpp
# commoncpp/files/patch-src_timer.cpp
# commoncpp/files/patch-src_applog.cpp
# commoncpp/Makefile
# commoncpp/pkg-descr
# commoncpp/pkg-plist
# commoncpp/distinfo
#
echo c - commoncpp
mkdir -p commoncpp > /dev/null 2>&1
echo c - commoncpp/files
mkdir -p commoncpp/files > /dev/null 2>&1
echo x - commoncpp/files/patch-include-cc++_address.h
sed 's/^X//' >commoncpp/files/patch-include-cc++_address.h << '3fbd99508184e8bb61b64b30e49c7ad7'
X--- inc/cc++/address.h 2010-10-31 15:22:45.000000000 -0700
X+++ inc/cc++/address.h 2012-08-12 20:17:20.000000000 -0700
X@@ -237,10 +237,10 @@
X bool isMember(const struct in_addr &inaddr) const;
X
X inline bool operator==(const struct sockaddr *a) const
X- {return isMember(a);};
X+ {return isMember(a);}
X
X inline bool operator==(const struct in_addr &a) const
X- {return isMember(a);};
X+ {return isMember(a);}
X };
X
X #ifdef CCXX_IPV6
X@@ -325,10 +325,10 @@
X bool isMember(const struct in6_addr &inaddr) const;
X
X inline bool operator==(const struct sockaddr *sa) const
X- {return isMember(sa);};
X+ {return isMember(sa);}
X
X inline bool operator==(const struct in6_addr &a) const
X- {return isMember(a);};
X+ {return isMember(a);}
X };
X
X #endif
3fbd99508184e8bb61b64b30e49c7ad7
echo x - commoncpp/files/patch-src_mutex.cpp
sed 's/^X//' >commoncpp/files/patch-src_mutex.cpp << 'f0045b92043e27f0d22ad4f10699042a'
X--- src/mutex.cpp 2010-10-31 16:56:23.000000000 -0700
X+++ src/mutex.cpp 2012-08-12 20:34:58.000000000 -0700
X@@ -50,6 +50,8 @@
X using namespace __gnu_cxx;
X #endif
X
X+using namespace std;
X+
X #ifdef CCXX_NAMESPACES
X namespace ost {
X using namespace std;
f0045b92043e27f0d22ad4f10699042a
echo x - commoncpp/files/patch-src_thread.cpp
sed 's/^X//' >commoncpp/files/patch-src_thread.cpp << '1555561b4c165d5689fe97de17ae1afb'
X--- src/thread.cpp 2010-10-31 17:58:07.000000000 -0700
X+++ src/thread.cpp 2012-08-12 20:26:53.000000000 -0700
X@@ -796,7 +796,7 @@
X cctid_t Thread::getId(void) const
X {
X if(!priv)
X- return (cctid_t)-1;
X+ return (cctid_t)false;
X
X return priv->_tid;
X }
1555561b4c165d5689fe97de17ae1afb
echo x - commoncpp/files/patch-src_timer.cpp
sed 's/^X//' >commoncpp/files/patch-src_timer.cpp << 'a1ae1de84e49ac62ceb1314a51d42944'
X--- src/timer.cpp 2010-10-31 18:00:33.000000000 -0700
X+++ src/timer.cpp 2012-08-12 20:29:31.000000000 -0700
X@@ -118,7 +118,7 @@
X active = true;
X }
X
X-#ifdef HAVE_HIRES_TIMER
X+#if defined(HAVE_HIRES_TIMER) && !defined(__FreeBSD__)
X void TimerPort::sleepTimer(void)
X {
X struct timespec ts;
a1ae1de84e49ac62ceb1314a51d42944
echo x - commoncpp/files/patch-src_applog.cpp
sed 's/^X//' >commoncpp/files/patch-src_applog.cpp << '12ec98883a4168acd83cd82bd55bb71c'
X--- src/applog.cpp 2010-10-31 16:11:55.000000000 -0700
X+++ src/applog.cpp 2012-08-12 20:50:40.000000000 -0700
X@@ -45,6 +45,7 @@
X #include <cstdlib>
X #include <stdarg.h>
X #include <errno.h>
X+#include <sys/stat.h>
X
X // TODO sc: test if has to move up now that it is into commoncpp
X // NOTE: the order of inclusion is important do not move following include line
X@@ -53,6 +54,8 @@
X // local includes
X #include <cc++/applog.h>
X
X+using namespace std;
X+
X #ifdef CCXX_NAMESPACES
X using namespace std;
X namespace ost
12ec98883a4168acd83cd82bd55bb71c
echo x - commoncpp/Makefile
sed 's/^X//' >commoncpp/Makefile << '3cde6297fde01f172627db52dc24b88e'
X# New ports collection makefile for: CommonC++
X# Date created: 12 August 2012
X# Whom: Waitman Gobble <uzimac at da3m0n8t3r.com>
X#
X#
X
XPORTNAME= commoncpp
XPORTVERSION= 1.8.1
XPORTEPOCH= 2
XCATEGORIES= devel
XMASTER_SITES= http://www.gnutelephony.org/dist/tarballs/ http://www.da3m0n8t3r.com/gnutelephony/www.gnutelephony.org/dist/tarballs/
XDISTNAME= ${PORTNAME:S/$/2/}-${PORTVERSION}
X
XMAINTAINER= uzimac at da3m0n8t3r.com
XCOMMENT= GNU project portable class framework for C++
X
XLICENSE= GPLv2
X
XUSE_LDCONFIG= yes
XUSE_GNOME= gnomehack
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= ac_cv_path_DOXYGEN=no
X
XINFO= commoncpp2
X
XCPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
XLDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
X
X.include <bsd.port.mk>
3cde6297fde01f172627db52dc24b88e
echo x - commoncpp/pkg-descr
sed 's/^X//' >commoncpp/pkg-descr << '168b1f9fc128e33ff33e1e542898fbfa'
XCommon C++ offers a highly portable C++ application development
Xframework. Common C++ provides classes for threads, sockets, daemon
Xmanagement, system logging, object synchronization, realtime network
Xdevelopment, persistent object management, and file access.
X
XWWW: http://www.gnutelephony.org/
168b1f9fc128e33ff33e1e542898fbfa
echo x - commoncpp/pkg-plist
sed 's/^X//' >commoncpp/pkg-plist << '8393ede3675dfff8c4e40f4eb6b9ab94'
Xbin/ccgnu2-config
Xinclude/cc++/address.h
Xinclude/cc++/applog.h
Xinclude/cc++/buffer.h
Xinclude/cc++/cmdoptns.h
Xinclude/cc++/common.h
Xinclude/cc++/config.h
Xinclude/cc++/counter.h
Xinclude/cc++/digest.h
Xinclude/cc++/exception.h
Xinclude/cc++/export.h
Xinclude/cc++/file.h
Xinclude/cc++/functions.h
Xinclude/cc++/mime.h
Xinclude/cc++/misc.h
Xinclude/cc++/missing.h
Xinclude/cc++/network.h
Xinclude/cc++/numbers.h
Xinclude/cc++/objcount.h
Xinclude/cc++/object.h
Xinclude/cc++/objlink.h
Xinclude/cc++/objmap.h
Xinclude/cc++/objsync.h
Xinclude/cc++/oststring.h
Xinclude/cc++/persist.h
Xinclude/cc++/pointer.h
Xinclude/cc++/process.h
Xinclude/cc++/serial.h
Xinclude/cc++/slog.h
Xinclude/cc++/socket.h
Xinclude/cc++/socketport.h
Xinclude/cc++/strchar.h
Xinclude/cc++/string.h
Xinclude/cc++/template.h
Xinclude/cc++/thread.h
Xinclude/cc++/tokenizer.h
Xinclude/cc++/unix.h
Xinclude/cc++/url.h
Xinclude/cc++/xml.h
Xinclude/cc++/zstream.h
Xlib/libccext2-1.8.so
Xlib/libccext2-1.8.so.0
Xlib/libccext2.a
Xlib/libccext2.la
Xlib/libccext2.so
Xlib/libccgnu2-1.8.so
Xlib/libccgnu2-1.8.so.0
Xlib/libccgnu2.a
Xlib/libccgnu2.la
Xlib/libccgnu2.so
Xlibdata/pkgconfig/libccext2.pc
Xlibdata/pkgconfig/libccgnu2.pc
Xshare/aclocal/ost_check2.m4
X at dirrm include/cc++
8393ede3675dfff8c4e40f4eb6b9ab94
echo x - commoncpp/distinfo
sed 's/^X//' >commoncpp/distinfo << 'f7621f7e6b4baee16402b2bb73d26823'
XSHA256 (commoncpp2-1.8.1.tar.gz) = 53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e
XSIZE (commoncpp2-1.8.1.tar.gz) = 908678
f7621f7e6b4baee16402b2bb73d26823
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list