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 | a9ac616cc8f44468b40f3d52b6690f6c10a47451 (patch) | |
tree | 10b81b55c7a851899644a9fa24e471ff29a3842e /net/snort | |
parent | 5f783d4b099d8ee51ce88aa012af9f4474c2ad54 (diff) | |
download | pkgsrc-a9ac616cc8f44468b40f3d52b6690f6c10a47451.tar.gz |
Sun's ar needs at least one symbol in a library.
Fixes SunOS build.
Diffstat (limited to 'net/snort')
-rw-r--r-- | net/snort/distinfo | 3 | ||||
-rw-r--r-- | net/snort/patches/patch-src_target-based_sftarget__reader.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/net/snort/distinfo b/net/snort/distinfo index dfe974b8fae..aec351a7e30 100644 --- a/net/snort/distinfo +++ b/net/snort/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.47 2011/04/01 16:48:36 gdt Exp $ +$NetBSD: distinfo,v 1.48 2013/02/22 12:05:34 jperkin Exp $ SHA1 (snort-2.8.5.1.tar.gz) = b971052cdd4b3527a0603854953103fe9ad8a45b RMD160 (snort-2.8.5.1.tar.gz) = fbfab45f1d7d815516043592eab8cf1cc6ec93d0 @@ -11,3 +11,4 @@ SHA1 (patch-ae) = ca74cfab6d9010d037a1e72e7c39b7982888c476 SHA1 (patch-af) = 03df09e853819816034109429762a3bb01b59fb0 SHA1 (patch-ag) = 1dfcb56284528b307f44d911f84f64832d907139 SHA1 (patch-ah) = 1dee26c42c30e60be83a5e574183f2394d23e340 +SHA1 (patch-src_target-based_sftarget__reader.c) = c0f4bde7a1a0fa00e4efecf26eb579cc2b1cb2ee 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> |