summaryrefslogtreecommitdiff
path: root/graphics/tosvcd/files/patch-tosvcd.c
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-25 08:12:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-25 08:12:42 +0000
commit3a0cd27f78beadddff62fd14c4273d202fe932fe (patch)
treecf50a6b82f22b66102c0797cbc13a1eebd844d2f /graphics/tosvcd/files/patch-tosvcd.c
parentAdded two missing files to pkg-plist (diff)
add tosvcd 0.7
SVCD transcoder
Notes
Notes: svn path=/head/; revision=68783
Diffstat (limited to 'graphics/tosvcd/files/patch-tosvcd.c')
-rw-r--r--graphics/tosvcd/files/patch-tosvcd.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/tosvcd/files/patch-tosvcd.c b/graphics/tosvcd/files/patch-tosvcd.c
new file mode 100644
index 000000000000..0400030a1fc7
--- /dev/null
+++ b/graphics/tosvcd/files/patch-tosvcd.c
@@ -0,0 +1,22 @@
+--- tosvcd.c.orig Fri Oct 25 12:15:12 2002
++++ tosvcd.c Fri Oct 25 12:16:27 2002
+@@ -29,9 +29,8 @@
+ #include <time.h>
+ #include <pthread.h>
+ #include <list>
+-#include <values.h>
+ #include <signal.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <glob.h>
+
+
+@@ -1322,7 +1321,7 @@
+ // catch all signals
+ //---------------------------------------------------
+ #if 1
+- for (int i = 0; i < _NSIG; ++i) {
++ for (int i = 0; i < NSIG; ++i) {
+ if (i != SIGABRT)
+ signal(i, catchSignal);
+ }