board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / directfb / 0005-add-missing-idivine-header.patch
blob7823eb76e7309d45048a2fbd7338d2aa46c04d85
1 Add idivine.h, which is missing from DirectFB tarballs
3 The idivine.h file was taken from the DirectFB Git repository.
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 Index: b/lib/divine/idivine.h
8 ===================================================================
9 --- /dev/null
10 +++ b/lib/divine/idivine.h
11 @@ -0,0 +1,54 @@
12 +/*
13 + (c) Copyright 2012-2013 DirectFB integrated media GmbH
14 + (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
15 + (c) Copyright 2000-2004 Convergence (integrated media) GmbH
17 + All rights reserved.
19 + Written by Denis Oliver Kropp <dok@directfb.org>,
20 + Andreas Shimokawa <andi@directfb.org>,
21 + Marek Pikarski <mass@directfb.org>,
22 + Sven Neumann <neo@directfb.org>,
23 + Ville Syrjälä <syrjala@sci.fi> and
24 + Claudio Ciccani <klan@users.sf.net>.
26 + This library is free software; you can redistribute it and/or
27 + modify it under the terms of the GNU Lesser General Public
28 + License as published by the Free Software Foundation; either
29 + version 2 of the License, or (at your option) any later version.
31 + This library is distributed in the hope that it will be useful,
32 + but WITHOUT ANY WARRANTY; without even the implied warranty of
33 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34 + Lesser General Public License for more details.
36 + You should have received a copy of the GNU Lesser General Public
37 + License along with this library; if not, write to the
38 + Free Software Foundation, Inc., 59 Temple Place - Suite 330,
39 + Boston, MA 02111-1307, USA.
40 +*/
44 +#ifndef __IDIVINE_H__
45 +#define __IDIVINE_H__
47 +#include <divine.h>
49 +/*
50 + * private data struct of IDiVine
51 + */
52 +typedef struct {
53 + int ref; /* reference counter */
55 + DiVine *divine;
56 +} IDiVine_data;
58 +/*
59 + * IDiVine constructor/destructor
60 + */
61 +DFBResult IDiVine_Construct( IDiVine *thiz );
63 +void IDiVine_Destruct ( IDiVine *thiz );
65 +#endif