mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Pet portlint: move BROKEN_* upward
- Update patch file
This commit is contained in:
parent
173a00f70e
commit
16be2daabd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448384
2 changed files with 6 additions and 6 deletions
|
@ -12,11 +12,11 @@ COMMENT= Data interchange format library
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
BROKEN_sparc64= fails to compile: no atomic ops available
|
||||||
|
|
||||||
TEST_DEPENDS= googlemock>=0:devel/googlemock \
|
TEST_DEPENDS= googlemock>=0:devel/googlemock \
|
||||||
googletest>=0:devel/googletest
|
googletest>=0:devel/googletest
|
||||||
|
|
||||||
BROKEN_sparc64= fails to compile: no atomic ops available
|
|
||||||
|
|
||||||
CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
|
CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
|
||||||
CONFIGURE_ENV= CXX_FOR_BUILD=c++
|
CONFIGURE_ENV= CXX_FOR_BUILD=c++
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
--- src/google/protobuf/stubs/atomicops.h.orig 2016-09-24 02:12:45 UTC
|
--- src/google/protobuf/stubs/atomicops.h.orig 2017-08-15 23:39:12 UTC
|
||||||
+++ src/google/protobuf/stubs/atomicops.h
|
+++ src/google/protobuf/stubs/atomicops.h
|
||||||
@@ -202,6 +202,8 @@ Atomic64 Release_Load(volatile const Ato
|
@@ -198,6 +198,8 @@ Atomic64 Release_Load(volatile const Ato
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#if defined(GOOGLE_PROTOBUF_ARCH_IA32) || defined(GOOGLE_PROTOBUF_ARCH_X64)
|
#if defined(GOOGLE_PROTOBUF_ARCH_IA32) || defined(GOOGLE_PROTOBUF_ARCH_X64)
|
||||||
#include <google/protobuf/stubs/atomicops_internals_x86_gcc.h>
|
#include <google/protobuf/stubs/atomicops_internals_x86_gcc.h>
|
||||||
+#elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__FreeBSD__)
|
+#elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__FreeBSD__)
|
||||||
+#include <google/protobuf/stubs/atomicops_internals_generic_gcc.h>
|
+#include <google/protobuf/stubs/atomicops_internals_generic_gcc.h>
|
||||||
#elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__linux__)
|
#elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__linux__)
|
||||||
#include <google/protobuf/stubs/atomicops_internals_arm_gcc.h>
|
#if (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4))
|
||||||
#elif defined(GOOGLE_PROTOBUF_ARCH_AARCH64)
|
#include <google/protobuf/stubs/atomicops_internals_generic_gcc.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue