pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/mpeg-lib Remove malloc.h includes and use std...
details: https://anonhg.NetBSD.org/pkgsrc/rev/60859b9fca14
branches: trunk
changeset: 462497:60859b9fca14
user: danw <danw%pkgsrc.org@localhost>
date: Sat Oct 04 15:54:39 2003 +0000
description:
Remove malloc.h includes and use stdlib.h everywhere. (Fixes Darwin build)
diffstat:
graphics/mpeg-lib/distinfo | 30 +++++++++++++++---------------
graphics/mpeg-lib/patches/patch-aa | 18 ++++++++++++------
graphics/mpeg-lib/patches/patch-ab | 6 ++----
graphics/mpeg-lib/patches/patch-ac | 11 +++++------
graphics/mpeg-lib/patches/patch-ad | 12 ++++++------
graphics/mpeg-lib/patches/patch-ae | 12 +++++++-----
graphics/mpeg-lib/patches/patch-af | 13 +++++++------
graphics/mpeg-lib/patches/patch-ag | 12 +++++++-----
graphics/mpeg-lib/patches/patch-ah | 13 +++++++------
graphics/mpeg-lib/patches/patch-ai | 12 ++++++------
graphics/mpeg-lib/patches/patch-aj | 12 ++++++------
graphics/mpeg-lib/patches/patch-ak | 13 +++++++------
graphics/mpeg-lib/patches/patch-al | 13 +++++++------
graphics/mpeg-lib/patches/patch-am | 13 +++++++------
graphics/mpeg-lib/patches/patch-an | 13 +++++++------
15 files changed, 108 insertions(+), 95 deletions(-)
diffs (truncated from 391 to 300 lines):
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/distinfo
--- a/graphics/mpeg-lib/distinfo Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/distinfo Sat Oct 04 15:54:39 2003 +0000
@@ -1,20 +1,20 @@
-$NetBSD: distinfo,v 1.5 2001/08/06 15:00:31 tron Exp $
+$NetBSD: distinfo,v 1.6 2003/10/04 15:54:39 danw Exp $
SHA1 (mpeg_lib-1.3.1.tar.gz) = 0ea4f8b31e4f316d99c2034d76619988f75147dc
Size (mpeg_lib-1.3.1.tar.gz) = 152092 bytes
-SHA1 (patch-aa) = 1dc0008ccba4ea2db49b5d42ffde588b19e376c2
-SHA1 (patch-ab) = f81f1e71ae709f98663470a61cbe05e9fb1f387f
-SHA1 (patch-ac) = 520581e27188602d833ff6b379a9a6cbbff84bb2
-SHA1 (patch-ad) = eebb31fcb51c20eee42078ea361e907030948c87
-SHA1 (patch-ae) = af6a9886fa0b6152831ccb34419ebe049332d688
-SHA1 (patch-af) = 3c79a7425fa62372530ea129f0e1f782c1ab4614
-SHA1 (patch-ag) = 5d3fa43eb1fff3d0b9178bf5e00dad22e139739a
-SHA1 (patch-ah) = 80436c19f6e097c853f4926a65779058dbbe5c36
-SHA1 (patch-ai) = 91cc6cfc73d6938a187c02aa606248ea81007fab
-SHA1 (patch-aj) = d89264c70cae7debf08cceb38e19ada642391a11
-SHA1 (patch-ak) = 213af68860c8dd8901555cb04aa9359a77666cf3
-SHA1 (patch-al) = 5d5c793a18d34327fce2edf544c10a3fd94c9e80
-SHA1 (patch-am) = 67b3bbe3bab8354b853bdf99535a2e11501500f9
-SHA1 (patch-an) = 59149da95dc7a6c85b4e219714fd8e0bfa5de1c2
+SHA1 (patch-aa) = 6f43a8a94c8efa3f241891fe479a1b93406d2266
+SHA1 (patch-ab) = a97c3c8b411975ee51ef25cd6a0a66aa967ac064
+SHA1 (patch-ac) = 20b8e16bcbcd183441855a9277b9042d2ec7bcf0
+SHA1 (patch-ad) = 822fcd6a1908b4b0c31b9a565929bbd0f37f31af
+SHA1 (patch-ae) = 79ff90b04dc9e9b1a55bb5800263f29d193d0abe
+SHA1 (patch-af) = b4cbba0e6e08ee5b9e72f7ff8ede0fc3f615aab0
+SHA1 (patch-ag) = fbc47b594a0c7184d46a72f748109b3114e94234
+SHA1 (patch-ah) = 9c9460a86c6384955016c42e58b0f4e66743650e
+SHA1 (patch-ai) = 9573d9b58fa55ead4d51ede01f4f3fe24121408a
+SHA1 (patch-aj) = 5fbff44803b11344fde25f94f3466f4af3e40633
+SHA1 (patch-ak) = e6dd6f3e902ee774d06aa93cfa6ac5ead9df7aa9
+SHA1 (patch-al) = f63df4035b3f33ac778e7bde1e478434826c34ba
+SHA1 (patch-am) = b2f7afdd74c28bd6345f1ac291577103bf8196f3
+SHA1 (patch-an) = 3b23f238fcdc1321d17d19be74c7e670b249c5fc
SHA1 (patch-ao) = 84caaa6c7b9cb5eb7f7455323767aa6753e92ff7
SHA1 (patch-ap) = 89ce52d7878966120638a1bce22666ee8b83fa7e
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-aa
--- a/graphics/mpeg-lib/patches/patch-aa Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-aa Sat Oct 04 15:54:39 2003 +0000
@@ -1,20 +1,26 @@
-$NetBSD: patch-aa,v 1.4 2001/08/02 13:28:45 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2003/10/04 15:54:39 danw Exp $
--- wrapper.c.orig Sun Aug 8 20:22:14 1999
-+++ wrapper.c
-@@ -55,6 +55,11 @@
++++ wrapper.c Mon Sep 15 22:50:34 2003
+@@ -44,7 +44,6 @@
+ ---------------------------------------------------------------------------- */
+
+ #include <config.h>
+-#include <malloc.h>
+ #include <memory.h>
+ #include <stdio.h>
+ #include <errno.h>
+@@ -55,6 +54,9 @@
#include "globals.h"
#include "my_dmalloc.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
+#include <string.h>
-+#endif
+
#define BUF_LENGTH 80000
-@@ -341,7 +346,7 @@
+@@ -341,7 +343,7 @@
@CREATED : 94/6/17, Greg Ward.
@MODIFIED : 95/3/18, GW: added MPEG_CMAP_INDEX option.
---------------------------------------------------------------------------- */
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ab
--- a/graphics/mpeg-lib/patches/patch-ab Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ab Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,12 @@
-$NetBSD: patch-ab,v 1.3 2001/08/02 13:28:45 jlam Exp $
+$NetBSD: patch-ab,v 1.4 2003/10/04 15:54:39 danw Exp $
--- globals.c.orig Sat Jul 31 20:17:20 1999
+++ globals.c
-@@ -63,6 +63,9 @@
+@@ -63,6 +63,7 @@
#include "globals.h"
#include "my_dmalloc.h"
-+#ifdef __NetBSD__
+#include <string.h>
-+#endif
/* Universal global variables -- those needed by the decoding engine: */
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ac
--- a/graphics/mpeg-lib/patches/patch-ac Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ac Sat Oct 04 15:54:39 2003 +0000
@@ -1,15 +1,14 @@
-$NetBSD: patch-ac,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ac,v 1.4 2003/10/04 15:54:39 danw Exp $
--- 24bit.c.orig Fri Jul 23 23:59:25 1999
-+++ 24bit.c
-@@ -30,6 +30,10 @@
++++ 24bit.c Mon Sep 15 22:49:14 2003
+@@ -30,7 +30,8 @@
#include "dither.h"
#include "proto.h"
#include <time.h>
-+#ifdef __NetBSD__
+-#include <malloc.h>
+#include <stdlib.h>
-+#endif
+
- #include <malloc.h>
#include "my_dmalloc.h"
+ /*
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ad
--- a/graphics/mpeg-lib/patches/patch-ad Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ad Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-ad,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ad,v 1.4 2003/10/04 15:54:39 danw Exp $
--- gdith.c.orig Sat Jul 24 00:04:42 1999
-+++ gdith.c
-@@ -23,6 +23,9 @@
++++ gdith.c Mon Sep 15 22:49:55 2003
+@@ -21,8 +21,8 @@
+
+
#include <config.h>
- #include <malloc.h>
+-#include <malloc.h>
#include <memory.h>
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "mpeg.h"
#include "dither.h"
#include "video.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ae
--- a/graphics/mpeg-lib/patches/patch-ae Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ae Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,16 @@
-$NetBSD: patch-ae,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ae,v 1.4 2003/10/04 15:54:39 danw Exp $
--- fs2.c.orig Fri Jul 23 23:40:17 1999
-+++ fs2.c
-@@ -23,6 +23,9 @@
++++ fs2.c Mon Sep 15 22:49:38 2003
+@@ -19,10 +19,10 @@
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+ */
+ #include <config.h>
+-#include <malloc.h>
#include <memory.h>
#include "video.h"
#include "dither.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "fs2.h"
#include "proto.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-af
--- a/graphics/mpeg-lib/patches/patch-af Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-af Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-af,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-af,v 1.4 2003/10/04 15:54:39 danw Exp $
--- fs2fast.c.orig Fri Jul 23 23:59:24 1999
-+++ fs2fast.c
-@@ -22,6 +22,9 @@
- #include <malloc.h>
++++ fs2fast.c Mon Sep 15 22:49:44 2003
+@@ -19,9 +19,9 @@
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+ */
+ #include <config.h>
+-#include <malloc.h>
#include <memory.h>
#include "video.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "proto.h"
#include "dither.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ag
--- a/graphics/mpeg-lib/patches/patch-ag Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ag Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,16 @@
-$NetBSD: patch-ag,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ag,v 1.4 2003/10/04 15:54:39 danw Exp $
--- fs4.c.orig Fri Jul 23 23:59:24 1999
-+++ fs4.c
-@@ -25,6 +25,9 @@
++++ fs4.c Mon Sep 15 22:49:49 2003
+@@ -21,10 +21,10 @@
+ /* This file contains C code to do YCrCb -> colormap space. */
+
+ #include <config.h>
+-#include <malloc.h>
#include <memory.h>
#include "fs4.h"
#include "video.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "proto.h"
#include "dither.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ah
--- a/graphics/mpeg-lib/patches/patch-ah Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ah Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-ah,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ah,v 1.4 2003/10/04 15:54:39 danw Exp $
--- hybrid.c.orig Fri Jul 23 23:50:51 1999
-+++ hybrid.c
-@@ -24,6 +24,9 @@
- #include <malloc.h>
++++ hybrid.c Mon Sep 15 22:50:01 2003
+@@ -21,9 +21,9 @@
+ /* This file contains C code to implement an ordered dither. */
+
+ #include <config.h>
+-#include <malloc.h>
#include <memory.h>
#include "video.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "proto.h"
#include "dither.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ai
--- a/graphics/mpeg-lib/patches/patch-ai Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ai Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-ai,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ai,v 1.4 2003/10/04 15:54:39 danw Exp $
--- hybriderr.c.orig Sat Jul 31 20:05:24 1999
-+++ hybriderr.c
-@@ -26,6 +26,9 @@
++++ hybriderr.c Mon Sep 15 22:50:05 2003
+@@ -24,8 +24,8 @@
+
+ #include <config.h>
#include <memory.h>
- #include <malloc.h>
+-#include <malloc.h>
#include "video.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "proto.h"
#include "dither.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-aj
--- a/graphics/mpeg-lib/patches/patch-aj Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-aj Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-aj,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-aj,v 1.4 2003/10/04 15:54:39 danw Exp $
--- 2x2.c.orig Sat Jul 24 00:06:22 1999
-+++ 2x2.c
-@@ -23,6 +23,9 @@
++++ 2x2.c Mon Sep 15 22:49:32 2003
+@@ -21,8 +21,8 @@
+
+ #include <config.h>
#include <stdlib.h>
- #include <malloc.h>
+-#include <malloc.h>
#include "video.h"
-+#ifdef __NetBSD__
+#include <stdlib.h>
-+#endif
#include "dither.h"
#include "proto.h"
#include "my_dmalloc.h"
diff -r 2bab20cd9c6c -r 60859b9fca14 graphics/mpeg-lib/patches/patch-ak
--- a/graphics/mpeg-lib/patches/patch-ak Sat Oct 04 12:02:12 2003 +0000
+++ b/graphics/mpeg-lib/patches/patch-ak Sat Oct 04 15:54:39 2003 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-ak,v 1.3 2001/08/02 13:28:46 jlam Exp $
+$NetBSD: patch-ak,v 1.4 2003/10/04 15:54:39 danw Exp $
--- mono.c.orig Fri Jul 23 23:59:22 1999
-+++ mono.c
Home |
Main Index |
Thread Index |
Old Index