mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Fix build on 10.x
This commit is contained in:
parent
3c8a5b8967
commit
b23ce6574a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345032
audio/spiralloops
@ -33,12 +33,13 @@ post-patch:
|
||||
s:CFLAGS =:CFLAGS +=:g; \
|
||||
s:CXXFLAGS=:CXXFLAGS+=:g; \
|
||||
s:-lm:${PTHREAD_LIBS} -lm:g; \
|
||||
s:/usr/X11R6:${LOCALBASE}:g" \
|
||||
s:/usr/X11R6:${LOCALBASE}:g; \
|
||||
s:gcc:${CC}:; s:g\+\+:${CXX}:" \
|
||||
< ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in
|
||||
|
||||
@${FIND} ${WRKSRC} -type f -name "*.C" -o -name "*.cpp" -o -name "*.h" | ${XARGS} \
|
||||
${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; /^#include "FL/s|.h"$$|.H"|; \
|
||||
s|fl_file_chooser.H|Fl_File_Chooser.H|g'
|
||||
s|fl_file_chooser.H|Fl_File_Chooser.H|g; s|iostream.h|iostream|; s|fstream.h|fstream|'
|
||||
|
||||
pre-install:
|
||||
${ECHO_CMD} bin/SpiralLoops > ${PLIST}
|
||||
|
12
audio/spiralloops/files/patch-GUI-Widgets-Fl__Trigger.h
Normal file
12
audio/spiralloops/files/patch-GUI-Widgets-Fl__Trigger.h
Normal file
@ -0,0 +1,12 @@
|
||||
--- GUI/Widgets/Fl_Trigger.h.orig 2001-04-20 00:48:10.000000000 +0400
|
||||
+++ GUI/Widgets/Fl_Trigger.h 2014-02-13 05:50:41.290374838 +0400
|
||||
@@ -24,6 +24,9 @@
|
||||
#ifndef TRIGGERWIDGET
|
||||
#define TRIGGERWIDGET
|
||||
|
||||
+using std::istream;
|
||||
+using std::ostream;
|
||||
+
|
||||
class Fl_Trigger : public Fl_Widget
|
||||
{
|
||||
public:
|
Loading…
Reference in New Issue
Block a user