View | Details | Raw Unified | Return to bug 65754
Collapse All | Expand All

(-)tla/Makefile (-1 / +2 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	tla
8
PORTNAME=	tla
9
PORTVERSION=	1.2
9
PORTVERSION=	1.2
10
PORTREVISION=   1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	${MASTER_SITE_GNU} \
12
MASTER_SITES=	${MASTER_SITE_GNU} \
12
		http://regexps.srparish.net/src/${PORTNAME}/ \
13
		http://regexps.srparish.net/src/${PORTNAME}/ \
Lines 26-32 Link Here
26
ORIGWRKSRC=	${WRKDIR}/${DISTNAME}/src
27
ORIGWRKSRC=	${WRKDIR}/${DISTNAME}/src
27
WRKSRC=		${ORIGWRKSRC}/=build
28
WRKSRC=		${ORIGWRKSRC}/=build
28
29
29
pre-configure:
30
pre-patch:
30
	${MKDIR} ${WRKSRC}
31
	${MKDIR} ${WRKSRC}
31
32
32
do-configure:
33
do-configure:
(-)tla/files/patch-libneon-ne_207.c (+17 lines)
Line 0 Link Here
1
--- ../tla/libneon.orig/ne_207.c	Sat Dec  6 20:35:28 2003
2
+++ ../tla/libneon/ne_207.c	Sat Apr 17 20:25:46 2004
3
@@ -320,12 +320,12 @@
4
 	if (ne_get_status(req)->code == 207) {
5
 	    if (!ne_xml_valid(p)) { 
6
 		/* The parse was invalid */
7
-		ne_set_error(sess, ne_xml_get_error(p));
8
+		ne_set_error(sess, "%s", ne_xml_get_error(p));
9
		ret = NE_ERROR;
10
 	    } else if (ctx.is_error) {
11
 		/* If we've actually got any error information
12
 		 * from the 207, then set that as the error */
13
-		ne_set_error(sess, ctx.buf->data);
14
+               ne_set_error(sess, "%s", ctx.buf->data);
15
 		ret = NE_ERROR;
16
 	    }
17
 	} else if (ne_get_status(req)->klass != 2) {
(-)tla/files/patch-libneon-ne_auth.c (+11 lines)
Line 0 Link Here
1
--- ../tla/libneon.orig/ne_auth.c	Sat Dec  6 20:35:28 2003
2
+++ ../tla/libneon/ne_auth.c	Sat Apr 17 20:11:55 2004
3
@@ -950,7 +950,7 @@
4
     if (areq->auth_info_hdr != NULL && 
5
 	verify_response(areq, sess, areq->auth_info_hdr)) {
6
 	NE_DEBUG(NE_DBG_HTTPAUTH, "Response authentication invalid.\n");
7
-	ne_set_error(sess->sess, _(sess->spec->fail_msg));
8
+	ne_set_error(sess->sess, "%s", _(sess->spec->fail_msg));
9
 	ret = NE_ERROR;
10
     } else if (status->code == sess->spec->status_code && 
11
 	       areq->auth_hdr != NULL) {
(-)tla/files/patch-libneon-ne_locks.c (+20 lines)
Line 0 Link Here
1
--- ../tla/libneon.orig/ne_locks.c	Sat Dec  6 20:35:28 2003
2
+++ ../tla/libneon/ne_locks.c	Sat Apr 17 20:11:55 2004
3
@@ -734,7 +734,7 @@
4
 	}
5
 	else if (parse_failed) {
6
 	    ret = NE_ERROR;
7
-	    ne_set_error(sess, ne_xml_get_error(parser));
8
+	    ne_set_error(sess, "%s", ne_xml_get_error(parser));
9
 	}
10
 	else if (ne_get_status(req)->code == 207) {
11
 	    ret = NE_ERROR;
12
@@ -802,7 +802,7 @@
13
     if (ret == NE_OK && ne_get_status(req)->klass == 2) {
14
 	if (parse_failed) {
15
 	    ret = NE_ERROR;
16
-	    ne_set_error(sess, ne_xml_get_error(parser));
17
+	    ne_set_error(sess, "%s", ne_xml_get_error(parser));
18
 	}
19
 	else if (ne_get_status(req)->code == 207) {
20
 	    ret = NE_ERROR;
(-)tla/files/patch-libneon-ne_props.c (+11 lines)
Line 0 Link Here
1
--- ../tla/libneon.orig/ne_props.c	Sat Dec  6 20:35:28 2003
2
+++ ../tla/libneon/ne_props.c	Sat Apr 17 20:11:55 2004
3
@@ -142,7 +142,7 @@
4
     if (ret == NE_OK && ne_get_status(req)->klass != 2) {
5
 	ret = NE_ERROR;
6
     } else if (!ne_xml_valid(handler->parser)) {
7
-	ne_set_error(handler->sess, ne_xml_get_error(handler->parser));
8
+	ne_set_error(handler->sess, "%s", ne_xml_get_error(handler->parser));
9
 	ret = NE_ERROR;
10
     }
11
 
(-)tla/files/patch-libneon-ne_xml.c (+11 lines)
Line 0 Link Here
1
--- ../tla/libneon.orig/ne_xml.c	Sat Dec  6 20:35:29 2003
2
+++ ../tla/libneon/ne_xml.c	Sat Apr 17 20:11:55 2004
3
@@ -538,7 +538,7 @@
4
 
5
 void ne_xml_set_error(ne_xml_parser *p, const char *msg)
6
 {
7
-    ne_snprintf(p->error, ERR_SIZE, msg);
8
+    ne_snprintf(p->error, ERR_SIZE, "%s", msg);
9
 }
10
 
11
 #ifdef HAVE_LIBXML

Return to bug 65754