pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/avidemux Fix build when not using MMX. Fou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85910c53373c
branches:  trunk
changeset: 470671:85910c53373c
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Mar 11 10:53:05 2004 +0000

description:
Fix build when not using MMX.  Found by latest kristerw@'s bulk build.

diffstat:

 multimedia/avidemux/distinfo         |   3 ++-
 multimedia/avidemux/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 93ba99bbc3b5 -r 85910c53373c multimedia/avidemux/distinfo
--- a/multimedia/avidemux/distinfo      Thu Mar 11 10:52:11 2004 +0000
+++ b/multimedia/avidemux/distinfo      Thu Mar 11 10:53:05 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2004/03/11 10:53:05 jmmv Exp $
 
 SHA1 (avidemux-2.0.18.tar.gz) = ce3b6de5bdcade98ea564ec496de4eb370cd5740
 Size (avidemux-2.0.18.tar.gz) = 2518712 bytes
 SHA1 (patch-aa) = 441462c537aa8a2205b6c1d9ab160afc34b5c967
+SHA1 (patch-ab) = cb3aa64dfe3d48bca554e5f8bd857152cdfd309c
diff -r 93ba99bbc3b5 -r 85910c53373c multimedia/avidemux/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avidemux/patches/patch-ab      Thu Mar 11 10:53:05 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/03/11 10:53:05 jmmv Exp $
+
+--- adm_lavcodec/dsputil.h.orig        2003-09-16 19:52:00.000000000 +0200
++++ adm_lavcodec/dsputil.h
+@@ -477,7 +477,7 @@ static int name16(void /*MpegEncContext*
+           +name8(s, dst+8+8*stride, src+8+8*stride, stride);\
+ }
+ 
+-#ifndef HAVE_LRINTF
++#if defined(USE_MMX) && !defined(HAVE_LRINTF)
+ /* XXX: add ISOC specific test to avoid specific BSD testing. */
+ /* better than nothing implementation. */
+ /* btw, rintf() is existing on fbsd too -- alex */



Home | Main Index | Thread Index | Old Index