homebrew-core/Formula/rsyslog.rb
Guy Rozendorn edba1f8927 rsyslog 7.4.5
Closes Homebrew/homebrew#23695.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-04 20:04:24 -08:00

47 lines
1.2 KiB
Ruby

require 'formula'
class Rsyslog < Formula
homepage 'http://www.rsyslog.com'
url 'http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.5.tar.gz'
sha256 'f5e46e9324e366f20368162b4f561cf7a76fecb4aa0570edcaaa49e9f8c2fe70'
depends_on 'pkg-config' => :build
depends_on 'libestr'
depends_on 'json-c'
def patches
DATA
end
def install
args = %W[
--prefix=#{prefix}
--disable-dependency-tracking
--enable-imfile
--enable-usertools
--enable-diagtools
--enable-cached-man-pages
--disable-uuid
--disable-libgcrypt
]
system "./configure", *args
system "make"
system "make install"
end
end
__END__
diff --git i/grammar/parserif.h w/grammar/parserif.h
index aa271ec..03c4db9 100644
--- i/grammar/parserif.h
+++ w/grammar/parserif.h
@@ -3,7 +3,7 @@
#include "rainerscript.h"
int cnfSetLexFile(char*);
int yyparse();
-char *cnfcurrfn;
+extern char *cnfcurrfn;
void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2)));
void parser_errmsg(char *fmt, ...) __attribute__((format(printf, 1, 2)));
void tellLexEndParsing(void);