diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-13 21:21:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-13 21:21:39 +0000 |
commit | d7a0589c6c14e3ea0bf59af50b55b6f2361d9c62 (patch) | |
tree | 0e10bf450baaceeb636dcedf59757fc86d6b5367 /multimedia | |
parent | a8e0b3d70ac2953ef14706deb312726af9cbb635 (diff) | |
download | pkgsrc-d7a0589c6c14e3ea0bf59af50b55b6f2361d9c62.tar.gz |
Add DragonFly support. Fix errno.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/transcode/distinfo | 21 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ac | 22 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ad | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ae | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-af | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ag | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ah | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ai | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-aj | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ak | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-al | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-am | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-an | 12 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ao | 22 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ap | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-aq | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-ar | 17 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-as | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-at | 13 | ||||
-rw-r--r-- | multimedia/transcode/patches/patch-au | 13 |
20 files changed, 280 insertions, 1 deletions
diff --git a/multimedia/transcode/distinfo b/multimedia/transcode/distinfo index 867c3f018a3..f3aad70967f 100644 --- a/multimedia/transcode/distinfo +++ b/multimedia/transcode/distinfo @@ -1,7 +1,26 @@ -$NetBSD: distinfo,v 1.8 2006/01/24 05:33:21 xtraeme Exp $ +$NetBSD: distinfo,v 1.9 2006/03/13 21:21:39 joerg Exp $ SHA1 (transcode-1.0.2.tar.gz) = 831a55a0218913e43261eb614ccca34a0d1b3d0d RMD160 (transcode-1.0.2.tar.gz) = 5a07777093b3d395180396a662dc765c179cd687 Size (transcode-1.0.2.tar.gz) = 2347861 bytes SHA1 (patch-aa) = 01c2093ff606b4a0744dd0b8e5422277d081b8f2 SHA1 (patch-ab) = ce8477442d9e9bb5680fef2aacd6e496f95a5ff2 +SHA1 (patch-ac) = 1e5fa05a1238b8e20f7f89a8f3d1c3cda55cbe49 +SHA1 (patch-ad) = a520f32c75bb4a811be7801afbec4a783cf36c00 +SHA1 (patch-ae) = 901c88fb1a47d9a4b084d2d3918390584cdf9c42 +SHA1 (patch-af) = 1133631c4a6c2396bf8628bfa9b2b26ad3a5b9ac +SHA1 (patch-ag) = 00a9341dc359e88e8664c41366a72d1790466244 +SHA1 (patch-ah) = d7c52dfc0f142cad2714e184723c1546b4431f97 +SHA1 (patch-ai) = 366ebfbf3de0d4eb53104bad6645056e8b7b8397 +SHA1 (patch-aj) = ff2d3ed5e82d4c669561ab041fb709ff3db91f75 +SHA1 (patch-ak) = d144d8c9b3188c5fcd05454e267a9931240e7c1e +SHA1 (patch-al) = bd2720a89ecfb86d8e1cc28e87931316082a6861 +SHA1 (patch-am) = 967a7ba589386a8130e1ff2756d7e1787d40e03f +SHA1 (patch-an) = 897e096d31db4e6602e4a0999d22f187f694f4c3 +SHA1 (patch-ao) = 4ece2603c4d504911cb3669e10222cb5bfd95caa +SHA1 (patch-ap) = 29e723a35d40e66086dc5064acf471c05c3911bc +SHA1 (patch-aq) = 8ed8767cd09d49a9d1fe210058ded77e32c59242 +SHA1 (patch-ar) = 7b25af9639cb74705335840965f46f96c8f1a9e1 +SHA1 (patch-as) = f52658ae005ad3d68134a33878eb634e949a269a +SHA1 (patch-at) = 60e6c507049e3fd1723440859b90e828aac968ad +SHA1 (patch-au) = 3d06c68c60cda13d235a440b13a07d11b8de7877 diff --git a/multimedia/transcode/patches/patch-ac b/multimedia/transcode/patches/patch-ac new file mode 100644 index 00000000000..eafd9a0b3af --- /dev/null +++ b/multimedia/transcode/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2006/03/13 21:21:39 joerg Exp $ + +--- configure.orig 2005-11-06 06:04:59.000000000 +0000 ++++ configure +@@ -8959,7 +8959,7 @@ fi + + + case "$host_os" in +- freebsd*|openbsd*|netbsd*|bsdi*|darwin*|rhapsody*) ++ freebsd*|openbsd*|netbsd*|bsdi*|darwin*|rhapsody*|dragonfly*) + + cat >>confdefs.h <<\_ACEOF + #define SYS_BSD 1 +@@ -8991,7 +8991,7 @@ case "$host" in + esac + # let user override + if test -n "$PTHREAD_LIBS" ; then +- pthread_libs="$PTHREAD_LIBS" ++ pthread_libs="$PTHREAD_LIBS $PTHREAD_LDFLAGS" + fi + if test -n "$PTHREAD_CFLAGS" ; then + pthread_cflags="$PTHREAD_CFLAGS" diff --git a/multimedia/transcode/patches/patch-ad b/multimedia/transcode/patches/patch-ad new file mode 100644 index 00000000000..a09b000de71 --- /dev/null +++ b/multimedia/transcode/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_avi.c.orig 2006-03-13 18:15:40.000000000 +0000 ++++ import/import_avi.c +@@ -60,7 +60,6 @@ MOD_open + struct stat fbuf; + char import_cmd_buf[TC_BUF_MAX]; + long sret; +- extern int errno; + + param->fd = NULL; + diff --git a/multimedia/transcode/patches/patch-ae b/multimedia/transcode/patches/patch-ae new file mode 100644 index 00000000000..4f46e45a205 --- /dev/null +++ b/multimedia/transcode/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_mpeg2.c.orig 2006-03-13 18:20:39.000000000 +0000 ++++ import/import_mpeg2.c +@@ -34,7 +34,6 @@ static int capability_flag = TC_CAP_RGB + #include "import_def.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + typedef struct tbuf_t { diff --git a/multimedia/transcode/patches/patch-af b/multimedia/transcode/patches/patch-af new file mode 100644 index 00000000000..34da916ba84 --- /dev/null +++ b/multimedia/transcode/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/ioaux.c.orig 2006-03-13 18:21:14.000000000 +0000 ++++ import/ioaux.c +@@ -28,8 +28,6 @@ + #define MAX_BUF 4096 + static uint8_t buffer[MAX_BUF]; /* only used in p_readwrite() */ + +-extern int errno; +- + + ssize_t p_read(int fd, uint8_t *buf, size_t len) + { diff --git a/multimedia/transcode/patches/patch-ag b/multimedia/transcode/patches/patch-ag new file mode 100644 index 00000000000..6036873c383 --- /dev/null +++ b/multimedia/transcode/patches/patch-ag @@ -0,0 +1,12 @@ +$NetBSD: patch-ag,v 1.4 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_ac3.c.orig 2006-03-13 18:24:00.000000000 +0000 ++++ import/import_ac3.c +@@ -36,7 +36,6 @@ static int capability_flag = TC_CAP_PCM + #include "ac3scan.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + static FILE *fd; diff --git a/multimedia/transcode/patches/patch-ah b/multimedia/transcode/patches/patch-ah new file mode 100644 index 00000000000..63893786036 --- /dev/null +++ b/multimedia/transcode/patches/patch-ah @@ -0,0 +1,12 @@ +$NetBSD: patch-ah,v 1.4 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_dv.c.orig 2006-03-13 18:24:25.000000000 +0000 ++++ import/import_dv.c +@@ -36,7 +36,6 @@ static int capability_flag = TC_CAP_RGB + #include "import_def.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + static int frame_size=0; diff --git a/multimedia/transcode/patches/patch-ai b/multimedia/transcode/patches/patch-ai new file mode 100644 index 00000000000..eebf308c5d9 --- /dev/null +++ b/multimedia/transcode/patches/patch-ai @@ -0,0 +1,12 @@ +$NetBSD: patch-ai,v 1.4 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_lav.c.orig 2006-03-13 18:25:33.000000000 +0000 ++++ import/import_lav.c +@@ -34,7 +34,6 @@ static int capability_flag = TC_CAP_RGB + #include "import_def.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + diff --git a/multimedia/transcode/patches/patch-aj b/multimedia/transcode/patches/patch-aj new file mode 100644 index 00000000000..cc96409fe74 --- /dev/null +++ b/multimedia/transcode/patches/patch-aj @@ -0,0 +1,12 @@ +$NetBSD: patch-aj,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_divx.c.orig 2006-03-13 18:28:40.000000000 +0000 ++++ import/import_divx.c +@@ -50,7 +50,6 @@ static int capability_flag = TC_CAP_RGB + #endif + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + static int codec, frame_size=0; diff --git a/multimedia/transcode/patches/patch-ak b/multimedia/transcode/patches/patch-ak new file mode 100644 index 00000000000..852e19b2960 --- /dev/null +++ b/multimedia/transcode/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_im.c.orig 2006-03-13 18:32:28.000000000 +0000 ++++ import/import_im.c +@@ -46,8 +46,6 @@ static int capability_flag = TC_CAP_RGB + #include <magick/api.h> + + +-extern int errno; +- + char + *head = NULL, + *tail = NULL; diff --git a/multimedia/transcode/patches/patch-al b/multimedia/transcode/patches/patch-al new file mode 100644 index 00000000000..efc236e8884 --- /dev/null +++ b/multimedia/transcode/patches/patch-al @@ -0,0 +1,12 @@ +$NetBSD: patch-al,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_mplayer.c.orig 2006-03-13 18:34:58.000000000 +0000 ++++ import/import_mplayer.c +@@ -36,7 +36,6 @@ static int capability_flag = TC_CAP_YUV + #include <sys/types.h> + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + static const char * videopipe = "./stream.yuv"; diff --git a/multimedia/transcode/patches/patch-am b/multimedia/transcode/patches/patch-am new file mode 100644 index 00000000000..2cd3a419cfb --- /dev/null +++ b/multimedia/transcode/patches/patch-am @@ -0,0 +1,12 @@ +$NetBSD: patch-am,v 1.1 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_ffmpeg.c.orig 2006-03-13 18:39:24.000000000 +0000 ++++ import/import_ffmpeg.c +@@ -43,7 +43,6 @@ static int capability_flag = TC_CAP_YUV + #include "magic.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + // libavcodec is not thread-safe. We must protect concurrent access to it. diff --git a/multimedia/transcode/patches/patch-an b/multimedia/transcode/patches/patch-an new file mode 100644 index 00000000000..c403e20b3ca --- /dev/null +++ b/multimedia/transcode/patches/patch-an @@ -0,0 +1,12 @@ +$NetBSD: patch-an,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/import_ffbin.c.orig 2006-03-13 18:40:17.000000000 +0000 ++++ import/import_ffbin.c +@@ -41,7 +41,6 @@ static int capability_flag = TC_CAP_YUV + #include "import_def.h" + + +-extern int errno; + char import_cmd_buf[TC_BUF_MAX]; + + static char audiopipe[40] = "/tmp/ffbin2transcode-audio.XXXXXX"; diff --git a/multimedia/transcode/patches/patch-ao b/multimedia/transcode/patches/patch-ao new file mode 100644 index 00000000000..4b5141e1172 --- /dev/null +++ b/multimedia/transcode/patches/patch-ao @@ -0,0 +1,22 @@ +$NetBSD: patch-ao,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- import/tccat.c.orig 2006-03-13 19:00:13.000000000 +0000 ++++ import/tccat.c +@@ -23,7 +23,7 @@ + + #include "transcode.h" + +-#include <sys/errno.h> ++#include <errno.h> + #include "xio.h" + #include "ioaux.h" + #include "tc.h" +@@ -36,8 +36,6 @@ char buf[MAX_BUF]; + + int verbose=TC_INFO; + +-extern int errno; +- + void import_exit(int code) + { + if(verbose & TC_DEBUG) import_info(code, EXE); diff --git a/multimedia/transcode/patches/patch-ap b/multimedia/transcode/patches/patch-ap new file mode 100644 index 00000000000..9e3da243855 --- /dev/null +++ b/multimedia/transcode/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- export/export_ac3.c.orig 2006-03-13 19:04:58.000000000 +0000 ++++ export/export_ac3.c +@@ -32,8 +32,6 @@ + #define MOD_VERSION "v0.1 (2003-02-26)" + #define MOD_CODEC "(video) null | (audio) ac3" + +-extern int errno; +- + static int verbose_flag=TC_QUIET; + static int capability_flag=TC_CAP_PCM; + diff --git a/multimedia/transcode/patches/patch-aq b/multimedia/transcode/patches/patch-aq new file mode 100644 index 00000000000..5dcf5d51d61 --- /dev/null +++ b/multimedia/transcode/patches/patch-aq @@ -0,0 +1,13 @@ +$NetBSD: patch-aq,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- export/export_mp2.c.orig 2006-03-13 19:07:19.000000000 +0000 ++++ export/export_mp2.c +@@ -63,8 +63,6 @@ static int capability_flag=TC_CAP_PCM; + #define MOD_PRE mp2 + #include "export_def.h" + +-extern int errno; +- + static FILE *pFile = NULL; + static double speed = 0.0; + diff --git a/multimedia/transcode/patches/patch-ar b/multimedia/transcode/patches/patch-ar new file mode 100644 index 00000000000..b587c8876d1 --- /dev/null +++ b/multimedia/transcode/patches/patch-ar @@ -0,0 +1,17 @@ +$NetBSD: patch-ar,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- src/transcode.c.orig 2006-03-13 19:17:21.000000000 +0000 ++++ src/transcode.c +@@ -43,12 +43,8 @@ + #include "libsupport/getopt.h" + #endif + +-extern int errno; +- + #include "usage.h" + +-extern int errno; +- + /* imported from libtc + #define COL(x) "\033[" #x ";1m" + char *RED = COL(31); diff --git a/multimedia/transcode/patches/patch-as b/multimedia/transcode/patches/patch-as new file mode 100644 index 00000000000..a06042122fe --- /dev/null +++ b/multimedia/transcode/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD: patch-as,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- src/filter.c.orig 2006-03-13 19:18:52.000000000 +0000 ++++ src/filter.c +@@ -56,8 +56,6 @@ static char module[TC_BUF_MAX]; + + filter_t filter[MAX_FILTER]; + +-extern int errno; +- + int filter_next_free_id(void) + { + int n; diff --git a/multimedia/transcode/patches/patch-at b/multimedia/transcode/patches/patch-at new file mode 100644 index 00000000000..2b2c1480e09 --- /dev/null +++ b/multimedia/transcode/patches/patch-at @@ -0,0 +1,13 @@ +$NetBSD: patch-at,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- src/counter.c.orig 2006-03-13 19:19:41.000000000 +0000 ++++ src/counter.c +@@ -30,8 +30,6 @@ + static int encoder_progress_flag=0; + static char encoder_progress_str[ENCODER_PROG_STR_MAX]; + +-extern int errno; +- + void tc_encoder_progress() + { + printf("%s\r", encoder_progress_str); diff --git a/multimedia/transcode/patches/patch-au b/multimedia/transcode/patches/patch-au new file mode 100644 index 00000000000..2fdfaa9340d --- /dev/null +++ b/multimedia/transcode/patches/patch-au @@ -0,0 +1,13 @@ +$NetBSD: patch-au,v 1.3 2006/03/13 21:21:39 joerg Exp $ + +--- src/socket.c.orig 2006-03-13 19:21:07.000000000 +0000 ++++ src/socket.c +@@ -42,8 +42,6 @@ static int socket_fd=-1; + + pthread_mutex_t tc_socket_msg_lock=PTHREAD_MUTEX_INITIALIZER; + +-extern int errno; +- + int s_write (int sock, void *buf, size_t count) + { + int retval=0; |