From boris@brooknet.com.au  Mon Feb 21 00:46:54 2005
Return-Path: <boris@brooknet.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1B31B16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Feb 2005 00:46:54 +0000 (GMT)
Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4C21243D39
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Feb 2005 00:46:53 +0000 (GMT)
	(envelope-from boris@brooknet.com.au)
Received: from localhost (ppp28B6.dyn.pacific.net.au [61.8.40.182])
	by bloodwood.hunterlink.net.au (8.12.8/8.12.8) with ESMTP id j1L0koZF014359
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Feb 2005 11:46:50 +1100
Received: by localhost (Postfix, from userid 0)
	id F3F5B1720; Mon, 21 Feb 2005 11:47:56 +1100 (EST)
Message-Id: <20050221004756.F3F5B1720@localhost>
Date: Mon, 21 Feb 2005 11:47:56 +1100 (EST)
From: Sam Lawrance <boris@brooknet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] textproc/domc: update to 0.8.0 (chase devel/libmba)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         77816
>Category:       ports
>Synopsis:       [PATCH] textproc/domc: update to 0.8.0 (chase devel/libmba)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    barner
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 21 00:50:16 GMT 2005
>Closed-Date:    Tue Mar 08 16:36:06 GMT 2005
>Last-Modified:  Tue Mar 08 16:36:06 GMT 2005
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.3-STABLE FreeBSD 5.3-STABLE #3: Wed Feb  9 00:12:24 EST
>Description:
- Update to 0.8.0
- Remove files/patch-node.c

>How-To-Repeat:
>Fix:

--- domc-0.8.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	17 Aug 2004 11:30:03 -0000	1.12
+++ Makefile	21 Feb 2005 00:20:05 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	domc
-PORTVERSION=	0.6.0
+PORTVERSION=	0.8.0
 PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.ioplex.com/~miallen/domc/dl/
@@ -16,8 +16,11 @@
 COMMENT=	A light weight implementation of the DOM in ANSI C
 
 LIB_DEPENDS=	expat.5:${PORTSDIR}/textproc/expat2 \
-		mba:${PORTSDIR}/devel/libmba
+		mba.1:${PORTSDIR}/devel/libmba
 
+MAN3=		DOM_CharacterData.3m DOM_Document.3m DOM_Element.3m \
+		DOM_Implementation.3m DOM_NamedNodeMap.3m DOM_Node.3m \
+		DOM_NodeList.3m DOM_Text.3m
 SHLIB_MAJOR=	0
 
 USE_REINPLACE=	yes
