Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 09:20:38 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308218 - in head/devel/libbobcat: . files
Message-ID:  <201212040920.qB49KcVY030172@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Tue Dec  4 09:20:38 2012
New Revision: 308218
URL: http://svnweb.freebsd.org/changeset/ports/308218

Log:
  - Update to 3.11.01
  - Trim Makefile header
  - Use USE_XORG to depend on libX11
  
  Feature safe:	yes

Added:
  head/devel/libbobcat/files/patch-glob-glob1.cc   (contents, props changed)
  head/devel/libbobcat/files/patch-tempstream-tempstream1.cc   (contents, props changed)
Deleted:
  head/devel/libbobcat/files/patch-inetaddress-inetaddress
Modified:
  head/devel/libbobcat/Makefile
  head/devel/libbobcat/distinfo
  head/devel/libbobcat/pkg-plist

Modified: head/devel/libbobcat/Makefile
==============================================================================
--- head/devel/libbobcat/Makefile	Tue Dec  4 09:13:30 2012	(r308217)
+++ head/devel/libbobcat/Makefile	Tue Dec  4 09:20:38 2012	(r308218)
@@ -1,12 +1,7 @@
-# New ports collection makefile for:	libbobcat
-# Date created:		March 4, 2009
-# Whom:	      		Gabor Pali <pgj@FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	libbobcat
-PORTVERSION=	2.18.00
+PORTVERSION=	3.11.01
 CATEGORIES=	devel
 MASTER_SITES=	SF/bobcat/bobcat/${PORTVERSION}
 DISTNAME=	bobcat_${PORTVERSION}
@@ -18,17 +13,17 @@ COMMENT=	Brokken's Own Base Classes And 
 LICENSE=	GPLv3
 
 BUILD_DEPENDS=	icmake:${PORTSDIR}/devel/icmake \
-		${LOCALBASE}/include/X11/Xlib.h:${PORTSDIR}/x11/libX11 \
 		yodl>=3.0:${PORTSDIR}/textproc/yodl
 
+USE_XORG=	x11
+
 MANCOMPRESSED=	yes
 MAN3=		a2x.3bobcat align.3bobcat arg.3bobcat argconfig.3bobcat \
 		bigint.3bobcat binarysearch.3bobcat \
 		binops.3bobcat cgi.3bobcat cidr.3bobcat clientsocket.3bobcat \
 		cmdfinder.3bobcat cmdfinderbase.3bobcat configfile.3bobcat \
 		datetime.3bobcat decryptbuf.3bobcat digestbuf.3bobcat \
-		encryptbuf.3bobcat errno.3bobcat fnwrap.3bobcat \
-		foreach.3bobcat fork.3bobcat fswap.3bobcat \
+		encryptbuf.3bobcat errno.3bobcat fork.3bobcat fswap.3bobcat \
 		gethostent.3bobcat glob.3bobcat hash.3bobcat hmacbuf.3bobcat \
 		hostent.3bobcat hostname.3bobcat ifdstream.3bobcat \
 		ifdstreambuf.3bobcat indent.3bobcat inetaddress.3bobcat \
@@ -41,15 +36,15 @@ MAN3=		a2x.3bobcat align.3bobcat arg.3bo
 		ofdstreambuf.3bobcat ofilterstreambuf.3bobcat \
 		ofoldstream.3bobcat ofoldstreambuf.3bobcat \
 		ohexstreambuf.3bobcat onekey.3bobcat pattern.3bobcat \
-		pipe.3bobcat process.3bobcat randbuffer.3bobcat \
-		readlinebuf.3bobcat readlinehistory.3bobcat \
-		readlinestream.3bobcat redirector.3bobcat refcount.3bobcat \
+		pipe.3bobcat process.3bobcat ptriter.3bobcat randbuffer.3bobcat \
+		ranger.3bobcat readlinebuf.3bobcat readlinehistory.3bobcat \
+		readlinestream.3bobcat redirector.3bobcat \
 		repeat.3bobcat selector.3bobcat serversocket.3bobcat \
-		socketbase.3bobcat stat.3bobcat string.3bobcat \
+		signal.3bobcat socketbase.3bobcat stat.3bobcat string.3bobcat \
 		stringline.3bobcat syslogbuf.3bobcat syslogstream.3bobcat \
 		table.3bobcat tablebuf.3bobcat tablelines.3bobcat \
-		tablesupport.3bobcat typetrait.3bobcat user.3bobcat \
-		x2a.3bobcat xpointer.3bobcat
+		tablesupport.3bobcat tempstream.3bobcat typetrait.3bobcat \
+		user.3bobcat x2a.3bobcat xpointer.3bobcat
 MAN7=		bobcat.7
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
@@ -63,8 +58,8 @@ WRKSRC=		${WRKDIR}/bobcat-${PORTVERSION}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|"/usr"|"${PREFIX}"| ; \
-		s|"/share/doc/libbobcat2"|"/share/doc/${PORTNAME}-${PORTVERSION}"| ; \
-		s|"/share/doc/libbobcat2-dev"|"/share/doc/${PORTNAME}-${PORTVERSION}/dev"| ; \
+		s|"/share/doc/libbobcat3"|"/share/doc/${PORTNAME}-${PORTVERSION}"| ; \
+		s|"/share/doc/libbobcat3-dev"|"/share/doc/${PORTNAME}-${PORTVERSION}/dev"| ; \
 		s|"/share/man"|"/man"| ; \
 		s|"-d"|"-Pp"| ; \
 		s|#define MANHTML|| ; \

