summaryrefslogtreecommitdiff
path: root/audio/libofa/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-07-02 21:20:46 +0000
committermarkd <markd@pkgsrc.org>2011-07-02 21:20:46 +0000
commitb0139432af76891a1f883a3cf7f80d13dfab0446 (patch)
tree84e5a3688c69273ef356da333fb7d3df27eccbd2 /audio/libofa/patches
parent6bd4795a509ac0c88470af02a658236f53a7a942 (diff)
downloadpkgsrc-b0139432af76891a1f883a3cf7f80d13dfab0446.tar.gz
Fix build with current curl.
Diffstat (limited to 'audio/libofa/patches')
-rw-r--r--audio/libofa/patches/patch-af9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/libofa/patches/patch-af b/audio/libofa/patches/patch-af
index fd3def08faf..7f626ac93f1 100644
--- a/audio/libofa/patches/patch-af
+++ b/audio/libofa/patches/patch-af
@@ -1,10 +1,11 @@
-$NetBSD: patch-af,v 1.1 2011/01/29 21:09:09 markd Exp $
+$NetBSD: patch-af,v 1.2 2011/07/02 21:20:47 markd Exp $
build with gcc4.3
+curl/types.h is not used (empty) since curl-7.12.0 and removed at curl-7.21.7.
--- examples/protocol.cpp.orig 2006-05-10 18:05:42.000000000 +0000
+++ examples/protocol.cpp
-@@ -9,6 +9,7 @@
+@@ -9,10 +9,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string>
@@ -12,3 +13,7 @@ build with gcc4.3
#include <map>
#include <expat.h>
#include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ using namespace std;