SOURCES: mplayerxp-limits.patch (NEW), mplayerxp-lrint.patch (NEW), mplayer...

uzsolt uzsolt at pld-linux.org
Fri Apr 10 12:01:38 CEST 2009


Author: uzsolt                       Date: Fri Apr 10 10:01:38 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial

---- Files affected:
SOURCES:
   mplayerxp-limits.patch (NONE -> 1.1)  (NEW), mplayerxp-lrint.patch (NONE -> 1.1)  (NEW), mplayerxp-lrmi.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mplayerxp-limits.patch
diff -u /dev/null SOURCES/mplayerxp-limits.patch:1.1
--- /dev/null	Fri Apr 10 12:01:39 2009
+++ SOURCES/mplayerxp-limits.patch	Fri Apr 10 12:01:31 2009
@@ -0,0 +1,10 @@
+--- mplayerxp-0.7.2-orig/mplayerxp/libmpdemux/asf_streaming.c	2007-11-17 13:43:35.000000000 +0100
++++ mplayerxp-0.7.2/mplayerxp/libmpdemux/asf_streaming.c	2009-04-10 11:21:56.830316207 +0200
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
++#include <limits.h>
+ 
+ #include "config.h"
+ #include "../mplayer.h"

================================================================
Index: SOURCES/mplayerxp-lrint.patch
diff -u /dev/null SOURCES/mplayerxp-lrint.patch:1.1
--- /dev/null	Fri Apr 10 12:01:40 2009
+++ SOURCES/mplayerxp-lrint.patch	Fri Apr 10 12:01:32 2009
@@ -0,0 +1,26 @@
+--- mplayerxp-0.7.2-orig/mplayerxp/configure	2009-01-25 09:00:03.000000000 +0100
++++ mplayerxp-0.7.2/mplayerxp/configure	2009-04-10 11:15:37.826905946 +0200
+@@ -1073,19 +1073,19 @@
+ /* Define this if your system has the llrint in "math.h" header file */
+ #ifndef HAVE_LLRINT
+ #define HAVE_LLRINT 1
+-static inline long long int llrint(double x)
++/*static inline long long int llrint(double x)
+ {
+     return (int)(x + (((int)x-x) < 0 ? -0.5 : 0.5));
+-}
++}*/
+ #endif
+ 
+ /* Define this if your system has the lrint in "math.h" header file */
+ #ifndef HAVE_LRINT
+ #define HAVE_LRINT 1
+-static inline long int lrint(double x)
++/*static inline long int lrint(double x)
+ {
+     return (int)(x + (((int)x-x) < 0 ? -0.5 : 0.5));
+-}
++}*/
+ #endif
+ 
+ /* Define this if your system has the HUGE in "math.h" header file */

================================================================
Index: SOURCES/mplayerxp-lrmi.patch
diff -u /dev/null SOURCES/mplayerxp-lrmi.patch:1.1
--- /dev/null	Fri Apr 10 12:01:41 2009
+++ SOURCES/mplayerxp-lrmi.patch	Fri Apr 10 12:01:32 2009
@@ -0,0 +1,19 @@
+--- mplayerxp-0.7.2-orig/mplayerxp/osdep/lrmi.h	2002-03-23 12:09:21.000000000 +0100
++++ mplayerxp-0.7.2/mplayerxp/osdep/lrmi.h	2009-04-10 11:43:47.496737137 +0200
+@@ -14,6 +14,16 @@
+ #ifndef LRMI_H
+ #define LRMI_H
+ 
++#if defined(__linux__)
++#ifndef TF_MASK
++#define TF_MASK X86_EFLAGS_TF
++#define IF_MASK X86_EFLAGS_IF
++#define IOPL_MASK X86_EFLAGS_IOPL
++#define VIF_MASK X86_EFLAGS_VIF
++#define VIP_MASK X86_EFLAGS_VIP
++#endif
++#endif
++
+ struct LRMI_regs
+ 	{
+ 	unsigned int edi;
================================================================


More information about the pld-cvs-commit mailing list