dev-libs/DircetFB: remove unused patches

This commit is contained in:
Michael Mair-Keimberger (asterix)
2016-09-03 17:46:35 +02:00
committed by Michael Palimaka
parent 52c687fdb3
commit eef80f0e2d
3 changed files with 0 additions and 107 deletions

View File

@@ -1,33 +0,0 @@
--- DirectFB-1.6.3/interfaces/IDirectFBImageProvider/Makefile.am
+++ DirectFB-1.6.3/interfaces/IDirectFBImageProvider/Makefile.am
@@ -59,15 +59,15 @@
MPEG2_PROVIDER =
endif
-INCLUDES = \
+AM_CPPFLAGS =
+AM_CPPFLAGS = \
-I$(top_builddir)/include \
-I$(top_builddir)/lib \
-I$(top_builddir)/src \
-I$(top_srcdir)/include \
-I$(top_srcdir)/lib \
- -I$(top_srcdir)/src
-
-AM_CPPFLAGS = -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS)
+ -I$(top_srcdir)/src \
+ -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(SVG_CFLAGS)
idirectfbimageprovider_LTLIBRARIES = \
libidirectfbimageprovider_dfiff.la \
--- DirectFB-1.6.3/configure.in
+++ DirectFB-1.6.3/configure.in
@@ -980,7 +980,7 @@
dnl Test for libmng
MNG=no
-AC_ARG_ENABLE(mngg,
+AC_ARG_ENABLE(mng,
AC_HELP_STRING([--enable-mng],
[build MNG image provider @<:@default=yes@:>@]),
[], [enable_mng=yes])

View File

@@ -1,11 +0,0 @@
--- DirectFB-1.6.3/configure.in
+++ DirectFB-1.6.3/configure.in
@@ -457,7 +457,7 @@
[enable debugging @<:@default=no@:>@]),
[], [enable_debug=no])
if test "$enable_debug" = "yes"; then
- CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS"
+ CFLAGS="-fno-inline -Wno-inline $CFLAGS"
DIRECT_BUILD_DEBUG=1
else
DIRECT_BUILD_DEBUG=0

View File

@@ -1,63 +0,0 @@
Author: hasufell <hasufell@gentoo.org>
Date: Sat Dec 28 23:48:53 2013 +0100
* respect system flags
* remove Werror, it breaks the build
--- a/configure.in
+++ b/configure.in
@@ -194,12 +194,7 @@ AM_CONDITIONAL(X11VDPAU_CORE, test "$enable_x11vdpau" = "yes")
AC_CHECK_HEADERS(linux/compiler.h linux/unistd.h asm/page.h signal.h)
-dnl Clear default CFLAGS
-if test x"$CFLAGS" = x"-g -O2"; then
- CFLAGS=
-fi
-
-CFLAGS="-ffast-math -pipe $CFLAGS"
+CFLAGS="-ffast-math $CFLAGS"
DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
@@ -467,7 +462,7 @@ AC_ARG_ENABLE(debug,
[enable debugging @<:@default=no@:>@]),
[], [enable_debug=no])
if test "$enable_debug" = "yes"; then
- CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS"
+ CFLAGS="-fno-inline -Wno-inline $CFLAGS"
DIRECT_BUILD_DEBUG=1
else
DIRECT_BUILD_DEBUG=0
@@ -483,13 +478,8 @@ AC_ARG_ENABLE(debug-support,
[], [enable_debug_support=yes])
if test "$enable_debug_support" = "yes" || test "$enable_debug" = "yes"; then
enable_debug_support=yes
- if test "$enable_debug" = "no"; then
- CFLAGS="-g2 $CFLAGS"
- fi
- CFLAGS="-O3 $CFLAGS"
DIRECT_BUILD_DEBUGS=1
else
- CFLAGS="-O3 -g0 $CFLAGS"
DIRECT_BUILD_DEBUGS=0
fi
AM_CONDITIONAL(ENABLE_DEBUGS, test "$enable_debug_support" = "yes")
@@ -2750,8 +2750,6 @@
AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
-CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
-
AC_ARG_ENABLE(extra-warnings,
AC_HELP_STRING([--enable-extra-warnings],
[enable extra warnings @<:@default=no@:>@]),
@@ -2761,7 +2759,7 @@
fi
if test "$GCC" = "yes"; then
- CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration $CFLAGS"
+ CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing $CFLAGS"
CXXFLAGS="-Wall -Wno-strict-aliasing $CXXFLAGS"
fi