Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2002 14:50:13 -0400 (EDT)
From:      Mike Buchanon <buchanon@mlss15.cl.msu.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39001: PORTUPGRADE: upgrade to bcpp port
Message-ID:  <200206071850.g57IoDa2067628@mlss15.cl.msu.edu>

next in thread | raw e-mail | index | archive | help

>Number:         39001
>Category:       ports
>Synopsis:       PORTUPGRADE: upgrade to bcpp port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 12:00:12 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mike Buchanon
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD manetheren.cl.msu.edu 4.5-STABLE FreeBSD 4.5-STABLE #18: Wed Apr 10 15:41:43 EDT 2002 root@manetheren.cl.msu.edu:/usr/obj/usr/src/sys/MANETHEREN i386


	
>Description:
	bcpp port upgrade
>How-To-Repeat:
	patch and make
>Fix:

	patch the old port with the following difference:


diff -urN /usr/ports/devel/bcpp/Makefile work/Makefile
--- /usr/ports/devel/bcpp/Makefile	Wed Dec 19 00:10:39 2001
+++ work/Makefile	Fri Jun  7 14:46:29 2002
@@ -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 -urN /usr/ports/devel/bcpp/distinfo work/distinfo
--- /usr/ports/devel/bcpp/distinfo	Sat Nov 17 22:33:44 2001
+++ work/distinfo	Fri Jun  7 14:18:38 2002
@@ -1 +1 @@
-MD5 (bcpp-990810.tgz) = d7493e22040a66e693342f9422d34086
+MD5 (bcpp-20020518.tgz) = bad74c11c3460a9f984c650f1320623d
diff -urN /usr/ports/devel/bcpp/files/patch-bcpp.cpp work/files/patch-bcpp.cpp
--- /usr/ports/devel/bcpp/files/patch-bcpp.cpp	Wed Dec 19 00:10:39 2001
+++ work/files/patch-bcpp.cpp	Fri Jun  7 14:40:09 2002
@@ -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 -urN /usr/ports/devel/bcpp/pkg-comment work/pkg-comment
--- /usr/ports/devel/bcpp/pkg-comment	Wed Jan  9 00:10:39 2002
+++ work/pkg-comment	Fri Jun  7 14:41:56 2002
@@ -1 +1 @@
-A utility similar to indent C++ code
+A utility similar to indent for C++ code


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206071850.g57IoDa2067628>