aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bcpp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-09 02:45:10 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-09 02:45:10 +0800
commit0e4778a47471f6aa8776ff1b36232d44a1f1c1c4 (patch)
treed9f263913f0d5e0addee64273af67b0b24fa0311 /devel/bcpp
parentae9e4b726111111e5d284e9cef12b42fcedd0412 (diff)
downloadfreebsd-ports-gnome-0e4778a47471f6aa8776ff1b36232d44a1f1c1c4.tar.gz
freebsd-ports-gnome-0e4778a47471f6aa8776ff1b36232d44a1f1c1c4.tar.zst
freebsd-ports-gnome-0e4778a47471f6aa8776ff1b36232d44a1f1c1c4.zip
upgrade to 20020518
PR: 39001 Submitted by: maintainer
Diffstat (limited to 'devel/bcpp')
-rw-r--r--devel/bcpp/Makefile3
-rw-r--r--devel/bcpp/distinfo2
-rw-r--r--devel/bcpp/files/patch-bcpp.cpp16
-rw-r--r--devel/bcpp/pkg-comment2
4 files changed, 12 insertions, 11 deletions
diff --git a/devel/bcpp/Makefile b/devel/bcpp/Makefile
index ffa39ce9f612..defa4cbf4b4d 100644
--- a/devel/bcpp/Makefile
+++ b/devel/bcpp/Makefile
@@ -7,9 +7,10 @@
PORTNAME= bcpp
PORTVERSION= 1.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/bcpp/
-DISTNAME= bcpp-990810
+DISTNAME= bcpp-20020518
EXTRACT_SUFX= .tgz
MAINTAINER= buchanon@msu.edu
diff --git a/devel/bcpp/distinfo b/devel/bcpp/distinfo
index 3abc8dc90762..1918868c7165 100644
--- a/devel/bcpp/distinfo
+++ b/devel/bcpp/distinfo
@@ -1 +1 @@
-MD5 (bcpp-990810.tgz) = d7493e22040a66e693342f9422d34086
+MD5 (bcpp-20020518.tgz) = bad74c11c3460a9f984c650f1320623d
diff --git a/devel/bcpp/files/patch-bcpp.cpp b/devel/bcpp/files/patch-bcpp.cpp
index dd7ea979df9d..f8f9708bea60 100644
--- a/devel/bcpp/files/patch-bcpp.cpp
+++ b/devel/bcpp/files/patch-bcpp.cpp
@@ -1,6 +1,6 @@
---- bcpp.cpp.orig Tue Aug 10 20:54:52 1999
-+++ bcpp.cpp Tue Dec 18 20:22:18 2001
-@@ -1431,6 +1431,7 @@
+--- bcpp.cpp.orig Sat May 18 13:53:27 2002
++++ bcpp.cpp Fri Jun 7 14:39:33 2002
+@@ -1455,6 +1455,7 @@
}
@@ -8,7 +8,7 @@
// purge an Indent-stack
static void freeIndentStack(StackList* pImode)
{
-@@ -1451,6 +1452,7 @@
+@@ -1475,6 +1476,7 @@
dst -> push(temp);
}
}
@@ -16,19 +16,19 @@
// no extra indent immediately after any brace
void resetSingleIndent(StackList* pIMode)
-@@ -2721,6 +2723,7 @@
+@@ -2755,6 +2757,7 @@
char* pSPath = getenv ("PATH");
char* pEPath = NULL;
char* pNameMem = NULL;
-+ char* tmpCfgName = new char[strlen("%%PREFIX%%/etc")+strlen(pCfgName)+1];
++ char* tmpCfgName = new char[strlen("%%PREFIX%%/etc") + strlen(pCfgName)+1];
char sepChar = NULLC;
const char* pathSepChar;
char backUp;
-@@ -2729,6 +2732,13 @@
+@@ -2763,6 +2766,13 @@
// test to see if file is in current directory first !
if ((pCfgFile = fopen(pCfgName, "r")) != NULL)
return;
-+
++
+ // look to see if it's in %%PREFIX%%/etc
+ tmpCfgName = strcat( tmpCfgName, "%%PREFIX%%/etc/" );
+ tmpCfgName = strcat( tmpCfgName, pCfgName );
diff --git a/devel/bcpp/pkg-comment b/devel/bcpp/pkg-comment
index 2e01ad2b334a..cbb9eef20cb9 100644
--- a/devel/bcpp/pkg-comment
+++ b/devel/bcpp/pkg-comment
@@ -1 +1 @@
-A utility similar to indent C++ code
+A utility similar to indent for C++ code