pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk malloc.h -> stdlib.h



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b4c22976e14
branches:  trunk
changeset: 531428:2b4c22976e14
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 30 09:51:03 2007 +0000

description:
malloc.h -> stdlib.h

diffstat:

 graphics/vtk/distinfo         |   3 +-
 graphics/vtk/patches/patch-ag |  46 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 1 deletions(-)

diffs (64 lines):

diff -r 3fb5c72f594a -r 2b4c22976e14 graphics/vtk/distinfo
--- a/graphics/vtk/distinfo     Mon Jul 30 08:41:20 2007 +0000
+++ b/graphics/vtk/distinfo     Mon Jul 30 09:51:03 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2007/06/18 19:15:23 joerg Exp $
+$NetBSD: distinfo,v 1.7 2007/07/30 09:51:03 joerg Exp $
 
 SHA1 (VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz) = 31ab01c16b3d44ce201d8180af431833cf6527d8
 RMD160 (VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz) = 71a092cf929cfaeeb8f297334cadb829209b9ad7
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = efc49225d42953bb2fd0e099130e415a78b5b522
 SHA1 (patch-ae) = 1860d6e31bda808aed6340a8493c5e5d17eeef2f
 SHA1 (patch-af) = bdac3992a39dc19b4a231f02cc3eae4cd4b1f403
+SHA1 (patch-ag) = ab904d1c464f2873460b41ab4c78bf0fe70d36d1
diff -r 3fb5c72f594a -r 2b4c22976e14 graphics/vtk/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vtk/patches/patch-ag     Mon Jul 30 09:51:03 2007 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-ag,v 1.1 2007/07/30 09:51:03 joerg Exp $
+
+--- Hybrid/vtkVRMLImporter.cxx.orig    2007-07-30 08:46:08.000000000 +0000
++++ Hybrid/vtkVRMLImporter.cxx
+@@ -59,6 +59,8 @@
+ #include "vtkTransform.h"
+ #include "vtkVRML.h"
+ 
++#include <stdlib.h>
++
+ #ifdef WIN32
+ #pragma warning( disable : 4005 )
+ #endif
+@@ -491,10 +493,6 @@ VrmlNodeType::has(const vtkVRMLVectorTyp
+ 
+ #define YYDEBUG 1
+ 
+-#ifndef __APPLE__
+-#include <malloc.h>
+-#endif
+-
+ #ifdef USE_STD_NAMESPACE
+ using namespace std;
+ #endif
+@@ -4174,21 +4172,6 @@ int yywrap() { BEGIN INITIAL; return 1; 
+  * section 1.
+  */
+ 
+-#ifdef YY_MALLOC_DECL
+-YY_MALLOC_DECL
+-#else
+-#if __STDC__
+-#ifndef __cplusplus
+-#include <stdlib.h>
+-#endif
+-#else
+-/* Just try to get by without declaring the routines.  This will fail
+- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
+- * or sizeof(void*) != sizeof(int).
+- */
+-#endif
+-#endif
+-
+ /* Amount of stuff to slurp up with each read. */
+ #ifndef YY_READ_BUF_SIZE
+ #define YY_READ_BUF_SIZE 8192



Home | Main Index | Thread Index | Old Index