$NetBSD: patch-dz,v 1.2 2008/10/20 12:30:16 hira Exp $

XXX: lang/gcc34 allows implicit function declaration.

--- redland/raptor-1.4.17.patch.orig	2008-07-18 18:25:27.000000000 +0900
+++ redland/raptor-1.4.17.patch	2008-10-20 03:04:03.000000000 +0900
@@ -271,3 +271,50 @@
  	  ;;
  
  	irix | nonstopux)
+--- misc/raptor-1.4.17/configure	2008-03-17 16:37:20.000000000 +0900
++++ misc/build/raptor-1.4.17/configure	2008-10-20 03:01:08.000000000 +0900
+@@ -8776,7 +8776,7 @@
+   ;;
+ 
+ netbsd*)
+-  version_type=sunos
++  version_type=freebsd-elf
+   need_lib_prefix=no
+   need_version=no
+   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+@@ -12754,7 +12754,7 @@
+   ;;
+ 
+ netbsd*)
+-  version_type=sunos
++  version_type=freebsd-elf
+   need_lib_prefix=no
+   need_version=no
+   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+@@ -15388,7 +15388,7 @@
+   ;;
+ 
+ netbsd*)
+-  version_type=sunos
++  version_type=freebsd-elf
+   need_lib_prefix=no
+   need_version=no
+   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+@@ -18022,7 +18022,7 @@
+   ;;
+ 
+ netbsd*)
+-  version_type=sunos
++  version_type=freebsd-elf
+   need_lib_prefix=no
+   need_version=no
+   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+@@ -22667,7 +22667,7 @@
+   *) ac_try_echo=$ac_try;;
+ esac
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-  (eval "$ac_link") 2>conftest.er1
++  (eval "$ac_link -Werror-implicit-function-declaration") 2>conftest.er1
+   ac_status=$?
+   grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
