pkgsrc/audio/spiralloops/patches/patch-ag
marino d7480e61d4 audio/spiralloops: 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 x86_64 needed it too.
Allow package to build on all x86_64 architectures.
2011-11-23 08:20:38 +00:00

16 lines
344 B
Text

$NetBSD: patch-ag,v 1.2 2011/11/23 08:20:38 marino Exp $
--- SpiralSound/Sample.C.orig 2001-04-19 20:48:13.000000000 +0000
+++ SpiralSound/Sample.C
@@ -18,9 +18,9 @@
#include <string.h>
#include "Sample.h"
-#include "iostream.h"
+#include <iostream>
-Sample::Sample(int Len=0) :
+Sample::Sample(int Len) :
m_Data(NULL),
m_Length(0)
{