pkgsrc/audio/spiralloops/patches/patch-ap
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

22 lines
587 B
Text

$NetBSD: patch-ap,v 1.2 2011/11/23 08:20:38 marino Exp $
--- GUI/Widgets/Fl_Trigger.C.orig 2001-05-07 20:43:34.000000000 +0000
+++ GUI/Widgets/Fl_Trigger.C
@@ -17,7 +17,7 @@
*/
#include "Fl_Trigger.h"
-#include <iostream.h>
+#include <iostream>
#include <FL/fl_draw.H>
#include <math.h>
#include <stdio.h>
@@ -27,7 +27,7 @@
static const float RADCONV = 0.017453292;
-Fl_Trigger::Fl_Trigger(int x, int y, int w, int h, const char* label=0) :
+Fl_Trigger::Fl_Trigger(int x, int y, int w, int h, const char* label) :
Fl_Widget(x,y,w,h,label),
m_CentreX(0),
m_CentreY(0),