pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/transcode/patches Add the modfps patch file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f0fb74d054f
branches:  trunk
changeset: 476279:8f0fb74d054f
user:      sekiya <sekiya%pkgsrc.org@localhost>
date:      Sun Jun 06 02:28:33 2004 +0000

description:
Add the modfps patch file.

diffstat:

 multimedia/transcode/patches/patch-av |  18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 2b074bf67d51 -r 8f0fb74d054f multimedia/transcode/patches/patch-av
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-av     Sun Jun 06 02:28:33 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-av,v 1.1 2004/06/06 02:28:33 sekiya Exp $
+
+--- filter/filter_modfps.c.orig        2003-08-19 01:08:57.000000000 +0900
++++ filter/filter_modfps.c     2004-06-02 21:26:24.000000000 +0900
+@@ -77,6 +77,13 @@
+ #include "framebuffer.h"
+ #include "optstr.h"
+ 
++#if !defined(HAVE_LRINTF)
++static inline long int lrint(double x)
++{
++    return (long)(rint(x));
++}
++#endif
++
+ static int show_results=0;
+ 
+ /*-------------------------------------------------



Home | Main Index | Thread Index | Old Index