aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libcap/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libcap/patches')
-rw-r--r--package/libs/libcap/patches/300-disable-tests.patch2
-rw-r--r--package/libs/libcap/patches/900-use-more-compatible-shebang.patch8
2 files changed, 9 insertions, 1 deletions
diff --git a/package/libs/libcap/patches/300-disable-tests.patch b/package/libs/libcap/patches/300-disable-tests.patch
index c1779e28ecf..1cf9cc4ea6a 100644
--- a/package/libs/libcap/patches/300-disable-tests.patch
+++ b/package/libs/libcap/patches/300-disable-tests.patch
@@ -7,4 +7,4 @@
- $(MAKE) -C tests $@
$(MAKE) -C progs $@
$(MAKE) -C doc $@
- $(MAKE) -C kdebug $@
+
diff --git a/package/libs/libcap/patches/900-use-more-compatible-shebang.patch b/package/libs/libcap/patches/900-use-more-compatible-shebang.patch
new file mode 100644
index 00000000000..454c703fbe7
--- /dev/null
+++ b/package/libs/libcap/patches/900-use-more-compatible-shebang.patch
@@ -0,0 +1,8 @@
+--- a/progs/mkcapshdoc.sh
++++ b/progs/mkcapshdoc.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+ # This script generates some C code for inclusion in the capsh binary.
+ # The Makefile generally only generates the .c code and compares it
+ # with the checked in code in the progs directory.