diff options
author | Mike Sullivan <mksully22@gmail.com> | 2018-03-07 15:22:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-13 11:25:49 +0000 |
commit | 87211fe30dc79fff3877c0c9dd6342c03dd91484 (patch) | |
tree | ec77568929f8d8891c9e72daceabe59ca22d2651 | |
parent | f32eca54071c2e63fea83032797da0e8b5a3dfa5 (diff) | |
download | aports-87211fe30dc79fff3877c0c9dd6342c03dd91484.tar.bz2 aports-87211fe30dc79fff3877c0c9dd6342c03dd91484.tar.xz |
testing/zerotier-one: enable ppc64le and enable in make-linux.mk
-rw-r--r-- | testing/zerotier-one/APKBUILD | 8 | ||||
-rw-r--r-- | testing/zerotier-one/ppc64le-make-linux.patch | 14 |
2 files changed, 19 insertions, 3 deletions
diff --git a/testing/zerotier-one/APKBUILD b/testing/zerotier-one/APKBUILD index 186c61ac43..ca6b5cf2ba 100644 --- a/testing/zerotier-one/APKBUILD +++ b/testing/zerotier-one/APKBUILD @@ -2,10 +2,10 @@ # Maintainer: Kyle Parisi <kyleparisi@gmail.com> pkgname=zerotier-one pkgver=1.2.4 -pkgrel=4 +pkgrel=5 pkgdesc="ZeroTier One allows systems to join and participate in ZeroTier virtual networks." url="https://www.zerotier.com/" -arch="x86_64" +arch="x86_64 ppc64le" license="GPL-3.0" depends="" makedepends="nodejs-npm linux-headers" @@ -14,6 +14,7 @@ subpackages="$pkgname-doc" source=" $pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/${pkgver}.tar.gz zerotier-one.initd + ppc64le-make-linux.patch " builddir="$srcdir"/ZeroTierOne-$pkgver @@ -31,4 +32,5 @@ package() { } sha512sums="82adb110208d24ae2745e3839810afcac87955de050ebfe0517a7dc2a875881dafd40c1b16a041742d8c4d0f6513abcc71d6ea3e06c2fb89b47be2630a500363 zerotier-one-1.2.4.tar.gz -a63f8e649d63a3de58a556b3adca440cd0c0d4b36239ea547d555b97852d89d0a1446f348d35e98f77faabe1fe4ffb76868b8290ad9f2b4cd8b6c599945a176c zerotier-one.initd" +a63f8e649d63a3de58a556b3adca440cd0c0d4b36239ea547d555b97852d89d0a1446f348d35e98f77faabe1fe4ffb76868b8290ad9f2b4cd8b6c599945a176c zerotier-one.initd +fe4468a2fdcda99ab4b6055a567f12c04973ad151ad7c1f710bf4e53a5d7e1190ba864cd45274106e5b341267f24f27b2a4855bd27668fec84545d17627d79e7 ppc64le-make-linux.patch" diff --git a/testing/zerotier-one/ppc64le-make-linux.patch b/testing/zerotier-one/ppc64le-make-linux.patch new file mode 100644 index 0000000000..7c867a6181 --- /dev/null +++ b/testing/zerotier-one/ppc64le-make-linux.patch @@ -0,0 +1,14 @@ +--- a/make-linux.mk ++++ b/make-linux.mk +@@ -154,6 +154,11 @@ + ZT_ARCHITECTURE=6 + override DEFS+=-DZT_NO_TYPE_PUNNING + endif ++ifeq ($(CC_MACH),powerpc64le) ++ ZT_ARCHITECTURE=7 ++ override DEFS+=-DZT_NO_TYPE_PUNNING ++endif ++ + + # Fail if system architecture could not be determined + ifeq ($(ZT_ARCHITECTURE),999) |