From root@ns.webtt.biz  Thu Jun 12 17:21:49 2003
Return-Path: <root@ns.webtt.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B74B737B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Jun 2003 17:21:49 -0700 (PDT)
Received: from ns.webtt.biz (ns.webtt.biz [64.239.29.225])
	by mx1.FreeBSD.org (Postfix) with SMTP id 033FA43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Jun 2003 17:21:47 -0700 (PDT)
	(envelope-from root@ns.webtt.biz)
Received: (qmail 61932 invoked by uid 0); 13 Jun 2003 00:24:07 -0000
Message-Id: <20030613002407.61931.qmail@ns.webtt.biz>
Date: 13 Jun 2003 00:24:07 -0000
From: Rui Lopes <rui@ruilopes.com>
Reply-To: Rui Lopes <rui@ruilopes.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jos@catnook.com
Subject: [PATCH] for updating devel/global to 4.5.3 and other corrections
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53263
>Category:       ports
>Synopsis:       [PATCH] for updating devel/global to 4.5.3 and other corrections
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 17:30:09 PDT 2003
>Closed-Date:    Sun Jun 22 08:58:43 PDT 2003
>Last-Modified:  Sun Jun 22 08:58:43 PDT 2003
>Originator:     Rui Lopes
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD disty 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Jun 6 19:30:44 WEST 2003 root@disty:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
- updated to global 4.5.3
- added a patch to fix a header inclusion problem in strbuf.h
- updated WWW link
- removed the anoying configure warning:
    configure: WARNING: you should use --build, --host, --target
- moved the @unexec install-info thing in pkg-plist
	
>How-To-Repeat:
	
>Fix:

	

--- global-4.5.2.patch begins here ---
# updated to global 4.5.3
# added a patch to fix a header inclusion problem in strbuf.h
# updated WWW link
# removed the anoying configure warning:
#   configure: WARNING: you should use --build, --host, --target
# moved the @unexec install-info thing in pkg-plist
# -- Rui Lopes <rui@ruilopes.com>
diff -ruN global.orig/Makefile global/Makefile
--- global.orig/Makefile	Thu Jun 12 23:37:03 2003
+++ global/Makefile	Thu Jun 12 23:54:17 2003
@@ -6,15 +6,17 @@
 #
 
 PORTNAME=	global
-PORTVERSION=	4.5.2
+PORTVERSION=	4.5.3
 CATEGORIES=	devel
