aboutsummaryrefslogtreecommitdiffstats
path: root/audio/zinf/files
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-02-19 01:58:16 +0800
committerpawel <pawel@FreeBSD.org>2014-02-19 01:58:16 +0800
commit5dee6269c9344efc86e4d2d9ebbb3c2525fcf9af (patch)
tree2f8d1a7917d63f8e602b9c67f534f5ebf6364396 /audio/zinf/files
parentc1fff0cb02db6bed0f4750c440ed0c00bb940550 (diff)
downloadfreebsd-ports-gnome-5dee6269c9344efc86e4d2d9ebbb3c2525fcf9af.tar.gz
freebsd-ports-gnome-5dee6269c9344efc86e4d2d9ebbb3c2525fcf9af.tar.zst
freebsd-ports-gnome-5dee6269c9344efc86e4d2d9ebbb3c2525fcf9af.zip
- Fix build with clang
- Support staging - Convert to new options framework PR: ports/186803 (based on) Submitted by: Mathias Monnerville <mathias@monnerville.com> MFH: 2014Q1
Diffstat (limited to 'audio/zinf/files')
-rw-r--r--audio/zinf/files/patch-ftc-kjofol-kjofol.cpp10
-rw-r--r--audio/zinf/files/patch-lib-http-src-Http.cpp10
-rw-r--r--audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp7
3 files changed, 24 insertions, 3 deletions
diff --git a/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp b/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp
new file mode 100644
index 000000000000..7c59022623b5
--- /dev/null
+++ b/audio/zinf/files/patch-ftc-kjofol-kjofol.cpp
@@ -0,0 +1,10 @@
+--- ftc/kjofol/kjofol.cpp.orig 2014-02-18 17:48:40.481824991 +0100
++++ ftc/kjofol/kjofol.cpp 2014-02-18 17:49:16.578764197 +0100
+@@ -47,6 +47,7 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <stdlib.h>
+
+ #include "path_max.h"
+
diff --git a/audio/zinf/files/patch-lib-http-src-Http.cpp b/audio/zinf/files/patch-lib-http-src-Http.cpp
new file mode 100644
index 000000000000..096dcb0cf965
--- /dev/null
+++ b/audio/zinf/files/patch-lib-http-src-Http.cpp
@@ -0,0 +1,10 @@
+--- lib/http/src/Http.cpp.orig 2014-02-15 18:56:59.580491668 +0100
++++ lib/http/src/Http.cpp 2014-02-15 18:57:10.490545507 +0100
+@@ -31,6 +31,7 @@
+
+ #include "config.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #ifndef WIN32
diff --git a/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp b/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
index bfbe652583a8..022f779622c5 100644
--- a/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
+++ b/audio/zinf/files/patch-ui-zinf-unix-src-GTKFileSelector.cpp
@@ -1,11 +1,12 @@
---- ui/zinf/unix/src/GTKFileSelector.cpp.orig Wed Feb 19 16:39:23 2003
-+++ ui/zinf/unix/src/GTKFileSelector.cpp Sat Sep 13 03:02:14 2003
-@@ -25,7 +25,7 @@
+--- ui/zinf/unix/src/GTKFileSelector.cpp.orig 2003-09-16 19:36:23.000000000 +0200
++++ ui/zinf/unix/src/GTKFileSelector.cpp 2014-02-18 17:46:56.364931015 +0100
+@@ -25,7 +25,8 @@
#include <unistd.h>
#include <dirent.h>
-#if defined(solaris)
+#if defined(solaris) || defined(__FreeBSD__)
++#include <stdlib.h>
#include <sys/types.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include <sys/stat.h>