diff options
author | mrg <mrg@pkgsrc.org> | 2004-04-04 11:04:59 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2004-04-04 11:04:59 +0000 |
commit | 0e05a819c9e440a8846d4fd0e7238ba27d402c78 (patch) | |
tree | 4bbc53c674221c28f4049034f582d58ebe4a986a /multimedia/mjpegtools | |
parent | 76c76a00e00d0a54ab8b3e3e2b497e8e9ebb1406 (diff) | |
download | pkgsrc-0e05a819c9e440a8846d4fd0e7238ba27d402c78.tar.gz |
let the utils/altivec code work on netbsd (modern netbsd/ppc systems
seem to have it enabled by default...):
- it's spelled <errno.h> NOT <sys/errno.h>
- use the same register prefixes as linux does, not macosx.
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/distinfo | 4 | ||||
-rw-r--r-- | multimedia/mjpegtools/patches/patch-ad | 13 | ||||
-rw-r--r-- | multimedia/mjpegtools/patches/patch-ae | 11 |
3 files changed, 27 insertions, 1 deletions
diff --git a/multimedia/mjpegtools/distinfo b/multimedia/mjpegtools/distinfo index 001922098fa..160cbb14965 100644 --- a/multimedia/mjpegtools/distinfo +++ b/multimedia/mjpegtools/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.2 2004/03/11 13:17:03 recht Exp $ +$NetBSD: distinfo,v 1.3 2004/04/04 11:04:59 mrg Exp $ SHA1 (mjpegtools-1.6.2.tar.gz) = c69ce6cd8a37c133c92d677f21650ae541c86575 Size (mjpegtools-1.6.2.tar.gz) = 1256280 bytes SHA1 (patch-aa) = b47aaacdbe02a3254c1ff58213448d63b39e5a34 SHA1 (patch-ab) = 392bc09ca0142fb1e435b219e598a70ae4bf258f SHA1 (patch-ac) = 0297beecec5947ae153b60a43891c9d373255af5 +SHA1 (patch-ad) = f5f0b017be1fdec1613f256487be1cbb5ba4bea8 +SHA1 (patch-ae) = eeebfd79d18b33065fa28be6315f99752e9d8a88 diff --git a/multimedia/mjpegtools/patches/patch-ad b/multimedia/mjpegtools/patches/patch-ad new file mode 100644 index 00000000000..de51adb900c --- /dev/null +++ b/multimedia/mjpegtools/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2004/04/04 11:04:59 mrg Exp $ + +--- utils/altivec/amber.c.orig 2002-11-17 14:43:59.000000000 +1100 ++++ utils/altivec/amber.c 2004-04-04 18:29:17.000000000 +1000 +@@ -29,7 +29,7 @@ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif +-#include <sys/errno.h> ++#include <errno.h> + #include <sys/stat.h> + #include <dirent.h> + diff --git a/multimedia/mjpegtools/patches/patch-ae b/multimedia/mjpegtools/patches/patch-ae new file mode 100644 index 00000000000..6b8bc180f5b --- /dev/null +++ b/multimedia/mjpegtools/patches/patch-ae @@ -0,0 +1,11 @@ +--- /var/obj/pkgsrc/multimedia/mjpegtools/work.what-time-is-love/mjpegtools-1.6.2/utils/altivec/sub_mean_reduction_ppc.S.orig 2004-04-04 20:47:16.000000000 +1000 ++++ /var/obj/pkgsrc/multimedia/mjpegtools/work.what-time-is-love/mjpegtools-1.6.2/utils/altivec/sub_mean_reduction_ppc.S 2004-04-04 20:46:30.000000000 +1000 +@@ -18,7 +18,7 @@ + */ + + /* register, local label and global macros */ +-#ifdef __linux__ ++#if defined(__linux__) || defined(__NetBSD__) + #define R(register_number) register_number + #define L(label_name) .L##label_name + #define G(global_name) global_name |