Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / daapd / patches / patch-ad
blob91a6d65a6d34e1f6fa5b6c36f0dca5a4807745e3
1 $NetBSD: patch-ad,v 1.2 2011/11/20 17:46:34 marino Exp $
3 --- daaplib/include/daap/tagoutput.h.orig       2011-11-26 15:54:46.000000000 +0000
4 +++ daaplib/include/daap/tagoutput.h
5 @@ -25,6 +25,7 @@
6         
7         #include <daap/basic.h>
8         #include <string>
9 +       #include <string.h>
10         #include <vector>
11         #include <assert.h>
13 @@ -98,9 +99,7 @@
14                         return( func( *this ));
15                 }
16                         
17 -               friend inline TagOutput& end( TagOutput& x ) {
18 -                       return( x.closeTag());
19 -               }
20 +               friend inline TagOutput& end( TagOutput& x );
21                 
22         protected:
23                 typedef std::vector<u8>  DataInt8;
24 @@ -125,4 +124,8 @@
25                 TagOutput( const TagOutput& );
26                 TagOutput& operator = ( const TagOutput& );
27         };
29 +       inline TagOutput& end( TagOutput& x ) {
30 +               return( x.closeTag());
31 +       }
32  #endif