summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2008-10-18 11:09:11 +0000
committerhira <hira@pkgsrc.org>2008-10-18 11:09:11 +0000
commitfb04471744a13e891ac884a5f42231c4286d3a5c (patch)
treeda148ef6577db2ada53c9397717079393db56f8e
parentb64f5c144322fe6fe5961c993c983678b6dbfa29 (diff)
downloadpkgsrc-fb04471744a13e891ac884a5f42231c4286d3a5c.tar.gz
Add -Werror-implicit-function-declaration for trunc(3) (lang/gcc34
allows implicit function declaration by default). This fixes PR pkg/39747.
-rw-r--r--misc/openoffice3/distinfo3
-rw-r--r--misc/openoffice3/patches/patch-dz21
2 files changed, 23 insertions, 1 deletions
diff --git a/misc/openoffice3/distinfo b/misc/openoffice3/distinfo
index 4c15fa80281..3a97f4ba7ad 100644
--- a/misc/openoffice3/distinfo
+++ b/misc/openoffice3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/10/18 01:05:08 hira Exp $
+$NetBSD: distinfo,v 1.5 2008/10/18 11:09:11 hira Exp $
SHA1 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = 09ff91fd871f00c696befa8064fe04d7a88a3c8a
RMD160 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = edc71b8b0596d63e60431c7266140bf5188abc6d
@@ -75,3 +75,4 @@ SHA1 (patch-du) = 85a7ccaffc5165617b031359873727f7a29d1938
SHA1 (patch-dw) = de171dec68a1a55a47f2652ecdad429020d773ef
SHA1 (patch-dx) = 7579b1f7326951c57bd2ff597209c17d5d54f28d
SHA1 (patch-dy) = 1feec77ce8c87fc1afb797401047669b3da41c54
+SHA1 (patch-dz) = c3d345ad74dcaa45667ce4de97d8b4686edb773a
diff --git a/misc/openoffice3/patches/patch-dz b/misc/openoffice3/patches/patch-dz
new file mode 100644
index 00000000000..4fca0a2c030
--- /dev/null
+++ b/misc/openoffice3/patches/patch-dz
@@ -0,0 +1,21 @@
+$NetBSD: patch-dz,v 1.1 2008/10/18 11:09:11 hira Exp $
+
+XXX: lang/gcc34 allows implicit function declaration.
+
+--- redland/raptor-1.4.17.patch.orig 2008-10-18 10:43:14.000000000 +0000
++++ redland/raptor-1.4.17.patch 2008-10-18 10:44:08.000000000 +0000
+@@ -271,3 +271,14 @@
+ ;;
+
+ irix | nonstopux)
++--- misc/raptor-1.4.17/configure 2008-10-18 10:41:27.000000000 +0000
+++++ misc/build/raptor-1.4.17/configure 2008-10-18 10:42:41.000000000 +0000
++@@ -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