summaryrefslogtreecommitdiff
path: root/devel/ftjam/files/patch-make1.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:25:49 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:25:49 +0000
commite47808b75c4c01fa35f0fceb291b9450e96325ae (patch)
tree21dd1055343a14db0b8d00f86625c678d7320bfc /devel/ftjam/files/patch-make1.c
parentaudio/decibel-audio-player: switch from py-imaging to py-pillow (diff)
- Chase compiler warnings, upstream: https://savannah.nongnu.org/bugs/?42945
Diffstat (limited to 'devel/ftjam/files/patch-make1.c')
-rw-r--r--devel/ftjam/files/patch-make1.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/ftjam/files/patch-make1.c b/devel/ftjam/files/patch-make1.c
new file mode 100644
index 000000000000..a2756eb77da4
--- /dev/null
+++ b/devel/ftjam/files/patch-make1.c
@@ -0,0 +1,21 @@
+--- make1.c.orig 2014-08-07 15:28:04.000000000 +0200
++++ make1.c 2014-08-07 15:28:43.000000000 +0200
+@@ -62,6 +62,10 @@
+ # include "command.h"
+ # include "execcmd.h"
+
++# if defined ( OS_FREEBSD )
++# include <unistd.h> // unlink(2)
++# endif
++
+ static void make1a( TARGET *t, TARGET *parent );
+ static void make1b( TARGET *t );
+ static void make1c( TARGET *t );
+@@ -426,7 +430,6 @@
+ SETTINGS *boundvars;
+ LIST *nt, *ns;
+ ACTIONS *a1;
+- CMD *cmd;
+ int start, chunk, length, maxline;
+
+ /* Only do rules with commands to execute. */