summaryrefslogtreecommitdiff
path: root/devel/m4/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-04-13 00:51:59 +0000
committerwiz <wiz@pkgsrc.org>2008-04-13 00:51:59 +0000
commit9b96ace206538bdce0095d8da5c0d232dce971d6 (patch)
treeab1b2edab0f835794fb17b293a57f1962aec2456 /devel/m4/patches
parent841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (diff)
downloadpkgsrc-9b96ace206538bdce0095d8da5c0d232dce971d6.tar.gz
Add patch from Bruno Haible (upstream) fixing two of the included
gnulib tests that were broken on NetBSD-4.99.58/amd64. Bump PKGREVISION.
Diffstat (limited to 'devel/m4/patches')
-rw-r--r--devel/m4/patches/patch-aa26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/m4/patches/patch-aa b/devel/m4/patches/patch-aa
new file mode 100644
index 00000000000..c11dd29b4d8
--- /dev/null
+++ b/devel/m4/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.9 2008/04/13 00:51:59 wiz Exp $
+
+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * lib/fpucw.h: Enable the definitions also for x86_64.
+ Needed for NetBSD/x86_64.
+ Reported by Thomas Klausner <tk@giga.or.at>.
+
+--- lib/fpucw.h.orig 2007-12-01 20:55:20.000000000 +0000
++++ lib/fpucw.h
+@@ -1,5 +1,5 @@
+ /* Manipulating the FPU control word.
+- Copyright (C) 2007 Free Software Foundation, Inc.
++ Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Written by Bruno Haible <bruno@clisp.org>, 2007.
+
+ This program is free software: you can redistribute it and/or modify
+@@ -61,7 +61,7 @@
+ */
+
+ /* Inline assembler like this works only with GNU C. */
+-#if defined __i386__ && defined __GNUC__
++#if (defined __i386__ || defined __x86_64__) && defined __GNUC__
+
+ typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */
+