aboutsummaryrefslogtreecommitdiff
path: root/misc/kcd
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-20 12:55:41 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-20 12:55:41 +0000
commit19977704ff2106ed1bc62f38e5cb6bbfb581273f (patch)
tree182dd2d25038a5fee8327c5cbb05bd0306f77998 /misc/kcd
parent5c82a290ebf1cf0031f53325e8d5e90a88085d25 (diff)
downloadports-19977704ff2106ed1bc62f38e5cb6bbfb581273f.tar.gz
ports-19977704ff2106ed1bc62f38e5cb6bbfb581273f.zip
upgrade to 6.4.1
PR: 45441 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=70583
Diffstat (limited to 'misc/kcd')
-rw-r--r--misc/kcd/Makefile5
-rw-r--r--misc/kcd/distinfo2
-rw-r--r--misc/kcd/files/patch-cxxlib.cc18
-rw-r--r--misc/kcd/files/patch-cxxlib.h17
4 files changed, 38 insertions, 4 deletions
diff --git a/misc/kcd/Makefile b/misc/kcd/Makefile
index dec354cbd049..615f2acf1fb7 100644
--- a/misc/kcd/Makefile
+++ b/misc/kcd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kcd
-PORTVERSION= 6.0.0
+PORTVERSION= 6.4.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,13 +15,12 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
+USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
-CFLAGS+= -fpermissive
-
MAN1= kcd.1
do-install:
diff --git a/misc/kcd/distinfo b/misc/kcd/distinfo
index 4093203fee58..1de86f77dab7 100644
--- a/misc/kcd/distinfo
+++ b/misc/kcd/distinfo
@@ -1 +1 @@
-MD5 (kcd-6.0.0.tar.gz) = 39fa41ef3a5b1c9560365a4b754d9ac6
+MD5 (kcd-6.4.1.tar.gz) = d36bc66015d813d696c5425cf440955e
diff --git a/misc/kcd/files/patch-cxxlib.cc b/misc/kcd/files/patch-cxxlib.cc
new file mode 100644
index 000000000000..3388c062954a
--- /dev/null
+++ b/misc/kcd/files/patch-cxxlib.cc
@@ -0,0 +1,18 @@
+--- cxxlib.cc.orig Sun Nov 3 23:49:03 2002
++++ cxxlib.cc Wed Nov 6 09:42:38 2002
+@@ -48,6 +48,7 @@
+ abort();
+ }
+
++#ifndef __FreeBSD__
+ void *operator new (size_t size) CXX__NEW_THROW
+ {
+ #ifdef LARGE_MEMORY_THRES
+@@ -101,6 +102,7 @@
+ }
+
+ #endif /* CXX__HAVE_ARRAY_NEW */
++#endif
+
+ #ifndef CXX__NEW_THROW_BAD_ALLOC
+ void kcd_new_handler()
diff --git a/misc/kcd/files/patch-cxxlib.h b/misc/kcd/files/patch-cxxlib.h
new file mode 100644
index 000000000000..66512291d73b
--- /dev/null
+++ b/misc/kcd/files/patch-cxxlib.h
@@ -0,0 +1,17 @@
+--- cxxlib.h.orig Sun Nov 3 23:49:03 2002
++++ cxxlib.h Wed Nov 6 09:41:36 2002
+@@ -33,12 +33,14 @@
+ // new/delete operators
+ //
+
++#ifndef __FreeBSD__
+ void *operator new (size_t s) CXX__NEW_THROW;
+ void operator delete (void *p) CXX__DELETE_THROW;
+ #ifdef CXX__HAVE_ARRAY_NEW
+ void *operator new[] (size_t s) CXX__NEW_THROW;
+ void operator delete[] (void *p) CXX__DELETE_THROW;
+ #endif /* CXX__HAVE_ARRAY_NEW */
++#endif
+
+ //
+ // string I/O stream