summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd/patches/patch-aa')
-rw-r--r--mail/cyrus-imapd/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/cyrus-imapd/patches/patch-aa b/mail/cyrus-imapd/patches/patch-aa
new file mode 100644
index 00000000000..7465e9e3495
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.4 2005/05/21 03:31:26 rh Exp $
+
+--- tools/config2header.orig 2004-06-23 05:02:31.000000000 +1000
++++ tools/config2header
+@@ -77,6 +77,14 @@ while ($#ARGV >= 0) {
+
+ my $use_gcc_extension = ($CC and $CC eq 'gcc');
+
++#
++# Skip any CC options such as -pipe
++# The last two parameters are the .c and .h files
++#
++while ($#ARGV > 1) {
++ shift @ARGV;
++}
++
+ die "wrong number of arguments" if ($#ARGV != 1);
+ my ($cfile, $hfile) = @ARGV;
+