diff options
author | tron <tron> | 1998-06-26 23:05:23 +0000 |
---|---|---|
committer | tron <tron> | 1998-06-26 23:05:23 +0000 |
commit | 148d25e3a652f3247a509b0259c73db70441cdc5 (patch) | |
tree | 35546bce83afad103877a810eb1e391a27da2300 | |
parent | 2776f14f153c4128ee313e0d51eaa7d2d6a1b598 (diff) | |
download | pkgsrc-148d25e3a652f3247a509b0259c73db70441cdc5.tar.gz |
Get "mpeg_lib" to compile with "-Werror". Patches supplied by
Tim Rightnour in PR pkg/5629.
-rw-r--r-- | graphics/mpeg-lib/patches/patch-aa | 14 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ab | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ac | 9 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ad | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ae | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-af | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ag | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ah | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ai | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-aj | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-ak | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-al | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-am | 8 | ||||
-rw-r--r-- | graphics/mpeg-lib/patches/patch-an | 8 |
14 files changed, 119 insertions, 0 deletions
diff --git a/graphics/mpeg-lib/patches/patch-aa b/graphics/mpeg-lib/patches/patch-aa new file mode 100644 index 00000000000..ba0e4596d2d --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-aa @@ -0,0 +1,14 @@ +--- wrapper.c.orig Tue Oct 10 22:08:39 1995 ++++ wrapper.c Sat Jun 27 00:58:27 1998 +@@ -52,6 +52,11 @@ + #include "dither.h" + #include "globals.h" + ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#include <string.h> ++#endif ++ + #define BUF_LENGTH 80000 + + diff --git a/graphics/mpeg-lib/patches/patch-ab b/graphics/mpeg-lib/patches/patch-ab new file mode 100644 index 00000000000..ea1ca010ccc --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ab @@ -0,0 +1,8 @@ +--- globals.c.orig Mon Sep 25 10:22:06 1995 ++++ globals.c Sat Jun 20 00:33:26 1998 +@@ -64,2 +64,5 @@ + ++#ifdef __NetBSD__ ++#include <string.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ac b/graphics/mpeg-lib/patches/patch-ac new file mode 100644 index 00000000000..5b54a127563 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ac @@ -0,0 +1,9 @@ +--- 24bit.c.orig Mon Sep 25 10:22:04 1995 ++++ 24bit.c Sat Jun 20 00:33:26 1998 +@@ -32,2 +32,6 @@ + #include <time.h> ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif ++ + diff --git a/graphics/mpeg-lib/patches/patch-ad b/graphics/mpeg-lib/patches/patch-ad new file mode 100644 index 00000000000..08e343f2899 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ad @@ -0,0 +1,8 @@ +--- gdith.c.orig Mon Sep 25 10:22:06 1995 ++++ gdith.c Sat Jun 20 00:33:27 1998 +@@ -25,2 +25,5 @@ + #include "globals.h" /* for global variable ditherType */ ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ae b/graphics/mpeg-lib/patches/patch-ae new file mode 100644 index 00000000000..0d1e6f6864b --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ae @@ -0,0 +1,8 @@ +--- fs2.c.orig Mon Sep 25 10:22:05 1995 ++++ fs2.c Sat Jun 20 00:33:27 1998 +@@ -25,2 +25,5 @@ + #include "proto.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-af b/graphics/mpeg-lib/patches/patch-af new file mode 100644 index 00000000000..d9e7323e6ec --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-af @@ -0,0 +1,8 @@ +--- fs2fast.c.orig Mon Sep 25 10:22:05 1995 ++++ fs2fast.c Sat Jun 20 00:33:28 1998 +@@ -24,2 +24,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ag b/graphics/mpeg-lib/patches/patch-ag new file mode 100644 index 00000000000..01e181f8467 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ag @@ -0,0 +1,8 @@ +--- fs4.c.orig Mon Sep 25 10:22:06 1995 ++++ fs4.c Sat Jun 20 00:33:28 1998 +@@ -27,2 +27,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ah b/graphics/mpeg-lib/patches/patch-ah new file mode 100644 index 00000000000..ac9805b6867 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ah @@ -0,0 +1,8 @@ +--- hybrid.c.orig Mon Sep 25 10:22:07 1995 ++++ hybrid.c Sat Jun 20 00:33:28 1998 +@@ -26,2 +26,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ai b/graphics/mpeg-lib/patches/patch-ai new file mode 100644 index 00000000000..47a4631b989 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ai @@ -0,0 +1,8 @@ +--- hybriderr.c.orig Mon Sep 25 10:22:08 1995 ++++ hybriderr.c Sat Jun 20 00:33:29 1998 +@@ -28,2 +28,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-aj b/graphics/mpeg-lib/patches/patch-aj new file mode 100644 index 00000000000..3ffd3195b40 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-aj @@ -0,0 +1,8 @@ +--- 2x2.c.orig Mon Sep 25 10:16:06 1995 ++++ 2x2.c Sat Jun 20 00:33:29 1998 +@@ -25,2 +25,5 @@ + #include "proto.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-ak b/graphics/mpeg-lib/patches/patch-ak new file mode 100644 index 00000000000..941a97c9251 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-ak @@ -0,0 +1,8 @@ +--- mono.c.orig Mon Sep 25 10:22:08 1995 ++++ mono.c Sat Jun 20 00:33:29 1998 +@@ -29,2 +29,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-al b/graphics/mpeg-lib/patches/patch-al new file mode 100644 index 00000000000..c153d907512 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-al @@ -0,0 +1,8 @@ +--- ordered.c.orig Mon Sep 25 10:22:09 1995 ++++ ordered.c Sat Jun 20 00:33:30 1998 +@@ -26,2 +26,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-am b/graphics/mpeg-lib/patches/patch-am new file mode 100644 index 00000000000..b6f5a5a2528 --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-am @@ -0,0 +1,8 @@ +--- ordered2.c.orig Mon Sep 25 10:22:09 1995 ++++ ordered2.c Sat Jun 20 00:33:30 1998 +@@ -26,2 +26,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + diff --git a/graphics/mpeg-lib/patches/patch-an b/graphics/mpeg-lib/patches/patch-an new file mode 100644 index 00000000000..729ba29886f --- /dev/null +++ b/graphics/mpeg-lib/patches/patch-an @@ -0,0 +1,8 @@ +--- mb_ordered.c.orig Mon Sep 25 10:22:08 1995 ++++ mb_ordered.c Sat Jun 20 00:33:30 1998 +@@ -26,2 +26,5 @@ + #include "dither.h" ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif + |