pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/transcode Add DragonFly support. Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7131b735924b
branches:  trunk
changeset: 509716:7131b735924b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 13 21:21:39 2006 +0000

description:
Add DragonFly support. Fix errno.

diffstat:

 multimedia/transcode/distinfo         |  21 ++++++++++++++++++++-
 multimedia/transcode/patches/patch-ac |  22 ++++++++++++++++++++++
 multimedia/transcode/patches/patch-ad |  12 ++++++++++++
 multimedia/transcode/patches/patch-ae |  12 ++++++++++++
 multimedia/transcode/patches/patch-af |  13 +++++++++++++
 multimedia/transcode/patches/patch-ag |  12 ++++++++++++
 multimedia/transcode/patches/patch-ah |  12 ++++++++++++
 multimedia/transcode/patches/patch-ai |  12 ++++++++++++
 multimedia/transcode/patches/patch-aj |  12 ++++++++++++
 multimedia/transcode/patches/patch-ak |  13 +++++++++++++
 multimedia/transcode/patches/patch-al |  12 ++++++++++++
 multimedia/transcode/patches/patch-am |  12 ++++++++++++
 multimedia/transcode/patches/patch-an |  12 ++++++++++++
 multimedia/transcode/patches/patch-ao |  22 ++++++++++++++++++++++
 multimedia/transcode/patches/patch-ap |  13 +++++++++++++
 multimedia/transcode/patches/patch-aq |  13 +++++++++++++
 multimedia/transcode/patches/patch-ar |  17 +++++++++++++++++
 multimedia/transcode/patches/patch-as |  13 +++++++++++++
 multimedia/transcode/patches/patch-at |  13 +++++++++++++
 multimedia/transcode/patches/patch-au |  13 +++++++++++++
 20 files changed, 280 insertions(+), 1 deletions(-)

diffs (truncated from 367 to 300 lines):

diff -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/distinfo
--- a/multimedia/transcode/distinfo     Mon Mar 13 21:20:24 2006 +0000
+++ b/multimedia/transcode/distinfo     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ac     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ad     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ae     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-af     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ag     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ah     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ai     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-aj     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ak     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-al     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-am     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-an     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ao     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ap     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-aq
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-aq     Mon Mar 13 21:21:39 2006 +0000
@@ -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 -r 9f591a3c8e6e -r 7131b735924b multimedia/transcode/patches/patch-ar
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-ar     Mon Mar 13 21:21:39 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ar,v 1.3 2006/03/13 21:21:39 joerg Exp $



Home | Main Index | Thread Index | Old Index