pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/impress
Module Name: pkgsrc
Committed By: joerg
Date: Thu May 14 19:27:41 UTC 2020
Modified Files:
pkgsrc/graphics/impress: distinfo
pkgsrc/graphics/impress/patches: patch-ac patch-font3d_build.h
patch-font3d_font3d.cc patch-font3d_geometry.cc
patch-font3d_geometry.h patch-font3d_vector.h
Log Message:
Use smaller guns than "using namespace std" which creates conflicts with
more modern STL implementations.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/impress/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/impress/patches/patch-ac
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/impress/patches/patch-font3d_build.h \
pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc \
pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc \
pkgsrc/graphics/impress/patches/patch-font3d_geometry.h \
pkgsrc/graphics/impress/patches/patch-font3d_vector.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/impress/distinfo
diff -u pkgsrc/graphics/impress/distinfo:1.8 pkgsrc/graphics/impress/distinfo:1.9
--- pkgsrc/graphics/impress/distinfo:1.8 Tue Nov 3 21:34:04 2015
+++ pkgsrc/graphics/impress/distinfo Thu May 14 19:27:41 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 21:34:04 agc Exp $
+$NetBSD: distinfo,v 1.9 2020/05/14 19:27:41 joerg Exp $
SHA1 (imp1.1b9.tar.gz) = 73d3ce69d2d31af0b8e6bfb3825ebcd2f519024c
RMD160 (imp1.1b9.tar.gz) = 2f0d49d90baa1c92edf564bf163147679c4cbaf4
@@ -6,14 +6,14 @@ SHA512 (imp1.1b9.tar.gz) = 1b4c086717a57
Size (imp1.1b9.tar.gz) = 1334533 bytes
SHA1 (patch-aa) = a872102d3b3205b6e8e4d44839b150e94aa6fd8a
SHA1 (patch-ab) = f6e71dbd213cfdc447535bc25325c9417a99c498
-SHA1 (patch-ac) = ea5784b8da9276076aa76f98bc61445d70fafb54
+SHA1 (patch-ac) = 2b3c403b3c111a8104234f33318c878251fc8067
SHA1 (patch-ad) = c9c1e3533423efa3484543ca16aca80362134373
-SHA1 (patch-font3d_build.h) = b0ea326fad30e5b96eb2b9e0d376969cec5de90f
-SHA1 (patch-font3d_font3d.cc) = 99b0a41b0347e3ed94ecdcc3519c987ff8d5ea6a
+SHA1 (patch-font3d_build.h) = 0f41eebdcc056e31318a1ce8ace83e0a5027db46
+SHA1 (patch-font3d_font3d.cc) = 637171446d50de0e1913126c433529bd05d3ebc0
SHA1 (patch-font3d_font3d.h) = 42f74e7bb4c67de08f67b3f8bd37a732f23f7ad4
-SHA1 (patch-font3d_geometry.cc) = a4449a16aa3f4175c0460aedde60c152458c264b
-SHA1 (patch-font3d_geometry.h) = 09d0c66e0e568fc4f33d37c54d30cdc376e7acb5
-SHA1 (patch-font3d_vector.h) = 2be02ddcf448a6a5fcad69a3a7d70c5da629fc6d
+SHA1 (patch-font3d_geometry.cc) = 4834919389fd382a48ceacb3e70628edda54e6e5
+SHA1 (patch-font3d_geometry.h) = ccf6935ca6e44fa427eb2d72bb473c97d3544e9b
+SHA1 (patch-font3d_vector.h) = 123c600863fbb951a116d34f1c07809377d418cc
SHA1 (patch-pstoedit__3.21_src_drvtk.cpp) = 7d6b3ffea8fab4bc35a8561f42545d944669a3a1
SHA1 (patch-pstoedit__3.21_src_drvtk.h) = 39395b97d9ced63930732ae6912692d1243a34b9
SHA1 (patch-src_drvtk.cpp) = 24bc80930f3870930ff06ffbed68eaab086faa9b
Index: pkgsrc/graphics/impress/patches/patch-ac
diff -u pkgsrc/graphics/impress/patches/patch-ac:1.2 pkgsrc/graphics/impress/patches/patch-ac:1.3
--- pkgsrc/graphics/impress/patches/patch-ac:1.2 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-ac Thu May 14 19:27:41 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2020/05/14 19:27:41 joerg Exp $
--- font3d/build.cc.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/build.cc
@@ -11,7 +11,15 @@ $NetBSD: patch-ac,v 1.2 2011/11/25 21:57
#include "vector.h"
#include "truetype.h"
-@@ -367,7 +367,7 @@ void PolygonizeContour(TTFont& font,
+@@ -37,6 +37,7 @@
+ #include "font3d.h"
+ #include "build.h"
+
++using std::endl, std::cout;
+
+ //==============================================================================================
+ // PolygonizeContour()
+@@ -367,7 +368,7 @@ void PolygonizeContour(TTFont& font,
}
}
Index: pkgsrc/graphics/impress/patches/patch-font3d_build.h
diff -u pkgsrc/graphics/impress/patches/patch-font3d_build.h:1.1 pkgsrc/graphics/impress/patches/patch-font3d_build.h:1.2
--- pkgsrc/graphics/impress/patches/patch-font3d_build.h:1.1 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-font3d_build.h Thu May 14 19:27:41 2020
@@ -1,15 +1,13 @@
-$NetBSD: patch-font3d_build.h,v 1.1 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-font3d_build.h,v 1.2 2020/05/14 19:27:41 joerg Exp $
---- font3d/build.h.orig 2011-11-25 18:27:44.000000000 +0000
+--- font3d/build.h.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/build.h
-@@ -31,7 +31,9 @@
+@@ -31,7 +31,7 @@
#ifndef __BUILD_H__
#define __BUILD_H__
-#include <iostream.h>
+#include <iostream>
-+
-+using namespace std;
#include "truetype.h"
#include "geometry.h"
Index: pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc
diff -u pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc:1.1 pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc:1.2
--- pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc:1.1 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-font3d_font3d.cc Thu May 14 19:27:41 2020
@@ -1,6 +1,6 @@
-$NetBSD: patch-font3d_font3d.cc,v 1.1 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-font3d_font3d.cc,v 1.2 2020/05/14 19:27:41 joerg Exp $
---- font3d/font3d.cc.orig 2011-11-25 18:27:38.000000000 +0000
+--- font3d/font3d.cc.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/font3d.cc
@@ -30,8 +30,8 @@
@@ -13,3 +13,11 @@ $NetBSD: patch-font3d_font3d.cc,v 1.1 20
#include <stdio.h>
#include <string.h>
+@@ -39,6 +39,7 @@
+ #include "build.h"
+ #include "font3d.h"
+
++using std::ios, std::ofstream, std::setprecision, std::ifstream, std::endl, std::cout;
+
+ //==============================================================================================
+ // PrintGreeting()
Index: pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc
diff -u pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc:1.1 pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc:1.2
--- pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc:1.1 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-font3d_geometry.cc Thu May 14 19:27:41 2020
@@ -1,8 +1,8 @@
-$NetBSD: patch-font3d_geometry.cc,v 1.1 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-font3d_geometry.cc,v 1.2 2020/05/14 19:27:41 joerg Exp $
---- font3d/geometry.cc.orig 2011-11-25 18:27:42.000000000 +0000
+--- font3d/geometry.cc.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/geometry.cc
-@@ -31,7 +31,7 @@
+@@ -31,11 +31,12 @@
#include <math.h>
#include <stddef.h>
#include <stdio.h>
@@ -11,3 +11,8 @@ $NetBSD: patch-font3d_geometry.cc,v 1.1
#include "vector.h"
#include "geometry.h"
+
++using std::endl, std::cout;
+
+ //==============================================================================================
+ // TRIANGLELIST::Empty() (PUBLIC)
Index: pkgsrc/graphics/impress/patches/patch-font3d_geometry.h
diff -u pkgsrc/graphics/impress/patches/patch-font3d_geometry.h:1.1 pkgsrc/graphics/impress/patches/patch-font3d_geometry.h:1.2
--- pkgsrc/graphics/impress/patches/patch-font3d_geometry.h:1.1 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-font3d_geometry.h Thu May 14 19:27:41 2020
@@ -1,14 +1,14 @@
-$NetBSD: patch-font3d_geometry.h,v 1.1 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-font3d_geometry.h,v 1.2 2020/05/14 19:27:41 joerg Exp $
---- font3d/geometry.h.orig 2011-11-25 18:27:25.000000000 +0000
+--- font3d/geometry.h.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/geometry.h
-@@ -31,7 +31,8 @@
+@@ -31,8 +31,7 @@
#ifndef __GEOMETRY_H__
#define __GEOMETRY_H__
-#include <iostream.h>
+-
+#include <iostream>
-+using namespace std;
-
#include "vector.h"
+ #define TRUE 1
Index: pkgsrc/graphics/impress/patches/patch-font3d_vector.h
diff -u pkgsrc/graphics/impress/patches/patch-font3d_vector.h:1.1 pkgsrc/graphics/impress/patches/patch-font3d_vector.h:1.2
--- pkgsrc/graphics/impress/patches/patch-font3d_vector.h:1.1 Fri Nov 25 21:57:36 2011
+++ pkgsrc/graphics/impress/patches/patch-font3d_vector.h Thu May 14 19:27:41 2020
@@ -1,6 +1,6 @@
-$NetBSD: patch-font3d_vector.h,v 1.1 2011/11/25 21:57:36 joerg Exp $
+$NetBSD: patch-font3d_vector.h,v 1.2 2020/05/14 19:27:41 joerg Exp $
---- font3d/vector.h.orig 2011-11-25 18:27:15.000000000 +0000
+--- font3d/vector.h.orig 2000-07-16 02:37:31.000000000 +0000
+++ font3d/vector.h
@@ -73,7 +73,9 @@
#define __VECTOR_H__
@@ -9,7 +9,7 @@ $NetBSD: patch-font3d_vector.h,v 1.1 201
-#include <iostream.h>
+#include <iostream>
+
-+using namespace std;
++using std::ostream;
class vector
{
Home |
Main Index |
Thread Index |
Old Index