From owner-svn-ports-head@freebsd.org Sun Jan 13 15:25:54 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15483149EC54; Sun, 13 Jan 2019 15:25:54 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 879B48125B; Sun, 13 Jan 2019 15:25:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 56AFA1D4F5; Sun, 13 Jan 2019 15:25:53 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0DFPr8o050626; Sun, 13 Jan 2019 15:25:53 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0DFPqUw050616; Sun, 13 Jan 2019 15:25:52 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201901131525.x0DFPqUw050616@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 13 Jan 2019 15:25:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490145 - in head/devel/aegis: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel/aegis: . files X-SVN-Commit-Revision: 490145 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 879B48125B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.953,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2019 15:25:54 -0000 Author: swills Date: Sun Jan 13 15:25:51 2019 New Revision: 490145 URL: https://svnweb.freebsd.org/changeset/ports/490145 Log: devel/aegis: fix build with clang PR: 234881 Submitted by: aryeh.friedman@gmail.com (maintainer) Added: head/devel/aegis/files/patch-common_ac_shared__ptr.h (contents, props changed) head/devel/aegis/files/patch-common_ac_string.h (contents, props changed) head/devel/aegis/files/patch-etc_configure.ac (contents, props changed) head/devel/aegis/files/patch-libaegis_introspector_time.h (contents, props changed) head/devel/aegis/files/patch-libaegis_introspector_vector.h (contents, props changed) Modified: head/devel/aegis/Makefile (contents, props changed) Modified: head/devel/aegis/Makefile ============================================================================== --- head/devel/aegis/Makefile Sun Jan 13 15:23:01 2019 (r490144) +++ head/devel/aegis/Makefile Sun Jan 13 15:25:51 2019 (r490145) @@ -4,7 +4,7 @@ PORTNAME= aegis PORTVERSION= 4.25 DISTVERSIONSUFFIX= .D510 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel MASTER_SITES= SF @@ -18,7 +18,6 @@ RUN_DEPENDS= tkdiff:textproc/tkdiff USES= gettext ghostscript groff perl5 tk USE_GNOME= libxml2 -USE_GCC= any GNU_CONFIGURE= yes CPPFLAGS+= "-I${LOCALBASE}/include" CONFIGURE_ARGS= --with-nlsdir="${PREFIX}/share/locale" Added: head/devel/aegis/files/patch-common_ac_shared__ptr.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/aegis/files/patch-common_ac_shared__ptr.h Sun Jan 13 15:25:51 2019 (r490145) @@ -0,0 +1,26 @@ +--- common/ac/shared_ptr.h.orig 2012-12-04 02:03:33 UTC ++++ common/ac/shared_ptr.h +@@ -21,23 +21,6 @@ + #define COMMON_AC_SHARED_PTR_H + + #include +- +-#ifdef HAVE_TR1_MEMORY +- +-#include +- +-#define aegis_shared_ptr std::tr1::shared_ptr +- +-#elif HAVE_BOOST_SHARED_PTR_HPP +- +-#include +- +-#define aegis_shared_ptr boost::shared_ptr +- +-#else +- + #include + +-#endif +- + #endif // COMMON_AC_SHARED_PTR_H Added: head/devel/aegis/files/patch-common_ac_string.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/aegis/files/patch-common_ac_string.h Sun Jan 13 15:25:51 2019 (r490145) @@ -0,0 +1,15 @@ +--- common/ac/string.h.orig 2012-12-04 02:03:33 UTC ++++ common/ac/string.h +@@ -128,10 +128,12 @@ size_t strlcat(char *dst, const char *sr + char *strendcpy(char *dst, const char *src, const char *end); + #endif + ++/* + #undef strcat + #define strcat strcat_is_unsafe__use_strendcat_instead@ + #undef strcpy + #define strcpy strcpy_is_unsafe__use_strendcpy_instead@ ++*/ + + #ifndef HAVE_MEMMEM + void *memmem(const void *, size_t, const void *, size_t); Added: head/devel/aegis/files/patch-etc_configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/aegis/files/patch-etc_configure.ac Sun Jan 13 15:25:51 2019 (r490145) @@ -0,0 +1,37 @@ +--- etc/configure.ac.orig 2012-12-04 02:03:33 UTC ++++ etc/configure.ac +@@ -649,8 +649,8 @@ AC_CHECK_SIZEOF(int) + AC_CHECK_SIZEOF(long) + AC_CHECK_SIZEOF(long long) + +-AC_COMPUTE_INT(ac_cv_long_bit, [sizeof(long) * CHAR_BIT], [#include ], +- [ac_cv_long_bit="sizeof(long) * CHAR_BIT"]) ++AC_COMPUTE_INT(ac_cv_long_bit, [LONG_BIT], [#include ], ++ [ac_cv_long_bit="LONG_BIT"]) + AC_DEFINE_UNQUOTED(LONG_BIT, [$ac_cv_long_bit], + [Define this symbol to be the number of bits in a long. + This is analogous to the standard CHAR_BIT define.]) +@@ -849,15 +849,15 @@ dnl! + AC_MSG_CHECKING([for tm_zone in struct tm]) + AC_TRY_COMPILE([ + #include +-#ifdef TIME_WITH_SYS_TIME +-#include +-#include +-#else +-#ifdef HAVE_SYS_TIME_H ++dnl! #ifdef TIME_WITH_SYS_TIME + #include +-#else +-#include +-#endif ++dnl! #include ++dnl! #else ++dnl! #ifdef HAVE_SYS_TIME_H ++dnl! #include ++dnl! #else ++dnl! #include ++dnl! #endif + #endif], [struct tm *tm; + printf("%s\n", tm->tm_zone);], + AC_DEFINE(HAVE_tm_zone,1, Added: head/devel/aegis/files/patch-libaegis_introspector_time.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/aegis/files/patch-libaegis_introspector_time.h Sun Jan 13 15:25:51 2019 (r490145) @@ -0,0 +1,10 @@ +--- libaegis/introspector/time.h.orig 2012-12-04 02:03:33 UTC ++++ libaegis/introspector/time.h +@@ -19,6 +19,7 @@ + #ifndef LIBAEGIS_INTROSPECTOR_TIME_H + #define LIBAEGIS_INTROSPECTOR_TIME_H + ++#include + #include + #include + Added: head/devel/aegis/files/patch-libaegis_introspector_vector.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/aegis/files/patch-libaegis_introspector_vector.h Sun Jan 13 15:25:51 2019 (r490145) @@ -0,0 +1,10 @@ +--- libaegis/introspector/vector.h.orig 2012-12-04 02:03:33 UTC ++++ libaegis/introspector/vector.h +@@ -19,6 +19,7 @@ + #ifndef LIBAEGIS_INTROSPECTOR_VECTOR_H + #define LIBAEGIS_INTROSPECTOR_VECTOR_H + ++#include + #include + + /**