Index: distinfo
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/distinfo,v
retrieving revision 1.5
diff -u -u -r1.5 distinfo
--- distinfo	29 Jan 2004 16:11:57 -0000	1.5
+++ distinfo	20 Feb 2005 15:12:41 -0000
@@ -1,2 +1,2 @@
-MD5 (domc-0.6.0.tar.gz) = e36cd468a58d6f272781c7d0f0c25cbe
-SIZE (domc-0.6.0.tar.gz) = 39758
+MD5 (domc-0.8.0.tar.gz) = fd797a30dd78d3fa9d8db92e44ce4d93
+SIZE (domc-0.8.0.tar.gz) = 122571
Index: files/patch-Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/files/patch-Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 patch-Makefile
--- files/patch-Makefile	24 Sep 2002 08:01:07 -0000	1.4
+++ files/patch-Makefile	20 Feb 2005 15:25:05 -0000
@@ -1,30 +1,39 @@
---- Makefile.orig	Sun Mar 31 08:56:45 2002
-+++ Makefile	Tue Sep 24 15:54:47 2002
-@@ -4,9 +4,9 @@
- version   = 0.6.0
- OBJS      = src/expatls.o src/events.o src/node.o src/dom.o
- LIBNAME   = domc
--SONAME    = lib$(LIBNAME).so.0.6.0
--SOVERSION = lib$(LIBNAME).so.0.6
--CFLAGS    = -Wall -DMSGNO $(RPM_OPT_FLAGS)
-+SONAME    = lib$(LIBNAME).so.${SHLIB_MAJOR}
-+SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR}
-+CFLAGS    += -Wall -DMSGNO $(RPM_OPT_FLAGS)
- 
- $(SONAME): $(OBJS)
- 	gcc $(CFLAGS) -shared $(OBJS) -lc -lmba -lexpat -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME)
-@@ -18,11 +18,10 @@
- 
- install: $(SONAME)
+--- Makefile.orig	Fri Sep 10 08:31:42 2004
++++ Makefile	Mon Feb 21 02:24:55 2005
+@@ -2,16 +2,16 @@
+ includedir = $(prefix)/include
+ libdir     = $(prefix)/lib
+ mandir     = $(prefix)/man
+-CC         = gcc
++CC         = cc
+ LIBNAME    = domc
+ MAJVERSION = 0.8
+ MINVERSION = 0.8.0
+ ARNAME     = lib$(LIBNAME).a
+-SONAME     = lib$(LIBNAME).so.$(MINVERSION)
+-SOVERSION  = lib$(LIBNAME).so.$(MAJVERSION)
++SONAME	   = lib$(LIBNAME).so.${SHLIB_MAJOR}
++SOVERSION  = lib$(LIBNAME).so.${SHLIB_MAJOR}
+ DISTRO     = $(LIBNAME)-$(MINVERSION)
+ RPM_OPT_FLAGS = -O2
+-CFLAGS     = -Wall -W -g -DMSGNO $(RPM_OPT_FLAGS) -I$(includedir) -L$(libdir)
++CFLAGS     += -Wall -W -g -DMSGNO $(RPM_OPT_FLAGS) -I$(includedir) -L$(libdir)
+ #CFLAGS     = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS) -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wtraditional -Wconversion -Waggregate-return -Wno-parentheses
+ OBJS       = src/expatls.o src/events.o src/node.o src/nodelist.o src/namednodemap.o src/dom.o src/timestamp.o src/wcwidth.o src/mbs.o
+ MAN        = DOM_CharacterData.3m.gz DOM_Document.3m.gz DOM_Element.3m.gz DOM_Implementation.3m.gz DOM_NamedNodeMap.3m.gz DOM_Node.3m.gz DOM_NodeList.3m.gz DOM_Text.3m.gz
+@@ -33,12 +33,10 @@
  	install -d $(libdir)
+ 	install -d $(includedir)
+ 	install -d $(mandir)/man3
+-	install -m 644 $(ARNAME) $(libdir)
 -	install -m 755 $(SONAME) $(libdir)
 -	cd $(libdir) && ln -sf $(SONAME) $(SOVERSION) && ln -sf $(SONAME) lib$(LIBNAME).so
+-	install -m 444 src/domc.h $(includedir)
 +	${BSD_INSTALL_DATA} $(SONAME) $(INSTDIR)/lib
 +	cd $(INSTDIR)/lib ; ln -sf $(SONAME) $(INSTDIR)/lib/lib$(LIBNAME).so
- 	install -d $(includedir)
--	install -m 444 src/domc.h $(includedir)
--	-/sbin/ldconfig $(libdir)
 +	${BSD_INSTALL_DATA} src/domc.h $(INSTDIR)/include
+ 	-install -m 444 docs/man/*.3m.gz $(mandir)/man3
+-	-/sbin/ldconfig $(libdir)
  
- example:
- 	$(MAKE) -C examples
+ zip:
+ 	cd .. && zip -lr $(DISTRO)/.$(DISTRO).zip $(DISTRO) -x $(DISTRO)/.* $(DISTRO)/docs/man/* $(DISTRO)/tests/utf8* $(DISTRO)/domc.lib $(DISTRO)/domc.dll $(DISTRO)/domc_s.lib
--- domc-0.8.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->barner 
Responsible-Changed-By: barner 
Responsible-Changed-When: Mon Mar 7 12:49:54 GMT 2005 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77816 
State-Changed-From-To: open->closed 
State-Changed-By: barner 
State-Changed-When: Tue Mar 8 16:34:34 GMT 2005 
State-Changed-Why:  
Committed (with modifications). Thanks! 

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