summaryrefslogtreecommitdiff
path: root/audio/libtunepimp/patches
diff options
context:
space:
mode:
authormarkd <markd>2011-07-02 21:33:09 +0000
committermarkd <markd>2011-07-02 21:33:09 +0000
commit7bf50d77b80a6e4b8a6e05b2dd501182819d47fd (patch)
treeb6f484d633f65e0f678f11c2f94af86f87583928 /audio/libtunepimp/patches
parentf4a6c3ba8c67a58c3a25a7fe8e60c805d7cc1e92 (diff)
downloadpkgsrc-7bf50d77b80a6e4b8a6e05b2dd501182819d47fd.tar.gz
fix build with current curl.
Diffstat (limited to 'audio/libtunepimp/patches')
-rw-r--r--audio/libtunepimp/patches/patch-af10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/libtunepimp/patches/patch-af b/audio/libtunepimp/patches/patch-af
index af6e4dc56d1..a728b08327f 100644
--- a/audio/libtunepimp/patches/patch-af
+++ b/audio/libtunepimp/patches/patch-af
@@ -1,10 +1,11 @@
-$NetBSD: patch-af,v 1.1 2011/01/29 21:15:11 markd Exp $
+$NetBSD: patch-af,v 1.2 2011/07/02 21:33:09 markd Exp $
fix build with gcc4.3
+curl/types.h is not used (empty) since curl-7.12.0 and removed at curl-7.21.7.
--- lib/protocol.cpp.orig 2006-11-28 20:25:04.000000000 +0000
+++ lib/protocol.cpp
-@@ -8,6 +8,7 @@
+@@ -8,11 +8,11 @@
-------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
@@ -12,3 +13,8 @@ fix build with gcc4.3
#include <string>
#include <map>
#include <expat.h>
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ using namespace std;
+