pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mjpegtools let the utils/altivec code work ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33e086bc0c27
branches:  trunk
changeset: 472093:33e086bc0c27
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Sun Apr 04 11:04:59 2004 +0000

description:
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:

 multimedia/mjpegtools/distinfo         |   4 +++-
 multimedia/mjpegtools/patches/patch-ad |  13 +++++++++++++
 multimedia/mjpegtools/patches/patch-ae |  11 +++++++++++
 3 files changed, 27 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 7ef5a8052044 -r 33e086bc0c27 multimedia/mjpegtools/distinfo
--- a/multimedia/mjpegtools/distinfo    Sun Apr 04 10:40:19 2004 +0000
+++ b/multimedia/mjpegtools/distinfo    Sun Apr 04 11:04:59 2004 +0000
@@ -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 -r 7ef5a8052044 -r 33e086bc0c27 multimedia/mjpegtools/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mjpegtools/patches/patch-ad    Sun Apr 04 11:04:59 2004 +0000
@@ -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 -r 7ef5a8052044 -r 33e086bc0c27 multimedia/mjpegtools/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mjpegtools/patches/patch-ae    Sun Apr 04 11:04:59 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index