Fix build with newer GCC

This commit is contained in:
joerg 2011-11-25 21:56:46 +00:00
parent 71b3d8f212
commit 50e3fc3ea5
3 changed files with 29 additions and 1 deletions

View file

@ -1,7 +1,9 @@
$NetBSD: distinfo,v 1.3 2007/10/10 22:17:32 rillig Exp $
$NetBSD: distinfo,v 1.4 2011/11/25 21:56:46 joerg Exp $
SHA1 (f4l-0.2.1.tar.bz2) = cae8077e5c6a87a406c78b615fdb69e78a30d330
RMD160 (f4l-0.2.1.tar.bz2) = 318a6c222466637b6f8d7fe955caacb0d1ee35f5
Size (f4l-0.2.1.tar.bz2) = 1502767 bytes
SHA1 (patch-aa) = da7d819893dbbb48ffdb45f14fc72573a59c99bb
SHA1 (patch-ab) = 443ac912b4563cd36d30542d502f4c4a63e68c40
SHA1 (patch-src_f4lmdoc.cpp) = abcd735a46aad8e947bba08c525eb065efef1007
SHA1 (patch-src_flagStonePort_transform-cxx-bsd_transform_FSVector.h) = 3d1973ec3e709cc92eaf325946368bdd92c51a06

View file

@ -0,0 +1,13 @@
$NetBSD: patch-src_f4lmdoc.cpp,v 1.1 2011/11/25 21:56:47 joerg Exp $
--- src/f4lmdoc.cpp.orig 2011-11-25 17:34:16.000000000 +0000
+++ src/f4lmdoc.cpp
@@ -21,7 +21,7 @@
#include <qwidget.h>
#include <qmessagebox.h>
#include <qfiledialog.h>
-#include <iostream.h>
+#include <iostream>
#include <qfiledialog.h>
#include <qprocess.h> // reading ttf files
#include <qimage.h>

View file

@ -0,0 +1,13 @@
$NetBSD: patch-src_flagStonePort_transform-cxx-bsd_transform_FSVector.h,v 1.1 2011/11/25 21:56:47 joerg Exp $
--- src/flagStonePort/transform-cxx-bsd/transform/FSVector.h.orig 2011-11-25 17:28:49.000000000 +0000
+++ src/flagStonePort/transform-cxx-bsd/transform/FSVector.h
@@ -32,7 +32,7 @@
#define __FSVECTOR_H__ 1
#include "FSException.h"
-#include <new.h>
+#include <new>
namespace transform
{