Modified: head/devel/libbobcat/distinfo
==============================================================================
--- head/devel/libbobcat/distinfo	Tue Dec  4 09:13:30 2012	(r308217)
+++ head/devel/libbobcat/distinfo	Tue Dec  4 09:20:38 2012	(r308218)
@@ -1,2 +1,2 @@
-SHA256 (bobcat_2.18.00.orig.tar.gz) = 0b1a8b9119d358ee962819bf58b9be977062ecffb9f3d95afb3e219565fc7d54
-SIZE (bobcat_2.18.00.orig.tar.gz) = 874220
+SHA256 (bobcat_3.11.01.orig.tar.gz) = aba495ff6837761d0a6c8a602a07fcad9782ff627117a0a0f1d0d1d0e5889947
+SIZE (bobcat_3.11.01.orig.tar.gz) = 875674

Added: head/devel/libbobcat/files/patch-glob-glob1.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbobcat/files/patch-glob-glob1.cc	Tue Dec  4 09:20:38 2012	(r308218)
@@ -0,0 +1,12 @@
+--- glob/glob1.cc.orig	2012-10-27 10:28:31.000000000 +0200
++++ glob/glob1.cc	2012-12-02 01:08:36.000000000 +0100
+@@ -1,6 +1,6 @@
+ #include "glob.ih"
+ 
+ Glob::Glob(string const &pattern, int flags, Dots dots)
+-:
+-    Glob(ANY, pattern, flags, dots)
+-{}
++{
++    Glob(ANY, pattern, flags, dots);
++}

Added: head/devel/libbobcat/files/patch-tempstream-tempstream1.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbobcat/files/patch-tempstream-tempstream1.cc	Tue Dec  4 09:20:38 2012	(r308218)
@@ -0,0 +1,14 @@
+--- tempstream/tempstream1.cc.orig	2012-05-07 16:35:29.000000000 +0200
++++ tempstream/tempstream1.cc	2012-12-02 00:49:06.000000000 +0100
+@@ -7,7 +7,11 @@
+     strcpy(buf + base.length(), "XXXXXX");
+     base.copy(buf, string::npos);
+ 
++#ifdef __FreeBSD__
++    int fd = mkstemp(buf);
++#else
+     int fd = mkostemp(buf, O_RDWR);
++#endif
+ 
+     if (fd == -1)
+         throw Errno("TempStream");

Modified: head/devel/libbobcat/pkg-plist
==============================================================================
--- head/devel/libbobcat/pkg-plist	Tue Dec  4 09:13:30 2012	(r308217)
+++ head/devel/libbobcat/pkg-plist	Tue Dec  4 09:20:38 2012	(r308218)
@@ -5,6 +5,7 @@ include/bobcat/arg
 include/bobcat/argconfig
 include/bobcat/autoptr
 include/bobcat/bigint
+include/bobcat/binarysearch
 include/bobcat/binops
 include/bobcat/cgi
 include/bobcat/cidr
@@ -18,15 +19,12 @@ include/bobcat/digestbuf
 include/bobcat/encryptbuf
 include/bobcat/errno
 include/bobcat/fnwrap
-include/bobcat/fnwrap1
-include/bobcat/fnwrap1c
-include/bobcat/fnwrap2
-include/bobcat/fnwrap2c
 include/bobcat/foreach
 include/bobcat/fork
 include/bobcat/fswap
 include/bobcat/gethostent
 include/bobcat/glob
+include/bobcat/gs
 include/bobcat/hash
 include/bobcat/hmacbuf
 include/bobcat/hostent
@@ -62,7 +60,9 @@ include/bobcat/onekey
 include/bobcat/pattern
 include/bobcat/pipe
 include/bobcat/process
+include/bobcat/ptriter
 include/bobcat/randbuffer
+include/bobcat/ranger
 include/bobcat/readlinebuf
 include/bobcat/readlinehistory
 include/bobcat/readlinestream
@@ -71,6 +71,7 @@ include/bobcat/refcount
 include/bobcat/repeat
 include/bobcat/selector
 include/bobcat/serversocket
+include/bobcat/signal
 include/bobcat/socketbase
 include/bobcat/stat
 include/bobcat/string
@@ -82,6 +83,7 @@ include/bobcat/tablebase
 include/bobcat/tablebuf
 include/bobcat/tablelines
 include/bobcat/tablesupport
+include/bobcat/tempstream
 include/bobcat/typetrait
 include/bobcat/user
 include/bobcat/x2a
@@ -89,5 +91,5 @@ include/bobcat/xpointer
 lib/libbobcat.a
 lib/libbobcat.so
 lib/libbobcat.so.%%PORTVERSION%%
-lib/libbobcat.so.2
+lib/libbobcat.so.3
 @dirrm include/bobcat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212040920.qB49KcVY030172>