aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-01-02 18:19:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-03 08:31:38 +0000
commit5b20e1597ceb8a83bf74f8913d30a7bc80ea52aa (patch)
treeb8e6c906175b7a86bf596d364e1e9fd3daa6419b
parent16a4a9c1c7a1b50a313a3a70efaf324189ae0d00 (diff)
downloadaports-5b20e1597ceb8a83bf74f8913d30a7bc80ea52aa.tar.bz2
aports-5b20e1597ceb8a83bf74f8913d30a7bc80ea52aa.tar.xz
testing/usbip-utils: fix ppc64le build by disabling Werror
modify configure.ac
-rw-r--r--testing/usbip-utils/APKBUILD8
-rw-r--r--testing/usbip-utils/fix-ppc64le-disable-werror.patch11
2 files changed, 16 insertions, 3 deletions
diff --git a/testing/usbip-utils/APKBUILD b/testing/usbip-utils/APKBUILD
index 5f90d57a50..779645ba0d 100644
--- a/testing/usbip-utils/APKBUILD
+++ b/testing/usbip-utils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: wener <wenermail@gmail.com>
pkgname=usbip-utils
pkgver=4.18.13
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities for USB device sharing over IP network"
url="https://kernel.org/doc/readme/drivers-staging-usbip-userspace-README"
arch="all"
@@ -14,7 +14,8 @@ install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-$pkgver.tar.gz
usbip.initd
- usbip.confd"
+ usbip.confd
+ fix-ppc64le-disable-werror.patch"
_baseurl="linux-$pkgver/tools/usb/usbip"
builddir="$srcdir/usbip"
@@ -65,4 +66,5 @@ package() {
sha512sums="d8b6076617f1b6e88bb485165c0a36567bb6ab9c372ecabf749515f5b5c7de3a8c38a1a262d3b9f2feeda5a76a3fede493fe098811a01f06fe079fe5f7656ecb linux-4.18.13.tar.gz
fcbd64d844c9bc187d08cef5995e91a46c0df78deb24e96ac9210c0e2c730eca0301970d9b8ffbf003df274682d05072431a26b59d8c491f396618268a12ec92 usbip.initd
-eb8de617e27c4d5fdfee9c442e8f74b0afb4d0fe7b59eca3a19629eb70fea7e09b3c125bc968aa8810d845ce661c829bd0f3fdb2288664f2cccf423bc0ae6ae8 usbip.confd"
+eb8de617e27c4d5fdfee9c442e8f74b0afb4d0fe7b59eca3a19629eb70fea7e09b3c125bc968aa8810d845ce661c829bd0f3fdb2288664f2cccf423bc0ae6ae8 usbip.confd
+473d194edc7677d0eb9864cf1e3922264ddd2d89e1015188f09c59e50a84a77f08d1e5c99700d4f3c8c01bea318aa614482f7902f0c97f5d87d6fbe388e840f8 fix-ppc64le-disable-werror.patch"
diff --git a/testing/usbip-utils/fix-ppc64le-disable-werror.patch b/testing/usbip-utils/fix-ppc64le-disable-werror.patch
new file mode 100644
index 0000000000..90c2ccd008
--- /dev/null
+++ b/testing/usbip-utils/fix-ppc64le-disable-werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -18,7 +18,7 @@
+ # Silent build for automake >= 1.11
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+-AC_SUBST([EXTRA_CFLAGS], ["-Wall -Werror -Wextra -std=gnu99"])
++AC_SUBST([EXTRA_CFLAGS], ["-Wall -Wextra -std=gnu99"])
+
+ # Checks for programs.
+ AC_PROG_CC