View | Details | Raw Unified | Return to bug 197298 | Differences between
and this patch

Collapse All | Expand All

(-)devel/deforaos-libsystem/Makefile (-4 / +13 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libsystem
4
PORTNAME=	libsystem
5
PORTVERSION=	0.1.6
5
PORTVERSION=	0.2.0
6
PORTREVISION=	2
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	http://www.defora.org/os/download/download/3527/
7
MASTER_SITES=	http://www.defora.org/os/download/download/4330/
8
PKGNAMEPREFIX=	deforaos-
9
DISTNAME=	libSystem-${PORTVERSION}
9
DISTNAME=	libSystem-${PORTVERSION}
10
PKGNAMEPREFIX=	deforaos-
11
10
12
MAINTAINER=	olivier@cochard.me
11
MAINTAINER=	olivier@cochard.me
13
COMMENT=	DeforaOS core system library
12
COMMENT=	DeforaOS core system library
Lines 24-30 Link Here
24
post-patch:
23
post-patch:
25
	${REINPLACE_CMD} 's|/lib/|/libdata/|g' \
24
	${REINPLACE_CMD} 's|/lib/|/libdata/|g' \
26
		${WRKSRC}/data/pkgconfig.sh
25
		${WRKSRC}/data/pkgconfig.sh
26
	${REINPLACE_CMD} 's|CFLAGS=|CFLAGS+=|' \
27
		${WRKSRC}/src/Makefile	
27
	${REINPLACE_CMD} 's|CPPFLAGS=|CPPFLAGS+=|' \
28
	${REINPLACE_CMD} 's|CPPFLAGS=|CPPFLAGS+=|' \
28
		${WRKSRC}/src/Makefile
29
		${WRKSRC}/src/Makefile
30
	${REINPLACE_CMD} 's|data doc include|data include|' \
31
		${WRKSRC}/Makefile
32
	${REINPLACE_CMD} 's|_fail "python.sh"|#_fail "python.sh"|' \
33
		${WRKSRC}/tests/tests.sh
29
34
35
post-install:
36
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/configctl \
37
		${STAGEDIR}${PREFIX}/lib/libSystem.so.0.0
38
30
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)devel/deforaos-libsystem/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libSystem-0.1.6.tar.gz) = 6eb4ffa278072c8e1e0aeb5cb27a204af6c35a4d63387d495113d7ca8a8ae69f
1
SHA256 (libSystem-0.2.0.tar.gz) = d6af67eed269e1b5ed0b11a5de86fb21838607dfdbb717c58828af82511af991
2
SIZE (libSystem-0.1.6.tar.gz) = 44092
2
SIZE (libSystem-0.2.0.tar.gz) = 60538
(-)devel/deforaos-libsystem/files/patch-src_error.c (-45 lines)
Lines 1-45 Link Here
1
--- src/error.c.orig	2014-11-21 17:41:49 UTC
2
+++ src/error.c
3
@@ -46,14 +46,22 @@ static char const * _error_do(int * code
4
 /* error_get */
5
 char const * error_get(void)
6
 {
7
-	return _error_do(NULL, NULL, NULL);
8
+	va_list unused;
9
+
10
+	bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */
11
+
12
+	return _error_do(NULL, NULL, unused);
13
 }
14
 
15
 
16
 /* error_get_code */
17
 char const * error_get_code(int * code)
18
 {
19
-	return _error_do(code, NULL, NULL);
20
+	va_list unused;
21
+
22
+	bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */
23
+
24
+	return _error_do(code, NULL, unused);
25
 }
26
 
27
 
28
@@ -98,12 +106,16 @@ int error_print(char const * program)
29
 {
30
 	int code = 0;
31
 
32
+	va_list unused;
33
+
34
+	bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */
35
+
36
 	if(program != NULL)
37
 	{
38
 		fputs(program, stderr);
39
 		fputs(": ", stderr);
40
 	}
41
-	fputs(_error_do(&code, NULL, NULL), stderr);
42
+	fputs(_error_do(&code, NULL, unused), stderr);
43
 	fputc('\n', stderr);
44
 	return code;
45
 }
(-)devel/deforaos-libsystem/pkg-plist (-4 / +6 lines)
Lines 1-8 Link Here
1
bin/AppBroker
1
bin/configctl
2
include/System/array.h
3
include/System/license.h
4
include/System/mutator.h
5
include/System/variable.h
2
include/System.h
6
include/System.h
3
include/System/appclient.h
4
include/System/appserver.h
5
include/System/array.h
6
include/System/buffer.h
7
include/System/buffer.h
7
include/System/config.h
8
include/System/config.h
8
include/System/error.h
9
include/System/error.h
Lines 19-21 Link Here
19
lib/libSystem.so.0
20
lib/libSystem.so.0
20
lib/libSystem.so.0.0
21
lib/libSystem.so.0.0
21
libdata/pkgconfig/libSystem.pc
22
libdata/pkgconfig/libSystem.pc
23
share/doc/libSystem/README.md

Return to bug 197298