aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bcpp/files/patch-bcpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bcpp/files/patch-bcpp.cpp')
-rw-r--r--devel/bcpp/files/patch-bcpp.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/bcpp/files/patch-bcpp.cpp b/devel/bcpp/files/patch-bcpp.cpp
index dd7ea979df9..f8f9708bea6 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 );