Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/DirectFB/files: DirectFB-1.7.1-build.patch DirectFB-1.7.1-flags.patch
Date: Sat, 04 Jan 2014 14:49:56
Message-Id: 20140104144951.F40C52004E@flycatcher.gentoo.org
1 hasufell 14/01/04 14:49:51
2
3 Added: DirectFB-1.7.1-build.patch
4 DirectFB-1.7.1-flags.patch
5 Log:
6 version bump wrt #476834
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.1 dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch?rev=1.1&content-type=text/plain
15
16 Index: DirectFB-1.7.1-build.patch
17 ===================================================================
18 Author: hasufell <hasufell@g.o>
19 Date: Sat Dec 28 23:52:03 2013 +0100
20
21 * INCLUDES is deprecated, use AM_CPPFLAGS instead
22 * add missing SVG_CFLAGS
23
24 --- a/interfaces/IDirectFBImageProvider/Makefile.am
25 +++ b/interfaces/IDirectFBImageProvider/Makefile.am
26 @@ -77,15 +77,14 @@ else
27 FFMPEG_PROVIDER_LTLIB =
28 endif
29
30 -INCLUDES = \
31 +AM_CPPFLAGS = \
32 -I$(top_builddir)/include \
33 -I$(top_builddir)/lib \
34 -I$(top_builddir)/src \
35 -I$(top_srcdir)/include \
36 -I$(top_srcdir)/lib \
37 - -I$(top_srcdir)/src
38 -
39 -AM_CPPFLAGS = -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS)
40 + -I$(top_srcdir)/src \
41 + -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS) $(SVG_CFLAGS)
42
43 idirectfbimageprovider_LTLIBRARIES = \
44 libidirectfbimageprovider_dfiff.la \
45
46
47
48 1.1 dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch?rev=1.1&content-type=text/plain
52
53 Index: DirectFB-1.7.1-flags.patch
54 ===================================================================
55 Author: hasufell <hasufell@g.o>
56 Date: Sat Dec 28 23:48:53 2013 +0100
57
58 * respect system flags
59 * remove Werror, it breaks the build
60
61 --- a/configure.in
62 +++ b/configure.in
63 @@ -194,12 +194,7 @@ AM_CONDITIONAL(X11VDPAU_CORE, test "$enable_x11vdpau" = "yes")
64 AC_CHECK_HEADERS(linux/compiler.h linux/unistd.h asm/page.h signal.h)
65
66
67 -dnl Clear default CFLAGS
68 -if test x"$CFLAGS" = x"-g -O2"; then
69 - CFLAGS=
70 -fi
71 -
72 -CFLAGS="-ffast-math -pipe $CFLAGS"
73 +CFLAGS="-ffast-math $CFLAGS"
74
75 DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
76
77 @@ -467,7 +462,7 @@ AC_ARG_ENABLE(debug,
78 [enable debugging @<:@default=no@:>@]),
79 [], [enable_debug=no])
80 if test "$enable_debug" = "yes"; then
81 - CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS"
82 + CFLAGS="-fno-inline -Wno-inline $CFLAGS"
83 DIRECT_BUILD_DEBUG=1
84 else
85 DIRECT_BUILD_DEBUG=0
86 @@ -483,13 +478,8 @@ AC_ARG_ENABLE(debug-support,
87 [], [enable_debug_support=yes])
88 if test "$enable_debug_support" = "yes" || test "$enable_debug" = "yes"; then
89 enable_debug_support=yes
90 - if test "$enable_debug" = "no"; then
91 - CFLAGS="-g2 $CFLAGS"
92 - fi
93 - CFLAGS="-O3 $CFLAGS"
94 DIRECT_BUILD_DEBUGS=1
95 else
96 - CFLAGS="-O3 -g0 $CFLAGS"
97 DIRECT_BUILD_DEBUGS=0
98 fi
99 AM_CONDITIONAL(ENABLE_DEBUGS, test "$enable_debug_support" = "yes")
100 @@ -2750,8 +2750,6 @@
101
102 AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
103
104 -CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
105 -
106 AC_ARG_ENABLE(extra-warnings,
107 AC_HELP_STRING([--enable-extra-warnings],
108 [enable extra warnings @<:@default=no@:>@]),
109 @@ -2761,7 +2759,7 @@
110 fi
111
112 if test "$GCC" = "yes"; then
113 - CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration $CFLAGS"
114 + CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing $CFLAGS"
115 CXXFLAGS="-Wall -Wno-strict-aliasing $CXXFLAGS"
116 fi