homebrew-core/Formula/rsyslog.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

44 lines
1.1 KiB
Ruby

class Rsyslog < Formula
desc "Enhanced, multi-threaded syslogd"
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"
patch :DATA
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);