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

Christian Rebischke shibumi at archlinux.org
Sat Jun 5 18:42:11 UTC 2021


    Date: Saturday, June 5, 2021 @ 18:42:10
  Author: shibumi
Revision: 956145

upgpkg: netplan 0.102-1 add systemd to deps

Modified:
  netplan/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-05 18:39:19 UTC (rev 956144)
+++ PKGBUILD	2021-06-05 18:42:10 UTC (rev 956145)
@@ -2,7 +2,7 @@
 # Contributor:  Conrad Hoffmann <ch at bitfehler.net>
 
 pkgname=netplan
-pkgver=0.99
+pkgver=0.102
 pkgrel=1
 pkgdesc="Network configuration abstraction renderer"
 arch=('x86_64')
@@ -13,6 +13,7 @@
   'python-yaml'
   'python-netifaces'
   'iproute2'
+  'systemd'
 )
 makedepends=(
   'python'
@@ -22,10 +23,15 @@
 source=(
   "https://github.com/CanonicalLtd/${pkgname}/archive/${pkgver}.tar.gz"
 )
-sha256sums=('6ed7e12c88f972361f794a715dbd80cb85b822d2dc8c4ca9c7605aebbc008cb3')
+sha256sums=('2fd9de110066c40f661cbec8273b4a883e7c0f077a4dd969a75bb56b4a42b597')
 
 build() {
   cd "${pkgname}-${pkgver}"
+
+  # Drop -Werror to avoid the following error:
+  # /usr/include/glib-2.0/glib/glib-autocleanups.h:28:3: error: 'ip_str' may be used uninitialized in this function [-Werror=maybe-uninitialized]
+  sed -e "s/-Werror//g" -i Makefile
+
   env
   make
 }



More information about the arch-commits mailing list