diff options
author | rodrigo <rodrigo@FreeBSD.org> | 2014-12-09 05:46:40 +0800 |
---|---|---|
committer | rodrigo <rodrigo@FreeBSD.org> | 2014-12-09 05:46:40 +0800 |
commit | e60eb76baf2f232458d5bbe92c96e6564b7e7d89 (patch) | |
tree | 840a308d701675f312ec954c8355881b206c4e4b /devel | |
parent | 6d5ff7e69d6a38645d42d39d80cf47e6618210d7 (diff) | |
download | freebsd-ports-gnome-e60eb76baf2f232458d5bbe92c96e6564b7e7d89.tar.gz freebsd-ports-gnome-e60eb76baf2f232458d5bbe92c96e6564b7e7d89.tar.zst freebsd-ports-gnome-e60eb76baf2f232458d5bbe92c96e6564b7e7d89.zip |
Fix crash when built with clang by forcing gcc
Moves license to makes portlint happy
Bump portrevision
PR: ports/189975
Submitted by: rodrigo
MFH: 2014Q4
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cssc/Makefile | 3 | ||||
-rw-r--r-- | devel/cssc/distinfo | 4 | ||||
-rw-r--r-- | devel/cssc/files/patch-bsd__sccs.1 | 26 | ||||
-rw-r--r-- | devel/cssc/files/patch-docs__cssc.texi | 11 | ||||
-rw-r--r-- | devel/cssc/files/patch-unit-tests__googletest__include__gtest__internal__gtest-port.h | 52 |
5 files changed, 4 insertions, 92 deletions
diff --git a/devel/cssc/Makefile b/devel/cssc/Makefile index 7decece58d83..134feba7c210 100644 --- a/devel/cssc/Makefile +++ b/devel/cssc/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cssc -PORTVERSION= 1.3.0 +PORTVERSION= 1.4.0 CATEGORIES= devel MASTER_SITES= GNU DISTNAME= CSSC-${PORTVERSION} @@ -14,6 +14,7 @@ LICENSE= GPLv3 GNU_CONFIGURE= yes INFO= cssc +USE_GCC= any OPTIONS_DEFINE= BINARY OPTIONS_DEFAULT= BINARY diff --git a/devel/cssc/distinfo b/devel/cssc/distinfo index 8c759d6ccf53..f2f6c2e98574 100644 --- a/devel/cssc/distinfo +++ b/devel/cssc/distinfo @@ -1,2 +1,2 @@ -SHA256 (CSSC-1.3.0.tar.gz) = 95053aab534c111648ea5b096037673b541a0c2960574d8addf70201a5337c2e -SIZE (CSSC-1.3.0.tar.gz) = 1608481 +SHA256 (CSSC-1.4.0.tar.gz) = 30146f96c26c2a4c6b742bc8a498993ec6ea9f289becaaf566866488600b2994 +SIZE (CSSC-1.4.0.tar.gz) = 2012122 diff --git a/devel/cssc/files/patch-bsd__sccs.1 b/devel/cssc/files/patch-bsd__sccs.1 deleted file mode 100644 index 018cb2d92b71..000000000000 --- a/devel/cssc/files/patch-bsd__sccs.1 +++ /dev/null @@ -1,26 +0,0 @@ ---- ./bsd/sccs.1.orig 2013-10-10 00:25:57.000000000 -0400 -+++ ./bsd/sccs.1 2013-10-10 00:26:42.000000000 -0400 -@@ -523,7 +523,6 @@ - Copyright \(co 1983, 1990, 1993 - .br - The Regents of the University of California. All rights reserved. -- - .Pp - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions -@@ -548,7 +547,6 @@ - Neither the name of the University nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. -- - .El - .Pp - THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -@@ -562,7 +560,6 @@ - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. -- - .Sh HISTORY - The - .Nm sccs diff --git a/devel/cssc/files/patch-docs__cssc.texi b/devel/cssc/files/patch-docs__cssc.texi deleted file mode 100644 index 6637e5f8962d..000000000000 --- a/devel/cssc/files/patch-docs__cssc.texi +++ /dev/null @@ -1,11 +0,0 @@ ---- ./docs/cssc.texi.orig 2010-05-16 13:52:32.000000000 -0400 -+++ ./docs/cssc.texi 2013-10-10 00:25:34.000000000 -0400 -@@ -5,7 +5,7 @@ - - @dircategory Miscellaneous - @direntry --* cssc: (cssc). The GNU work-alike replacement for SCCS. -+* cssc: (cssc). The GNU work-alike replacement for SCCS. - @end direntry - - @copying diff --git a/devel/cssc/files/patch-unit-tests__googletest__include__gtest__internal__gtest-port.h b/devel/cssc/files/patch-unit-tests__googletest__include__gtest__internal__gtest-port.h deleted file mode 100644 index 4aa5b684eb79..000000000000 --- a/devel/cssc/files/patch-unit-tests__googletest__include__gtest__internal__gtest-port.h +++ /dev/null @@ -1,52 +0,0 @@ ---- unit-tests/googletest/include/gtest/internal/gtest-port.h.orig 2010-05-15 22:30:14.000000000 +0000 -+++ unit-tests/googletest/include/gtest/internal/gtest-port.h -@@ -80,6 +80,7 @@ - // the given platform; otherwise undefined): - // GTEST_OS_AIX - IBM AIX - // GTEST_OS_CYGWIN - Cygwin -+// GTEST_OS_FREEBSD - FreeBSD - // GTEST_OS_LINUX - Linux - // GTEST_OS_MAC - Mac OS X - // GTEST_OS_SOLARIS - Sun Solaris -@@ -219,10 +220,13 @@ - #define GTEST_OS_SOLARIS 1 - #elif defined(_AIX) - #define GTEST_OS_AIX 1 -+#elif defined(__FreeBSD__) || defined(__DragonFly__) -+#define GTEST_OS_FREEBSD 1 -+#define GTEST_USE_OWN_TR1_TUPLE 1 - #endif // __CYGWIN__ - - #if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \ -- GTEST_OS_SOLARIS || GTEST_OS_AIX -+ GTEST_OS_SOLARIS || GTEST_OS_AIX || GTEST_OS_FREEBSD - - // On some platforms, <regex.h> needs someone to define size_t, and - // won't compile otherwise. We can #include it here as we already -@@ -254,7 +258,8 @@ - #define GTEST_USES_SIMPLE_RE 1 - - #endif // GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || -- // GTEST_OS_SYMBIAN || GTEST_OS_SOLARIS || GTEST_OS_AIX -+ // GTEST_OS_SYMBIAN || GTEST_OS_SOLARIS || GTEST_OS_AIX || -+ // GTEST_OS_FREEBSD - - #ifndef GTEST_HAS_EXCEPTIONS - // The user didn't tell us whether exceptions are enabled, so we need -@@ -376,7 +381,7 @@ - // - // To disable threading support in Google Test, add -DGTEST_HAS_PTHREAD=0 - // to your compiler flags. --#define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC) -+#define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_FREEBSD) - #endif // GTEST_HAS_PTHREAD - - // Determines whether Google Test can use tr1/tuple. You can define -@@ -483,6 +488,7 @@ - // abort() in a VC 7.1 application compiled as GUI in debug config - // pops up a dialog window that cannot be suppressed programmatically. - #if (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_CYGWIN || GTEST_OS_SOLARIS || \ -+ GTEST_OS_FREEBSD || \ - (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ - GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX) - #define GTEST_HAS_DEATH_TEST 1 |