diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-02-22 12:05:34 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-02-22 12:05:34 +0000 |
commit | 2ea2ffa48363d4db0b48ddc2edaa4e1d8674b157 (patch) | |
tree | 10b81b55c7a851899644a9fa24e471ff29a3842e /net/snort/patches | |
parent | 02d9140425dfffbef2b13c87c42a7014b82d7655 (diff) | |
download | pkgsrc-2ea2ffa48363d4db0b48ddc2edaa4e1d8674b157.tar.gz |
Sun's ar needs at least one symbol in a library.
Fixes SunOS build.
Diffstat (limited to 'net/snort/patches')
-rw-r--r-- | net/snort/patches/patch-src_target-based_sftarget__reader.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/snort/patches/patch-src_target-based_sftarget__reader.c b/net/snort/patches/patch-src_target-based_sftarget__reader.c new file mode 100644 index 00000000000..55332fbddc2 --- /dev/null +++ b/net/snort/patches/patch-src_target-based_sftarget__reader.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_target-based_sftarget__reader.c,v 1.1 2013/02/22 12:05:34 jperkin Exp $ + +Sun ar needs at least one symbol in a library. + +--- src/target-based/sftarget_reader.c.orig 2009-10-02 20:30:03.000000000 +0000 ++++ src/target-based/sftarget_reader.c +@@ -26,6 +26,10 @@ + #include "config.h" + #endif + ++#ifdef __sun ++int sun_ar_needs_a_symbol = 0; ++#endif ++ + #ifdef TARGET_BASED + + #include <stdio.h> |