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

Evangelos Foutras foutrelis at archlinux.org
Fri Jun 2 03:59:21 UTC 2017


    Date: Friday, June 2, 2017 @ 03:59:15
  Author: foutrelis
Revision: 232747

Fix build with GCC 7

Modified:
  linux-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-02 03:50:53 UTC (rev 232746)
+++ PKGBUILD	2017-06-02 03:59:15 UTC (rev 232747)
@@ -46,8 +46,15 @@
 
 prepare() {
   cd linux
+
+  # usbip: Fix implicit fallthrough warning
+  git cherry-pick -n cfd6ed4537a9e938fa76facecd4b9cd65b6d1563
+  # usbip: Fix potential format overflow in userspace tools
+  git cherry-pick -n e5dfa3f902b9a642ae8c6997d57d7c41e384a90b
+
   # apply stable kernel patch
   #patch -p1 -N -i "$srcdir"/patch-4.7.5
+
   # apply patch from the source array (should be a pacman feature)
   local filename
   for filename in "${source[@]}"; do
@@ -56,7 +63,6 @@
       patch -p1 -N -i "$srcdir/${filename##*/}"
     fi
   done
-  :
 }
 
 build() {



More information about the arch-commits mailing list