File openraw-noansiflag.patch of Package libopenraw

--- configure.in.orig
+++ configure.in
@@ -62,12 +62,13 @@ pkgconfigdir='${libdir}/pkgconfig'
 AC_SUBST(pkgconfigdir)
 
 dnl Checks for programs.
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_PROG_CPP
 AC_PROG_CXX
 AC_PROG_INSTALL
-AC_PROG_LIBTOOL
-
+LT_INIT([disable-static pic-only])
 
 dnl Requirements
 EXEMPI_REQUIRED=1.99.5
@@ -166,16 +167,13 @@ AM_CONDITIONAL(BUILD_GNOME_SUPPORT, test
 AX_CFLAGS_GCC_OPTION([-Wextra])
 AX_CXXFLAGS_GCC_OPTION([-Wextra])
 
-CXXFLAGS="$CXXFLAGS -ansi -pedantic -g -Wall -Wshadow"
-CFLAGS="$CFLAGS -pedantic -g -Wall"
+CXXFLAGS="$CXXFLAGS -g -Wall -Wshadow"
+CFLAGS="$CFLAGS -g -Wall"
 
 
-SHAVE_INIT
 
 AC_OUTPUT([
 Makefile
-shave
-shave-libtool
 include/Makefile
 include/libopenraw/Makefile
 include/libopenraw++/Makefile
--- lib/Makefile.am.orig
+++ lib/Makefile.am
@@ -1,5 +1,5 @@
 
-INCLUDES = -I$(top_srcdir)/include 
+AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include 
 
 SUBDIRS = io capi
 
@@ -40,7 +40,7 @@ noinst_HEADERS = or_debug.h \
 
 lib_LTLIBRARIES = libopenraw.la
 
-libopenraw_la_LDFLAGS = \
+libopenraw_la_LDFLAGS = -no-undefined \
 	-version-info @LIBOPENRAW_VERSION_INFO@
 
 #	-export-symbols $(srcdir)/libopenraw.sym 
--- tools/ordiag.cpp.orig
+++ tools/ordiag.cpp
@@ -19,6 +19,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 
 #include <unistd.h>
 #include <iostream>
--- gnome/gdkpixbuf.c.orig
+++ gnome/gdkpixbuf.c
@@ -20,6 +20,8 @@
 
 /** @brief gdkpixbuf support */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
--- gnome/pixbuf-loader.c.orig
+++ gnome/pixbuf-loader.c
@@ -21,6 +21,8 @@
 
 /** @brief gdkpixbuf loader for RAW files */
 
+#include "config.h"
+
 #include <stdlib.h>
 
 #include <libopenraw/libopenraw.h>
--- lib/io/Makefile.am.orig
+++ lib/io/Makefile.am
@@ -1,5 +1,5 @@
 
-INCLUDES = -I$(top_srcdir)/include -I$(srcdir)/..
+AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include -I$(srcdir)/..
 
 TESTS = teststream
 
--- lib/capi/Makefile.am.orig
+++ lib/capi/Makefile.am
@@ -1,7 +1,7 @@
 
 
 
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib 
+AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include -I$(top_srcdir)/lib 
 
 noinst_LTLIBRARIES = libopenrawc.la
 
--- test/Makefile.am.orig
+++ test/Makefile.am
@@ -4,7 +4,7 @@ TESTS_ENVIRONMENT =
 
 OPENRAW_LIB = $(top_builddir)/lib/libopenraw.la
 
-INCLUDES = \
+AM_CPPFLAGS = -include $(top_builddir)/config.h \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/lib
 
--- testsuite/Makefile.am.orig
+++ testsuite/Makefile.am
@@ -4,10 +4,10 @@ TESTS_ENVIRONMENT =
 
 OPENRAW_LIB = $(top_builddir)/lib/libopenraw.la
 
-INCLUDES = \
+AM_CFLAGS = @LIBXML_CFLAGS@ @CURL_CFLAGS@
+AM_CPPFLAGS = -include $(top_builddir)/config.h \
 	-I$(top_srcdir)/include \
-	-I$(top_srcdir)/lib \
-	@LIBXML_CFLAGS@ @CURL_CFLAGS@
+	-I$(top_srcdir)/lib
 
 noinst_PROGRAMS = testsuite
 noinst_HEADERS = testsuitetags.h
--- gnome/Makefile.am.orig
+++ gnome/Makefile.am
@@ -29,7 +29,7 @@ libopenrawgnome_la_LIBADD = ../lib/libop
 libopenrawgnome_la_SOURCES = gdkpixbuf.c
 
 
-libopenraw_pixbuf_la_LDFLAGS = -no-undefined -module -avoid-version
+libopenraw_pixbuf_la_LDFLAGS = -no-undefined -export-dynamic -shared -module -avoid-version
 libopenraw_pixbuf_la_LIBADD = ../lib/libopenraw.la \
 	$(LIBGLIB_LIBS)                      \
 	$(LIBGDKPIXBUF_LIBS)