-MASTER_SITES=	http://www.tamacom.com/global/
+MASTER_SITES=	${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR=	${PORTNAME} 
 
 MAINTAINER=	jos@catnook.com
 COMMENT=	A source code tag system
 
 GNU_CONFIGURE=	yes
 USE_PERL5=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 MAN1=		gctags.1 global.1 gozilla.1 gtags.1 htags.1
 
diff -ruN global.orig/distinfo global/distinfo
--- global.orig/distinfo	Thu Jun 12 23:37:03 2003
+++ global/distinfo	Thu Jun 12 23:48:04 2003
@@ -1 +1 @@
-MD5 (global-4.5.2.tar.gz) = f2f61d5c7e2d1cf2855e5a2fb35fd0af
+MD5 (global-4.5.3.tar.gz) = e591095c42fc42c6af8a1a3a5797a5a1
diff -ruN global.orig/files/patch-strbuf.h global/files/patch-strbuf.h
--- global.orig/files/patch-strbuf.h	Thu Jan  1 01:00:00 1970
+++ global/files/patch-strbuf.h	Fri Jun 13 01:01:01 2003
@@ -0,0 +1,11 @@
+--- libutil/strbuf.h.orig	Fri Jun 13 01:00:25 2003
++++ libutil/strbuf.h	Fri Jun 13 01:00:33 2003
+@@ -24,7 +24,7 @@
+ 
+ #include <stdio.h>
+ #ifdef HAVE_STRING_H
+-#include <string.h>
++//#include <string.h>
+ #else
+ #include <strings.h>
+ #endif
diff -ruN global.orig/pkg-descr global/pkg-descr
--- global.orig/pkg-descr	Thu Jun 12 23:37:03 2003
+++ global/pkg-descr	Thu Jun 12 23:43:05 2003
@@ -1,7 +1,7 @@
 GLOBAL is a source code tag system that works the same way across diverse
-environments.  Supported languages are C/Yacc and Java.
+environments.  Supported languages are C, C++, Yacc and Java.
 You can locate a specified function in the source files and move there easily.
 It is useful for hacking a large project containing many subdirectories,
 many '#ifdef' and many main() functions, like MH, X or BSD kernel.
 
-WWW: http://www.tamacom.com/global/
+WWW: http://www.gnu.org/software/global/
diff -ruN global.orig/pkg-plist global/pkg-plist
--- global.orig/pkg-plist	Thu Jun 12 23:37:03 2003
+++ global/pkg-plist	Fri Jun 13 00:32:47 2003
@@ -3,12 +3,12 @@
 bin/gozilla
 bin/gtags
 bin/htags
+%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
 %%PORTDOCS%%info/global.info
 %%PORTDOCS%%info/global.info-1
 %%PORTDOCS%%info/global.info-2
 %%PORTDOCS%%info/global.info-3
 %%PORTDOCS%%@exec install-info %D/info/global.info %D/info/dir
-%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
 %%PORTDOCS%%share/doc/global/AUTHORS
 %%PORTDOCS%%share/doc/global/COPYING
 %%PORTDOCS%%share/doc/global/ChangeLog
--- global-4.5.2.patch ends here ---


>Release-Note:
>Audit-Trail:

From: Rui Lopes <rui@ruilopes.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: rui@ruilopes.com
Subject: Re: ports/53263: [PATCH] for updating devel/global to 4.5.3 and
	other corrections
Date: 18 Jun 2003 22:26:40 +0100

 --=-vQanr8z20XAyAmlz1Ivl
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 apply this patch instead. thx.
 
 --=-vQanr8z20XAyAmlz1Ivl
 Content-Disposition: attachment; filename=global-4.5.2.patch
 Content-Type: text/plain; name=global-4.5.2.patch; charset=
 Content-Transfer-Encoding: 7bit
 
 # updated to global 4.5.3
 # added a patch to fix some miss #define of functions that are available
 # on FreeBSD (I notified global developers about this, and they changed
 # their source tree, so this will not be needed in future versions)
 # updated WWW link
 # removed the anoying configure warning:
 #   configure: WARNING: you should use --build, --host, --target
 # moved the @unexec install-info thing of pkg-plist
 # -- Rui Lopes <rui@ruilopes.com>
 diff -ruN global.orig/Makefile global/Makefile
 --- global.orig/Makefile	Thu Jun 12 23:37:03 2003
 +++ global/Makefile	Thu Jun 12 23:54:17 2003
 @@ -6,15 +6,17 @@
  #
  
  PORTNAME=	global
 -PORTVERSION=	4.5.2
 +PORTVERSION=	4.5.3
  CATEGORIES=	devel
 -MASTER_SITES=	http://www.tamacom.com/global/
 +MASTER_SITES=	${MASTER_SITE_GNU}
 +MASTER_SITE_SUBDIR=	${PORTNAME} 
  
  MAINTAINER=	jos@catnook.com
  COMMENT=	A source code tag system
  
  GNU_CONFIGURE=	yes
  USE_PERL5=	yes
 +CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  
  MAN1=		gctags.1 global.1 gozilla.1 gtags.1 htags.1
  
 diff -ruN global.orig/distinfo global/distinfo
 --- global.orig/distinfo	Thu Jun 12 23:37:03 2003
 +++ global/distinfo	Thu Jun 12 23:48:04 2003
 @@ -1 +1 @@
 -MD5 (global-4.5.2.tar.gz) = f2f61d5c7e2d1cf2855e5a2fb35fd0af
 +MD5 (global-4.5.3.tar.gz) = e591095c42fc42c6af8a1a3a5797a5a1
 diff -ruN global.orig/files/patch-compat.h global/files/patch-compat.h
 --- global.orig/files/patch-compat.h	Thu Jan  1 01:00:00 1970
 +++ global/files/patch-compat.h	Wed Jun 18 22:05:18 2003
 @@ -0,0 +1,11 @@
 +--- libdb/compat.h.orig	Thu Jun  5 04:36:52 2003
 ++++ libdb/compat.h	Wed Jun 18 22:02:55 2003
 +@@ -91,7 +91,7 @@
 + #define	bcopy(a, b, n)		memmove(b, a, n)
 + #endif
 + 
 +-#if defined(BSD) || defined(BSD4_3)
 ++#if 0
 + #define	strchr(a, b)		index(a, b)
 + #define	strrchr(a, b)		rindex(a, b)
 + #define	memcmp(a, b, n)		bcmp(a, b, n)
 diff -ruN global.orig/pkg-descr global/pkg-descr
 --- global.orig/pkg-descr	Thu Jun 12 23:37:03 2003
 +++ global/pkg-descr	Thu Jun 12 23:43:05 2003
 @@ -1,7 +1,7 @@
  GLOBAL is a source code tag system that works the same way across diverse
 -environments.  Supported languages are C/Yacc and Java.
 +environments.  Supported languages are C, C++, Yacc and Java.
  You can locate a specified function in the source files and move there easily.
  It is useful for hacking a large project containing many subdirectories,
  many '#ifdef' and many main() functions, like MH, X or BSD kernel.
  
 -WWW: http://www.tamacom.com/global/
 +WWW: http://www.gnu.org/software/global/
 diff -ruN global.orig/pkg-plist global/pkg-plist
 --- global.orig/pkg-plist	Thu Jun 12 23:37:03 2003
 +++ global/pkg-plist	Fri Jun 13 00:32:47 2003
 @@ -3,12 +3,12 @@
  bin/gozilla
  bin/gtags
  bin/htags
 +%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
  %%PORTDOCS%%info/global.info
  %%PORTDOCS%%info/global.info-1
  %%PORTDOCS%%info/global.info-2
  %%PORTDOCS%%info/global.info-3
  %%PORTDOCS%%@exec install-info %D/info/global.info %D/info/dir
 -%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
  %%PORTDOCS%%share/doc/global/AUTHORS
  %%PORTDOCS%%share/doc/global/COPYING
  %%PORTDOCS%%share/doc/global/ChangeLog
 
 --=-vQanr8z20XAyAmlz1Ivl--
 

From: Jos Backus <jos@catnook.com>
To: freebsd-gnats-submit@FreeBSD.org, rui@ruilopes.com
Cc:  
Subject: Re: ports/53263: [PATCH] for updating devel/global to 4.5.3 and other
 corrections
Date: Sat, 21 Jun 2003 19:30:49 -0700

 This patch looks good, please commit.
 
 Also, since I no longer use global on a daily basis and Rui has offered 
 to take over maintainership, please make him the new MAINTAINER. Thanks.
 
 Jos
 
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Sun Jun 22 08:58:23 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53263 
>Unformatted:
