pkgsrc/mail/cyrus-imapd24/patches/patch-am
obache 33b898c040 Import cyrus-imapd-2.4.2 as mail/cyrus-imapd24.
IMAP (Internet Message Access Protocol) is an Internet standards-track
protocol for accessing messages (mail, bboards, news, etc). The Cyrus
IMAP server differs from other IMAP server implementations in that it
is generally intended to be run on "sealed" servers, where normal users
are not permitted to log in. The mailbox database is stored in parts of
the filesystem that are private to the Cyrus IMAP system. All user
access to mail is through the IMAP, POP3, or KPOP protocols.
2010-10-30 12:12:35 +00:00

19 lines
464 B
Text

$NetBSD: patch-am,v 1.1.1.1 2010/10/30 12:12:35 obache Exp $
--- tools/config2header.orig 2010-10-19 03:08:28.000000000 +0000
+++ tools/config2header
@@ -79,6 +79,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;