summary refs log tree commit diff
path: root/gnu/packages/cpio.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cpio.scm')
-rw-r--r--gnu/packages/cpio.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/cpio.scm b/gnu/packages/cpio.scm
index 87f85d00e8..cfb416239d 100644
--- a/gnu/packages/cpio.scm
+++ b/gnu/packages/cpio.scm
@@ -36,12 +36,14 @@
              (sha256
               (base32
                "1gavgpzqwgkpagjxw72xgxz52y1ifgz0ckqh8g7cckz7jvyhp0mv"))
-             (patches (list (search-patch "cpio-CVE-2014-9112-pt1.patch")
-                            (search-patch "cpio-CVE-2014-9112-pt2.patch")
-                            (search-patch "cpio-CVE-2014-9112-pt3.patch")
-                            (search-patch "cpio-CVE-2014-9112-pt4.patch")
-                            (search-patch "cpio-CVE-2014-9112-pt5.patch")
-                            (search-patch "cpio-gets-undeclared.patch")))))
+             (patches (map search-patch
+                           '("cpio-CVE-2014-9112-pt1.patch"
+                             "cpio-CVE-2014-9112-pt2.patch"
+                             "cpio-CVE-2014-9112-pt3.patch"
+                             "cpio-CVE-2014-9112-pt4.patch"
+                             "cpio-CVE-2014-9112-pt5.patch"
+                             "cpio-fix-symlink-bad-length-test.patch"
+                             "cpio-gets-undeclared.patch")))))
     (build-system gnu-build-system)
 
     ;; FIXME: autoconf is needed to run autom4te, to update to test suite