Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 15:13:12 +0300 (MSK)
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32747: Update port: textproc/libxslt
Message-ID:  <200112121213.fBCCDCK20170@ftp.translate.ru>

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

>Number:         32747
>Category:       ports
>Synopsis:       Update port: textproc/libxslt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 04:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Lev Serebryakov <lev@serebryakov.spb.ru>
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	Ports collection from 12 Dec 2001

>Description:

	Update port: textproc/libxslt to version 1.0.9 (last vendor's version) + 
	patch for debugger code from linxslt mailing list. 

>How-To-Repeat:



>Fix:
diff -ruN libxslt.orig/Makefile libxslt/Makefile
--- libxslt.orig/Makefile	Thu Dec  6 15:10:26 2001
+++ libxslt/Makefile	Tue Dec 11 19:55:09 2001
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libxslt
-PORTVERSION=	1.0.8
-PORTREVISION=	1
+PORTVERSION=	1.0.9
 CATEGORIES=	textproc gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	stable/sources/libxslt
diff -ruN libxslt.orig/distinfo libxslt/distinfo
--- libxslt.orig/distinfo	Thu Dec  6 11:44:06 2001
+++ libxslt/distinfo	Tue Dec 11 19:56:36 2001
@@ -1 +1 @@
-MD5 (libxslt-1.0.8.tar.gz) = d4c31b2bea97904d3fe286545070438c
+MD5 (libxslt-1.0.9.tar.gz) = 72a80a772aaae3c61633025f90d5053f
diff -ruN libxslt.orig/files/patch-breakpoint::Makefile.in libxslt/files/patch-breakpoint::Makefile.in
--- libxslt.orig/files/patch-breakpoint::Makefile.in	Thu Dec  6 11:44:07 2001
+++ libxslt/files/patch-breakpoint::Makefile.in	Thu Jan  1 03:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/textproc/libxslt/files/patch-breakpoint::Makefile.in,v 1.1 2001/12/06 08:44:07 sobomax Exp $
-
---- breakpoint/Makefile.in	2001/12/06 08:31:12	1.1
-+++ breakpoint/Makefile.in	2001/12/06 08:31:48
-@@ -121,7 +121,7 @@
- 	dbgmain.c	
- 
- 
--libxsltbreakpoint_la_LIBADD = -lxml2 $(M_LIBS)
-+libxsltbreakpoint_la_LIBADD = $(LIBXML_LIBS) $(M_LIBS)
- libxsltbreakpoint_la_LDFLAGS = -version-info @LIBXSLT_VERSION_INFO@
- 
- man_MANS = #breakpoint.4
diff -ruN libxslt.orig/files/patch-libxslt::transform.c libxslt/files/patch-libxslt::transform.c
--- libxslt.orig/files/patch-libxslt::transform.c	Mon Dec  3 14:21:45 2001
+++ libxslt/files/patch-libxslt::transform.c	Thu Jan  1 03:00:00 1970
@@ -1,16 +0,0 @@
---- libxslt/transform.c.orig	Sat Nov 10 13:35:49 2001
-+++ libxslt/transform.c	Mon Dec  3 00:03:39 2001
-@@ -3474,12 +3474,10 @@
-             if (tmp == root) {
-                 ctxt->type = XSLT_OUTPUT_HTML;
-                 res->type = XML_HTML_DOCUMENT_NODE;
--                if (((doctypePublic != NULL) || (doctypeSystem != NULL)))
-+                if (((doctypePublic != NULL) || (doctypeSystem != NULL))) {
-                     res->intSubset = xmlCreateIntSubset(res, root->name,
-                                                         doctypePublic,
-                                                         doctypeSystem);
--		if (((doctypePublic != NULL) || (doctypeSystem != NULL))) {
--		    res = htmlNewDoc(doctypeSystem, doctypePublic);
- #ifdef XSLT_GENERATE_HTML_DOCTYPE
- 		} else if (version != NULL) {
-                     xsltGetHTMLIDs(version, &doctypePublic,
diff -ruN libxslt.orig/files/patch-libxslt::xsltutils.c libxslt/files/patch-libxslt::xsltutils.c
--- libxslt.orig/files/patch-libxslt::xsltutils.c	Thu Jan  1 03:00:00 1970
+++ libxslt/files/patch-libxslt::xsltutils.c	Wed Dec 12 15:09:19 2001
@@ -0,0 +1,17 @@
+--- libxslt/xsltutils.c.orig	Sat Dec  1 06:55:08 2001
++++ libxslt/xsltutils.c	Wed Dec 12 15:08:26 2001
+@@ -1291,11 +1291,13 @@
+ {
+     xsltDebuggerCallbacksPtr callbacks;
+ 
+-    if ((block == NULL) || (no != 1))
++    if ((block == NULL) || (no != XSLT_CALLBACK_NUMBER))
+ 	return(-1);
+ 
+     callbacks = (xsltDebuggerCallbacksPtr) block;
+     xsltDebuggerCurrentCallbacks.handler = callbacks->handler;
++    xsltDebuggerCurrentCallbacks.add  = callbacks->add;
++    xsltDebuggerCurrentCallbacks.drop  = callbacks->drop;
+     return(0);
+ }
+ 
diff -ruN libxslt.orig/pkg-plist libxslt/pkg-plist
--- libxslt.orig/pkg-plist	Tue Nov 13 14:08:59 2001
+++ libxslt/pkg-plist	Tue Dec 11 20:06:13 2001
@@ -1,7 +1,6 @@
 bin/xslt-config
 bin/xsltproc
 etc/xsltConf.sh
-include/breakpoint/breakpoint.h
 include/libexslt/exslt.h
 include/libexslt/exsltconfig.h
 include/libxslt/attributes.h
@@ -55,4 +54,4 @@
 @dirrm share/doc/libxslt
 @dirrm include/libxslt
 @dirrm include/libexslt
-@dirrm include/breakpoint
+
>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?200112121213.fBCCDCK20170>