aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libcwd
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-11-10 16:29:22 +0800
committerijliao <ijliao@FreeBSD.org>2003-11-10 16:29:22 +0800
commitc96dcdc3dfd639ed2966c13b2e831ad81dd6d1d9 (patch)
tree4225844d3bc1f8a8d270193e6a143caa53800414 /devel/libcwd
parent37a20cd9b86626abc5e1fc2406830f6d98f3d06e (diff)
downloadfreebsd-ports-gnome-c96dcdc3dfd639ed2966c13b2e831ad81dd6d1d9.tar.gz
freebsd-ports-gnome-c96dcdc3dfd639ed2966c13b2e831ad81dd6d1d9.tar.zst
freebsd-ports-gnome-c96dcdc3dfd639ed2966c13b2e831ad81dd6d1d9.zip
add libcwd 0.99.31
The C++ Debugging Support Library
Diffstat (limited to 'devel/libcwd')
-rw-r--r--devel/libcwd/Makefile23
-rw-r--r--devel/libcwd/distinfo1
-rw-r--r--devel/libcwd/files/patch-debugmalloc.cc11
-rw-r--r--devel/libcwd/files/patch-ltmain.sh15
-rw-r--r--devel/libcwd/pkg-descr7
-rw-r--r--devel/libcwd/pkg-plist66
6 files changed, 123 insertions, 0 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile
new file mode 100644
index 000000000000..80444f4a2179
--- /dev/null
+++ b/devel/libcwd/Makefile
@@ -0,0 +1,23 @@
+# ex:ts=8
+# Ports collection makefile for: libcwd
+# Date created: Nov 10, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= libcwd
+PORTVERSION= 0.99.31
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= The C++ Debugging Support Library
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-threading
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/devel/libcwd/distinfo b/devel/libcwd/distinfo
new file mode 100644
index 000000000000..2257da6115fc
--- /dev/null
+++ b/devel/libcwd/distinfo
@@ -0,0 +1 @@
+MD5 (libcwd-0.99.31.tar.gz) = 2effcb1dfd9e772facaa52fb338fd4aa
diff --git a/devel/libcwd/files/patch-debugmalloc.cc b/devel/libcwd/files/patch-debugmalloc.cc
new file mode 100644
index 000000000000..c9756323b8d7
--- /dev/null
+++ b/devel/libcwd/files/patch-debugmalloc.cc
@@ -0,0 +1,11 @@
+--- debugmalloc.cc.orig Mon Nov 10 15:42:25 2003
++++ debugmalloc.cc Mon Nov 10 15:50:49 2003
+@@ -1346,7 +1346,7 @@
+ struct tm tbuf;
+ tbuf_ptr = localtime_r(&alloc->a_time.tv_sec, &tbuf);
+ #else
+- tbuf_ptr = localtime(&alloc->a_time.tv_sec);
++ tbuf_ptr = localtime((const time_t *)&alloc->a_time.tv_sec);
+ #endif
+ _private_::set_invisible_off(LIBCWD_TSD);
+ --LIBCWD_DO_TSD_MEMBER_OFF(debug_object);
diff --git a/devel/libcwd/files/patch-ltmain.sh b/devel/libcwd/files/patch-ltmain.sh
new file mode 100644
index 000000000000..8504e351627c
--- /dev/null
+++ b/devel/libcwd/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Mon Nov 10 15:51:52 2003
++++ ltmain.sh Mon Nov 10 15:52:02 2003
+@@ -4330,10 +4330,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/devel/libcwd/pkg-descr b/devel/libcwd/pkg-descr
new file mode 100644
index 000000000000..c5eb13f97c0e
--- /dev/null
+++ b/devel/libcwd/pkg-descr
@@ -0,0 +1,7 @@
+Libcwd is a thread-safe, full-featured debugging support library for C++
+developers. It includes ostream-based debug output with custom debug channels
+and devices, powerful memory allocation debugging support, as well as run-time
+support for printing source file:line number information and demangled type
+names.
+
+WWW: http://libcwd.sourceforge.net/
diff --git a/devel/libcwd/pkg-plist b/devel/libcwd/pkg-plist
new file mode 100644
index 000000000000..3bf6f3d98e5c
--- /dev/null
+++ b/devel/libcwd/pkg-plist
@@ -0,0 +1,66 @@
+include/libcwd/bfd.h
+include/libcwd/buf2str.h
+include/libcwd/char2str.h
+include/libcwd/class_alloc.h
+include/libcwd/class_always_channel.h
+include/libcwd/class_always_channel.inl
+include/libcwd/class_channel.h
+include/libcwd/class_channel.inl
+include/libcwd/class_channel_set.h
+include/libcwd/class_channel_set.inl
+include/libcwd/class_continued_channel.h
+include/libcwd/class_continued_channel.inl
+include/libcwd/class_debug.h
+include/libcwd/class_debug.inl
+include/libcwd/class_debug_string.h
+include/libcwd/class_debug_string.inl
+include/libcwd/class_fatal_channel.h
+include/libcwd/class_fatal_channel.inl
+include/libcwd/class_location.h
+include/libcwd/class_location.inl
+include/libcwd/class_marker.h
+include/libcwd/class_object_file.h
+include/libcwd/class_ooam_filter.h
+include/libcwd/config.h
+include/libcwd/control_flag.h
+include/libcwd/core_dump.h
+include/libcwd/cwprint.h
+include/libcwd/debug.h
+include/libcwd/debugmalloc.h
+include/libcwd/demangle.h
+include/libcwd/enum_memblk_types.h
+include/libcwd/lockable_auto_ptr.h
+include/libcwd/macro_AllocTag.h
+include/libcwd/macro_ForAllDebugChannels.h
+include/libcwd/macro_ForAllDebugObjects.h
+include/libcwd/macro_Libcwd_macros.h
+include/libcwd/max_label_len.h
+include/libcwd/pc_mangled_function_name.h
+include/libcwd/private_allocator.h
+include/libcwd/private_allocator.inl
+include/libcwd/private_assert.h
+include/libcwd/private_bufferstream.h
+include/libcwd/private_debug_stack.h
+include/libcwd/private_environ.h
+include/libcwd/private_internal_string.h
+include/libcwd/private_internal_stringbuf.h
+include/libcwd/private_internal_stringstream.h
+include/libcwd/private_internal_vector.h
+include/libcwd/private_lock_interface.h
+include/libcwd/private_mutex.h
+include/libcwd/private_mutex.inl
+include/libcwd/private_mutex_instances.h
+include/libcwd/private_set_alloc_checking.h
+include/libcwd/private_string.h
+include/libcwd/private_struct_TSD.h
+include/libcwd/private_thread.h
+include/libcwd/private_threading.h
+include/libcwd/set_ostream.inl
+include/libcwd/smart_ptr.h
+include/libcwd/strerrno.h
+include/libcwd/struct_debug_tsd.h
+include/libcwd/sys.h
+include/libcwd/type_info.h
+@dirrm include/libcwd
+lib/libcwd.so
+lib/libcwd.so.99