[arch-commits] Commit in zerotier-one/trunk (PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Tue Jul 14 12:33:00 UTC 2020


    Date: Tuesday, July 14, 2020 @ 12:33:00
  Author: diabonas
Revision: 663739

upgpkg: zerotier-one 1.4.6-2: fix compilation with GCC 10, reproducibility rebuild

Modified:
  zerotier-one/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 12:31:42 UTC (rev 663738)
+++ PKGBUILD	2020-07-14 12:33:00 UTC (rev 663739)
@@ -4,7 +4,7 @@
 
 pkgname=zerotier-one
 pkgver=1.4.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Creates virtual Ethernet networks of almost unlimited size."
 arch=('x86_64')
 url="https://www.zerotier.com/index.html"
@@ -11,12 +11,17 @@
 license=('GPL3')
 depends=('gcc-libs' 'libnatpmp' 'miniupnpc')
 makedepends=('ruby-ronn')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/$pkgver.tar.gz")
-sha512sums=('72f00602f67190d03ac0c8caa6b79e7f346b10745bdf772c68f77a3a940cdd718d05ec642bc862a6235aab9bd3bfefb0c57571f358ae55f38761f45500f0f189')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/$pkgver.tar.gz"
+        "zerotier-one-1.4.6-gcc10-fix.patch::https://github.com/zerotier/ZeroTierOne/commit/cce4fa719d447c55d93458b25fa92717a2d61a60.patch")
+sha512sums=('72f00602f67190d03ac0c8caa6b79e7f346b10745bdf772c68f77a3a940cdd718d05ec642bc862a6235aab9bd3bfefb0c57571f358ae55f38761f45500f0f189'
+            '0bfbaf6a2e924ca687ea95c27111fbce9c88893344c404b68ebb3f4498470b99c2f575af3ad93d312fc4444501da23518caaff3b4afefc07fa80293f1989aabe')
 
 prepare() {
   cd ZeroTierOne-$pkgver
   sed -i 's/sbin/bin/' make-linux.mk debian/zerotier-one.service
+
+  # Fix compilation with GCC 10 (https://github.com/zerotier/ZeroTierOne/pull/1232)
+  patch -Np1 -i "$srcdir/zerotier-one-1.4.6-gcc10-fix.patch"
 }
 
 build() {


More information about the arch-commits mailing list