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

(-)ossp-uuid/Makefile (-3 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	uuid
8
PORTNAME=	uuid
9
PORTVERSION=	1.3.1
9
PORTVERSION=	1.3.2
10
CATEGORIES=	misc devel
10
CATEGORIES=	misc devel
11
MASTER_SITES=	${MASTER_SITE_OSSP}
11
MASTER_SITES=	${MASTER_SITE_OSSP}
12
MASTER_SITE_SUBDIR=	lib/${PORTNAME}
12
MASTER_SITE_SUBDIR=	lib/${PORTNAME}
Lines 36-43 Link Here
36
PLIST_SUB+=		WITH_PERL='@comment '
36
PLIST_SUB+=		WITH_PERL='@comment '
37
.endif
37
.endif
38
38
39
test:
39
test: build
40
	cd ${WRKSRC}; ${MAKE} check
40
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
41
41
42
.include <bsd.port.pre.mk>
42
.include <bsd.port.pre.mk>
43
43
(-)ossp-uuid/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (uuid-1.3.1.tar.gz) = 004c12ee8e1a1c390573edae6f30392b
1
MD5 (uuid-1.3.2.tar.gz) = df520ef922e944468345a4011c14a769
2
SHA256 (uuid-1.3.1.tar.gz) = 34b9d69feed9aa42441387800cc4a430becf1474671b1d31e6a02444a50f49e2
2
SHA256 (uuid-1.3.2.tar.gz) = 9db27e0392e5685ef6487bf153dcb906deb4ff202d3d9c9d9735690b2dd4b991
3
SIZE (uuid-1.3.1.tar.gz) = 378496
3
SIZE (uuid-1.3.2.tar.gz) = 442679
(-)ossp-uuid/files/patch-uuid_str.c (+32 lines)
Line 0 Link Here
1
--- uuid_str.c.orig	Tue Mar 29 21:39:51 2005
2
+++ uuid_str.c	Thu Dec  8 18:46:13 2005
3
@@ -690,8 +690,10 @@
4
 {
5
     char *rv;
6
     int n;
7
+    va_list ap_tmp;
8
 
9
-    n = str_vsnprintf(NULL, 0, fmt, ap);
10
+    va_copy(ap_tmp, ap);
11
+    n = str_vsnprintf(NULL, 0, fmt, ap_tmp);
12
     if ((rv = (char *)malloc(n+1)) == NULL)
13
         return NULL;
14
     str_vsnprintf(rv, n+1, fmt, ap);
15
@@ -720,6 +722,7 @@
16
 {
17
     int rv;
18
     size_t n;
19
+    va_list ap_tmp;
20
 
21
     if (str == NULL)
22
         return -1;
23
@@ -729,7 +732,8 @@
24
     }
25
     else {
26
         n = strlen(*str);
27
-        rv = str_vsnprintf(NULL, 0, fmt, ap);
28
+        va_copy(ap_tmp, ap);
29
+        rv = str_vsnprintf(NULL, 0, fmt, ap_tmp);
30
         if ((*str = (char *)realloc(*str, n+rv+1)) == NULL)
31
             return -1;
32
         str_vsnprintf((*str)+n, rv+1, fmt, ap);

Return to bug 90109