pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/xv Do not include malloc.h on Darwin, since i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/147fa86ce35d
branches: trunk
changeset: 509856:147fa86ce35d
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Mar 15 19:27:31 2006 +0000
description:
Do not include malloc.h on Darwin, since it is not available. Patches
provided by John D. Baker in PR pkg/31871.
diffstat:
graphics/xv/distinfo | 5 +++--
graphics/xv/patches/patch-aa | 14 ++++++++++++++
graphics/xv/patches/patch-af | 17 ++++++++++++++---
3 files changed, 31 insertions(+), 5 deletions(-)
diffs (71 lines):
diff -r 6c6bd8b6ed12 -r 147fa86ce35d graphics/xv/distinfo
--- a/graphics/xv/distinfo Wed Mar 15 19:27:05 2006 +0000
+++ b/graphics/xv/distinfo Wed Mar 15 19:27:31 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/08/10 16:50:18 he Exp $
+$NetBSD: distinfo,v 1.12 2006/03/15 19:27:31 minskim Exp $
SHA1 (xv-3.10a.tar.gz) = 9e6372f154be9e9e355972cbeb91d98d9c342474
RMD160 (xv-3.10a.tar.gz) = 7d545e0c0e5b0120a7d026ea549cba19a53fbc0d
@@ -6,9 +6,10 @@
SHA1 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = deb42fc30697312f13fcedb88f10cc3ed0ced8ac
RMD160 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = d199e7d1b6c5162e0cad09d4118b3735f1d156ef
Size (xv-3.10a-jumbo-patches-20050501.tar.bz2) = 369886 bytes
+SHA1 (patch-aa) = 9bfd1e6a55766e4c6f60907a5f58a882657dca9b
SHA1 (patch-ac) = cc0da5cefbb4a13b86daaca482c52ece4bc3294c
SHA1 (patch-ad) = 3a49ca0152f6a7d6cf79348e3b5308da509b63ea
-SHA1 (patch-af) = bff31d4bc15986e293cf4796dcd3df808057f6db
+SHA1 (patch-af) = 1beddc2abe530871fcdbb2cea5682225c194bd4d
SHA1 (patch-ah) = 830139139ddf49a505786cde8930ba1e9ae006f4
SHA1 (patch-ai) = 10febc95047fc25a3b93c157eb39ed1ed7a30bc6
SHA1 (patch-aj) = 7f40c002d8a16b1507c6171db543285447e3cf81
diff -r 6c6bd8b6ed12 -r 147fa86ce35d graphics/xv/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xv/patches/patch-aa Wed Mar 15 19:27:31 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.4 2006/03/15 19:27:31 minskim Exp $
+
+--- vdcomp.c.orig 2006-03-15 11:00:24.000000000 -0800
++++ vdcomp.c
+@@ -116,7 +116,8 @@
+ # if defined(hp300) || defined(hp800) || defined(NeXT)
+ # include <sys/malloc.h> /* it's in 'sys' on HPs and NeXT */
+ # else
+-# if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
++# if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) \
++ && !defined(__DARWIN__)
+ /*
+ I want to use BSD macro for checking if this OS is *BSD or not,
+ but the macro is defined in <sys/parm.h>, which I don't know all
diff -r 6c6bd8b6ed12 -r 147fa86ce35d graphics/xv/patches/patch-af
--- a/graphics/xv/patches/patch-af Wed Mar 15 19:27:05 2006 +0000
+++ b/graphics/xv/patches/patch-af Wed Mar 15 19:27:31 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.5 2005/08/10 16:50:18 he Exp $
+$NetBSD: patch-af,v 1.6 2006/03/15 19:27:31 minskim Exp $
---- xv.h.orig 2005-07-29 15:52:23.000000000 +0200
+--- xv.h.orig 2006-03-15 11:00:24.000000000 -0800
+++ xv.h
@@ -137,9 +137,7 @@
#endif
@@ -31,7 +31,18 @@
# define ERRSTR(x) strerror(x)
# else
# define ERRSTR(x) sys_errlist[x]
-@@ -345,7 +343,11 @@
+@@ -215,7 +213,9 @@
+ # if defined(hp300) || defined(hp800) || defined(NeXT)
+ # include <sys/malloc.h> /* it's in 'sys' on HPs and NeXT */
+ # else
+-# include <malloc.h>
++# ifndef __DARWIN__
++# include <malloc.h>
++# endif
+ # endif
+ # endif
+ #endif /* !VMS */
+@@ -345,7 +345,11 @@
#endif
#ifndef S_IRWUSR
Home |
Main Index |
Thread Index |
Old Index