aboutsummaryrefslogtreecommitdiff
path: root/devel/cccc
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-07-01 01:48:48 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-07-01 01:48:48 +0000
commita1b5248632838ebc6bf373c37d55370725a6af8e (patch)
tree007983a2b513e213037567f44df13be60c6b1033 /devel/cccc
parentb3a42e25891b6c95a9771932d5b2d2d97684f65b (diff)
downloadports-a1b5248632838ebc6bf373c37d55370725a6af8e.tar.gz
ports-a1b5248632838ebc6bf373c37d55370725a6af8e.zip
Notes
Diffstat (limited to 'devel/cccc')
-rw-r--r--devel/cccc/Makefile3
-rw-r--r--devel/cccc/distinfo1
-rw-r--r--devel/cccc/files/patch-cccc__cccc_tbl.cc11
-rw-r--r--devel/cccc/files/patch-makefile4
4 files changed, 16 insertions, 3 deletions
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile
index 4d58f1449250..ba3d5f157986 100644
--- a/devel/cccc/Makefile
+++ b/devel/cccc/Makefile
@@ -24,6 +24,9 @@ MAKE_JOBS_UNSAFE= yes
PORTDOCS= readme.txt changes.txt
PLIST_FILES= bin/cccc
+post-patch:
+ @${REINPLACE_CMD} -e 's|=g++|=${CXX}|' ${WRKSRC}/*/posix*.mak
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cccc/cccc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/devel/cccc/distinfo b/devel/cccc/distinfo
index 71199c6314b8..96cb2150eef4 100644
--- a/devel/cccc/distinfo
+++ b/devel/cccc/distinfo
@@ -1,3 +1,2 @@
-MD5 (cccc-3.1.4.tar.gz) = 7bd3ad868913a0beab2fde931737f928
SHA256 (cccc-3.1.4.tar.gz) = 27b3eca9a83a66799332363a80cc4bcd6db9869eddbda1a59a25cdace3ff4dbf
SIZE (cccc-3.1.4.tar.gz) = 632007
diff --git a/devel/cccc/files/patch-cccc__cccc_tbl.cc b/devel/cccc/files/patch-cccc__cccc_tbl.cc
new file mode 100644
index 000000000000..3de16003a605
--- /dev/null
+++ b/devel/cccc/files/patch-cccc__cccc_tbl.cc
@@ -0,0 +1,11 @@
+--- ./cccc/cccc_tbl.cc.orig 2011-07-01 03:42:55.000000000 +0200
++++ ./cccc/cccc_tbl.cc 2011-07-01 03:43:07.000000000 +0200
+@@ -96,7 +96,7 @@
+ typename map_t::iterator value_iterator=map_t::find(old_item_ptr->key());
+ if(value_iterator!=map_t::end())
+ {
+- erase(value_iterator);
++ map_t::erase(value_iterator);
+ retval=true;
+ }
+ return retval;
diff --git a/devel/cccc/files/patch-makefile b/devel/cccc/files/patch-makefile
index f7132150fbde..1b339190112a 100644
--- a/devel/cccc/files/patch-makefile
+++ b/devel/cccc/files/patch-makefile
@@ -1,5 +1,5 @@
---- makefile.orig Wed Apr 25 18:30:29 2001
-+++ makefile Mon Sep 4 21:17:17 2006
+--- ./makefile.orig 2001-04-25 18:30:29.000000000 +0200
++++ ./makefile 2011-07-01 03:41:44.000000000 +0200
@@ -8,17 +8,17 @@
.PHONY : pccts cccc test install