summaryrefslogtreecommitdiff
path: root/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch')
-rw-r--r--app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch b/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch
new file mode 100644
index 000000000000..51530bfdaf53
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch
@@ -0,0 +1,12 @@
+fix one of the Debian patches -- it uses warnx but doesn't include err.h.
+
+--- a/src/eval.c
++++ b/src/eval.c
+@@ -36,6 +36,7 @@
+ #include <signal.h>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <err.h>
+
+ /*
+ * Evaluate a command.