diff options
author | tron <tron> | 2004-01-25 14:50:34 +0000 |
---|---|---|
committer | tron <tron> | 2004-01-25 14:50:34 +0000 |
commit | 17e41495443ed1a0b2bdccac3ee17941ad1fc361 (patch) | |
tree | fa7b37a1a42dd0b9bd8d3823b83d0bab2f5ad854 /graphics | |
parent | b37fa83d1d49fa8031c114108147627075a63569 (diff) | |
download | pkgsrc-17e41495443ed1a0b2bdccac3ee17941ad1fc361.tar.gz |
Fix build problem on NetBSD systems without native pthread support.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mjpegtools/distinfo | 3 | ||||
-rw-r--r-- | graphics/mjpegtools/patches/patch-ac | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/mjpegtools/distinfo b/graphics/mjpegtools/distinfo index a9b890ea18b..3ea9ea1691a 100644 --- a/graphics/mjpegtools/distinfo +++ b/graphics/mjpegtools/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2004/01/24 10:54:08 jmmv Exp $ +$NetBSD: distinfo,v 1.7 2004/01/25 14:50:34 tron Exp $ SHA1 (mjpegtools-1.6.1.93.tar.gz) = f8d327c43139a5b21a64aa265b9e6511683e76f2 Size (mjpegtools-1.6.1.93.tar.gz) = 1253561 bytes SHA1 (patch-aa) = b47aaacdbe02a3254c1ff58213448d63b39e5a34 SHA1 (patch-ab) = 392bc09ca0142fb1e435b219e598a70ae4bf258f +SHA1 (patch-ac) = 0297beecec5947ae153b60a43891c9d373255af5 diff --git a/graphics/mjpegtools/patches/patch-ac b/graphics/mjpegtools/patches/patch-ac new file mode 100644 index 00000000000..d8d023e1728 --- /dev/null +++ b/graphics/mjpegtools/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.3 2004/01/25 14:50:34 tron Exp $ + +--- lavtools/audiolib.c.orig Mon Dec 8 13:28:32 2003 ++++ lavtools/audiolib.c Sun Jan 25 15:47:33 2004 +@@ -665,7 +665,9 @@ + const char *audio_dev_name; + + #ifndef FORK_NOT_THREAD ++#if !defined(__NetBSD__) || __NetBSD_Version__ >= 106130000 /* 1.6M */ + struct sched_param schedparam; ++#endif + sigset_t blocked_signals; + + /* Set the capture thread in a reasonable state - cancellation enabled +@@ -862,7 +864,8 @@ + memset(buf+nbset*info.fragsize,0,info.fragsize); + } + +-#ifndef FORK_NOT_THREAD ++#if !defined(FORK_NOT_THREAD) && \ ++ (!defined(__NetBSD__) || __NetBSD_Version__ >= 106130000) /* 1.6M */ + /* Now we're ready to go move to Real-time scheduling... */ + schedparam.sched_priority = 1; + |