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