pkgsrc - initial commit
[pkgsrc.git] / audio / daapd / patches / patch-ae
1 $NetBSD: patch-ae,v 1.1 2006/07/03 13:58:31 tron Exp $
2
3 --- daaplib/include/daap/taginput.h.orig        2006-07-03 14:32:01.000000000 +0100
4 +++ daaplib/include/daap/taginput.h     2006-07-03 14:36:37.000000000 +0100
5 @@ -71,9 +71,7 @@
6                         return( func( *this ));
7                 }
8                         
9 -               friend inline TagInput& end( TagInput& x ) {
10 -                       return( x.closeTag() );
11 -               }
12 +               friend inline TagInput& end( TagInput& x );
13  
14  
15                 //////
16 @@ -95,15 +93,9 @@
17                         return( *this );
18                 }
19  
20 -               friend inline TagInput& skipTag( TagInput& x ) {
21 -                       x.skipTag();
22 -                       return( x );
23 -               }
24 +               friend inline TagInput& skipTag( TagInput& x );
25  
26 -               friend inline TagInput& skipRestOfTag( TagInput& x ) {
27 -                       x.skipRestOfTag();
28 -                       return( x );
29 -               }
30 +               friend inline TagInput& skipRestOfTag( TagInput& x );
31  
32         protected:
33                 typedef std::vector<u32> StackInt32;
34 @@ -131,4 +123,20 @@
35                 TagInput( const TagInput& );
36                 TagInput& operator = ( const TagInput& );
37         };
38 +
39 +       inline TagInput& end( TagInput& x ) {
40 +               return( x.closeTag() );
41 +       }
42 +
43 +
44 +       inline TagInput& skipTag( TagInput& x ) {
45 +               x.skipTag();
46 +               return( x );
47 +       }
48 +
49 +       inline TagInput& skipRestOfTag( TagInput& x ) {
50 +               x.skipRestOfTag();
51 +               return( x );
52 +       }
53 +
54  #endif