aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kcd
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 20:55:41 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 20:55:41 +0800
commit292343d33eb5250c8befcd1ca120929f98c48f42 (patch)
tree04577cdccd550a7934264f2195d2bdfbfec0104a /misc/kcd
parentf4789a27c3f4f772dda290b0ab45083c5d0c7bed (diff)
downloadfreebsd-ports-gnome-292343d33eb5250c8befcd1ca120929f98c48f42.tar.gz
freebsd-ports-gnome-292343d33eb5250c8befcd1ca120929f98c48f42.tar.zst
freebsd-ports-gnome-292343d33eb5250c8befcd1ca120929f98c48f42.zip
upgrade to 6.4.1
PR: 45441 Submitted by: Ports Fury
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