diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-12-23 13:30:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-12-25 15:30:21 +0000 |
commit | ce24278c13b276a238952cfce604dc1c53a52aed (patch) | |
tree | 7fe70664fb88d2656c5103ffd558c85dc8f256fb | |
parent | 6dc9862142b1db1a9dd710a46756a5e9a096b894 (diff) | |
download | aports-ce24278c13b276a238952cfce604dc1c53a52aed.tar.gz aports-ce24278c13b276a238952cfce604dc1c53a52aed.tar.bz2 aports-ce24278c13b276a238952cfce604dc1c53a52aed.tar.xz |
community/flatbuffers: disable on armv7 (and dependents)
disable Werror so it builds
disable on armv7 due to bus error
-rw-r--r-- | community/flatbuffers/APKBUILD | 8 | ||||
-rw-r--r-- | community/flatbuffers/disable-Werror.patch | 13 | ||||
-rw-r--r-- | community/kodi/APKBUILD | 2 | ||||
-rw-r--r-- | community/sink/APKBUILD | 4 |
4 files changed, 20 insertions, 7 deletions
diff --git a/community/flatbuffers/APKBUILD b/community/flatbuffers/APKBUILD index 3210d50c41..6a0c781777 100644 --- a/community/flatbuffers/APKBUILD +++ b/community/flatbuffers/APKBUILD @@ -5,11 +5,12 @@ pkgver=1.12.0 pkgrel=0 pkgdesc="Memory Efficient Serialization Library" url="https://google.github.io/flatbuffers/" -arch="all !s390x" +arch="aarch64 ppc64le x86 x86_64" # arm* gets bus error license="Apache-2.0" makedepends="cmake" subpackages="$pkgname-dev" -source="flatbuffers-$pkgver.tar.gz::https://github.com/google/flatbuffers/archive/v$pkgver.tar.gz" +source="flatbuffers-$pkgver.tar.gz::https://github.com/google/flatbuffers/archive/v$pkgver.tar.gz + disable-Werror.patch" # Tests fail with bus error arch="$arch !armhf !mips !mips64" @@ -33,4 +34,5 @@ package() { "$pkgdir"/usr/bin/flatc } -sha512sums="8a0b88d739fa4694a69d3630140fe89fdd70d50bba4dadd1758d9aa2920cda16700bcafb8d89fe2a09ac907d3f378240c3cb4abc7106318136799836aba4b063 flatbuffers-1.12.0.tar.gz" +sha512sums="8a0b88d739fa4694a69d3630140fe89fdd70d50bba4dadd1758d9aa2920cda16700bcafb8d89fe2a09ac907d3f378240c3cb4abc7106318136799836aba4b063 flatbuffers-1.12.0.tar.gz +c80587472f2d498681410f283f8b40a65f8c73711b8086b46a3f4d5b419cfa65331c66d4d5d13a42b449eec673ea283c8170d5bed2b9a15e8b71b4f9a66e18d5 disable-Werror.patch" diff --git a/community/flatbuffers/disable-Werror.patch b/community/flatbuffers/disable-Werror.patch new file mode 100644 index 0000000000..f597dcef9a --- /dev/null +++ b/community/flatbuffers/disable-Werror.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3987eac..973e158 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -223,7 +223,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) + "${CMAKE_CXX_FLAGS} -std=c++0x") + endif(CYGWIN) + set(CMAKE_CXX_FLAGS +- "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror -Wextra -Werror=shadow") ++ "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Werror=shadow") + set(FLATBUFFERS_PRIVATE_CXX_FLAGS "-Wold-style-cast") + if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.4) + if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0) diff --git a/community/kodi/APKBUILD b/community/kodi/APKBUILD index 989f7ebdda..e8fbe89101 100644 --- a/community/kodi/APKBUILD +++ b/community/kodi/APKBUILD @@ -10,7 +10,7 @@ _libdvdnav_pkgver="6.0.0-Leia-Alpha-3" _crossguid_hash="8f399e8bd4" pkgdesc="A software media player and entertainment hub for digital media" url="https://kodi.tv" -arch="x86 x86_64 !armhf armv7 aarch64" # flatbuffers missing on armhf +arch="x86 x86_64 aarch64" # flatbuffers missing on armhf and armv7 license="GPL-2.0-only" depends="python2 hicolor-icon-theme diff --git a/community/sink/APKBUILD b/community/sink/APKBUILD index bfc7fc1291..634433fca9 100644 --- a/community/sink/APKBUILD +++ b/community/sink/APKBUILD @@ -4,9 +4,7 @@ pkgname=sink pkgver=0.8.0 pkgrel=0 pkgdesc="Offline caching, synchronization and indexing system for PIM data" -# armhf blocked by qt5-qtdeclarative -# s390x blocked by flatbuffers -arch="all !armhf !s390x !mips !mips64" +arch="aarch64 ppc64le x86 x86_64" # limited by flatbuffers url="https://community.kde.org/KDE_PIM" license="LicenseRef-KDE-Accepted-GPL" depends_dev="qt5-qtbase-dev kmime-dev kcontacts-dev kcalendarcore-dev xapian-core-dev lmdb-dev kasync-dev kimap2-dev kdav2-dev curl-dev flatbuffers-dev libexecinfo-dev" |