snort/snort.patch

Sat, 01 Sep 2012 12:17:10 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 01 Sep 2012 12:17:10 +0200
changeset 653
9d74c60eb90e
permissions
-rw-r--r--

Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.

     1 Index: src/snort.h
     2 --- src/snort.h.orig	2009-09-14 21:12:14 +0200
     3 +++ src/snort.h	2009-09-19 09:27:59 +0200
     4 @@ -92,7 +92,7 @@
     5  #define RF_ANY_FLAGS  0x20
     7  #ifndef WIN32
     8 -# define DEFAULT_LOG_DIR            "/var/log/snort"
     9 +# define DEFAULT_LOG_DIR            "@l_prefix@/var/snort"
    10  # define DEFAULT_DAEMON_ALERT_FILE  "alert"
    11  #else
    12  # define DEFAULT_LOG_DIR            "log"

mercurial