diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-28 22:54:07 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-28 22:54:07 +0000 |
commit | 5bf9ca5e02b72f6a8e5fd5bba773e52c52819628 (patch) | |
tree | 0bacaae52dc007f5c223e3e62ccfb1f2ef6c4839 /mail/libspf-alt | |
parent | 263da1c74b64fc4cff07bf6261c5835356ec5681 (diff) |
Notes
Diffstat (limited to 'mail/libspf-alt')
-rw-r--r-- | mail/libspf-alt/files/patch-bin::spf_example::spf_example.c | 17 | ||||
-rw-r--r-- | mail/libspf-alt/files/patch-bin::spf_example::spf_example_2mx.c | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/mail/libspf-alt/files/patch-bin::spf_example::spf_example.c b/mail/libspf-alt/files/patch-bin::spf_example::spf_example.c new file mode 100644 index 000000000000..dc5921cf953d --- /dev/null +++ b/mail/libspf-alt/files/patch-bin::spf_example::spf_example.c @@ -0,0 +1,17 @@ +--- bin/spf_example/spf_example.c.orig Sat Apr 10 00:08:41 2004 ++++ bin/spf_example/spf_example.c Fri May 28 22:59:52 2004 +@@ -55,8 +55,12 @@ + # include <arpa/inet.h> /* in_addr struct */ + #endif + +-#ifdef HAVE_GETOPT_H +-#include <getopt.h> ++#if defined(__FreeBSD__) ++#if (OSVERSION > 500000) ++#include "getopt.h" ++#else ++#include "unistd.h" ++#endif + #endif + + diff --git a/mail/libspf-alt/files/patch-bin::spf_example::spf_example_2mx.c b/mail/libspf-alt/files/patch-bin::spf_example::spf_example_2mx.c new file mode 100644 index 000000000000..5724506c0ead --- /dev/null +++ b/mail/libspf-alt/files/patch-bin::spf_example::spf_example_2mx.c @@ -0,0 +1,17 @@ +--- bin/spf_example/spf_example_2mx.c.orig Sat Apr 10 00:08:39 2004 ++++ bin/spf_example/spf_example_2mx.c Fri May 28 23:00:10 2004 +@@ -56,8 +56,12 @@ + # include <arpa/inet.h> /* in_addr struct */ + #endif + +-#ifdef HAVE_GETOPT_H +-#include <getopt.h> ++#if defined(__FreeBSD__) ++#if (OSVERSION > 500000) ++#include "getopt.h" ++#else ++#include "unistd.h" ++#endif + #endif + + |