Sun's ar needs at least one symbol in a library.
Fixes SunOS build.
This commit is contained in:
parent
8bdc19895b
commit
2701daa925
2 changed files with 19 additions and 1 deletions
|
@ -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
|
SHA1 (snort-2.8.5.1.tar.gz) = b971052cdd4b3527a0603854953103fe9ad8a45b
|
||||||
RMD160 (snort-2.8.5.1.tar.gz) = fbfab45f1d7d815516043592eab8cf1cc6ec93d0
|
RMD160 (snort-2.8.5.1.tar.gz) = fbfab45f1d7d815516043592eab8cf1cc6ec93d0
|
||||||
|
@ -11,3 +11,4 @@ SHA1 (patch-ae) = ca74cfab6d9010d037a1e72e7c39b7982888c476
|
||||||
SHA1 (patch-af) = 03df09e853819816034109429762a3bb01b59fb0
|
SHA1 (patch-af) = 03df09e853819816034109429762a3bb01b59fb0
|
||||||
SHA1 (patch-ag) = 1dfcb56284528b307f44d911f84f64832d907139
|
SHA1 (patch-ag) = 1dfcb56284528b307f44d911f84f64832d907139
|
||||||
SHA1 (patch-ah) = 1dee26c42c30e60be83a5e574183f2394d23e340
|
SHA1 (patch-ah) = 1dee26c42c30e60be83a5e574183f2394d23e340
|
||||||
|
SHA1 (patch-src_target-based_sftarget__reader.c) = c0f4bde7a1a0fa00e4efecf26eb579cc2b1cb2ee
|
||||||
|
|
17
net/snort/patches/patch-src_target-based_sftarget__reader.c
Normal file
17
net/snort/patches/patch-src_target-based_sftarget__reader.c
Normal file
|
@ -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>
|
Loading…
Reference in a new issue