pkgsrc/audio/spiralsynth/patches/patch-ae
marino 0bcd89471c audio/spiralsynth: Fix iostream / Fix DragonFly / amd64
Replace <iostream.h> and <fstream.h> with their c++ counterparts.
Addition of <string.h> was originally under a DragonFly macro, but
this was removed when it was shown NetBSD 5.99 needed it too.
Allow package to build on all x86_64 architectures.
2011-11-23 08:32:10 +00:00

15 lines
371 B
Text

$NetBSD: patch-ae,v 1.2 2011/11/23 08:32:10 marino Exp $
--- SpiralSound/SpiralInfo.h.orig 2002-06-02 15:44:45.000000000 +0000
+++ SpiralSound/SpiralInfo.h
@@ -16,7 +16,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <iostream.h>
+using namespace std;
+
+#include <iostream>
#include <string>
#include <stdlib.h>