slackbuilds_ponce/system/herculesstudio/herculesstudio_gcc47.patch
Niels Horn 77afa5e670 system/herculesstudio: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2012-09-13 17:25:13 -03:00

20 lines
581 B
Diff

--- HercStudio/HerculesExecutor.cpp 2011-07-13 03:13:06.000000000 -0300
+++ HercStudio_patched/HerculesExecutor.cpp 2012-08-09 15:34:30.000000000 -0300
@@ -28,6 +28,7 @@
#include "NamedPipe.h"
#include <cstdio>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
--- HercStudio/MainWindow.cpp 2011-07-13 03:13:06.000000000 -0300
+++ HercStudio_patched/MainWindow.cpp 2012-08-09 15:46:50.000000000 -0300
@@ -57,6 +57,7 @@
#include <QTimer>
#include <iostream>
+#include <unistd.h>
#include "cerrno"
#ifndef hFramework
#include <err.h>