aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-04 01:33:26 +0800
committeralane <alane@FreeBSD.org>2002-09-04 01:33:26 +0800
commit0a924a1cf34f9557ddc8ab24dd7afef609309540 (patch)
tree66f036e0652bf76c28028eecf120471143fb1621 /multimedia
parent64e6f5df742646b563fb52471efd1cf621a592fc (diff)
downloadfreebsd-ports-graphics-0a924a1cf34f9557ddc8ab24dd7afef609309540.tar.gz
freebsd-ports-graphics-0a924a1cf34f9557ddc8ab24dd7afef609309540.tar.zst
freebsd-ports-graphics-0a924a1cf34f9557ddc8ab24dd7afef609309540.zip
Made the mpeglib component compile after values.h was finally removed
from STABLE. PR: n/a Submitted by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kdemultimedia3/files/patch-mpeglib-120
-rw-r--r--multimedia/kdemultimedia3/files/patch-mpeglib-219
-rw-r--r--multimedia/kdemultimedia4/files/patch-mpeglib-120
-rw-r--r--multimedia/kdemultimedia4/files/patch-mpeglib-219
4 files changed, 78 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-mpeglib-1 b/multimedia/kdemultimedia3/files/patch-mpeglib-1
new file mode 100644
index 00000000000..35dc5902450
--- /dev/null
+++ b/multimedia/kdemultimedia3/files/patch-mpeglib-1
@@ -0,0 +1,20 @@
+Index: mpeglib/lib/util/render/x11/imageDeskX11.h
+===================================================================
+RCS file: /home/kde/kdemultimedia/mpeglib/lib/util/render/x11/imageDeskX11.h,v
+retrieving revision 1.2
+diff -u -3 -p -r1.2 imageDeskX11.h
+--- mpeglib/lib/util/render/x11/imageDeskX11.h 2000/12/06 18:42:08 1.2
++++ mpeglib/lib/util/render/x11/imageDeskX11.h 2002/09/01 05:38:51
+@@ -13,7 +13,12 @@
+
+ #ifndef __IMAGEDESKX11_H
+ #define __IMAGEDESKX11_H
++#if defined(__FreeBSD__)
++#include <limits.h>
++#define MAXINT INT_MAX
++#else
+ #include <values.h>
++#endif
+ #include "xinit.h"
+
+ #include "../imageBase.h"
diff --git a/multimedia/kdemultimedia3/files/patch-mpeglib-2 b/multimedia/kdemultimedia3/files/patch-mpeglib-2
new file mode 100644
index 00000000000..84b4c50155a
--- /dev/null
+++ b/multimedia/kdemultimedia3/files/patch-mpeglib-2
@@ -0,0 +1,19 @@
+Index: mpeglib/lib/util/render/x11/x11Surface.h
+===================================================================
+RCS file: /home/kde/kdemultimedia/mpeglib/lib/util/render/x11/x11Surface.h,v
+retrieving revision 1.5
+diff -u -3 -p -r1.5 x11Surface.h
+--- mpeglib/lib/util/render/x11/x11Surface.h 2001/08/08 12:04:28 1.5
++++ mpeglib/lib/util/render/x11/x11Surface.h 2002/09/01 05:40:17
+@@ -14,7 +14,11 @@
+ #ifndef __X11SURFACE_H
+ #define __X11SURFACE_H
+
++#if defined(__FreeBSD__)
++#include <limits.h>
++#else
+ #include <values.h>
++#endif
+ #include "xinit.h"
+ #include "../surface.h"
+ #include "initDisplay.h"
diff --git a/multimedia/kdemultimedia4/files/patch-mpeglib-1 b/multimedia/kdemultimedia4/files/patch-mpeglib-1
new file mode 100644
index 00000000000..35dc5902450
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-mpeglib-1
@@ -0,0 +1,20 @@
+Index: mpeglib/lib/util/render/x11/imageDeskX11.h
+===================================================================
+RCS file: /home/kde/kdemultimedia/mpeglib/lib/util/render/x11/imageDeskX11.h,v
+retrieving revision 1.2
+diff -u -3 -p -r1.2 imageDeskX11.h
+--- mpeglib/lib/util/render/x11/imageDeskX11.h 2000/12/06 18:42:08 1.2
++++ mpeglib/lib/util/render/x11/imageDeskX11.h 2002/09/01 05:38:51
+@@ -13,7 +13,12 @@
+
+ #ifndef __IMAGEDESKX11_H
+ #define __IMAGEDESKX11_H
++#if defined(__FreeBSD__)
++#include <limits.h>
++#define MAXINT INT_MAX
++#else
+ #include <values.h>
++#endif
+ #include "xinit.h"
+
+ #include "../imageBase.h"
diff --git a/multimedia/kdemultimedia4/files/patch-mpeglib-2 b/multimedia/kdemultimedia4/files/patch-mpeglib-2
new file mode 100644
index 00000000000..84b4c50155a
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-mpeglib-2
@@ -0,0 +1,19 @@
+Index: mpeglib/lib/util/render/x11/x11Surface.h
+===================================================================
+RCS file: /home/kde/kdemultimedia/mpeglib/lib/util/render/x11/x11Surface.h,v
+retrieving revision 1.5
+diff -u -3 -p -r1.5 x11Surface.h
+--- mpeglib/lib/util/render/x11/x11Surface.h 2001/08/08 12:04:28 1.5
++++ mpeglib/lib/util/render/x11/x11Surface.h 2002/09/01 05:40:17
+@@ -14,7 +14,11 @@
+ #ifndef __X11SURFACE_H
+ #define __X11SURFACE_H
+
++#if defined(__FreeBSD__)
++#include <limits.h>
++#else
+ #include <values.h>
++#endif
+ #include "xinit.h"
+ #include "../surface.h"
+ #include "initDisplay.h"