--- /dev/null
+diff -ur syslog-ng-syslog-ng-3.22.1.orig/Makefile.am syslog-ng-syslog-ng-3.22.1/Makefile.am
+--- syslog-ng-syslog-ng-3.22.1.orig/Makefile.am 2019-06-25 10:51:09.000000000 +0200
++++ syslog-ng-syslog-ng-3.22.1/Makefile.am 2019-08-24 00:15:37.356000000 +0200
+@@ -24,7 +24,7 @@
+ SUBDIRS =
+ DIST_SUBDIRS =
+ AM_MAKEFLAGS = --no-print-directory
+-AM_YFLAGS = -Wno-yacc -Wno-other -Werror=conflicts-sr -Werror=conflicts-rr
++AM_YFLAGS = -Wnone -Werror=conflicts-sr -Werror=conflicts-rr
+
+ AM_TESTS_ENVIRONMENT = top_srcdir="$(top_srcdir)"
+
Summary(pt_BR.UTF-8): Daemon de log nova geração
Name: syslog-ng
Version: 3.22.1
-Release: 2
+Release: 3
License: GPL v2+ with OpenSSL exception
Group: Daemons
Source0: https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz
Patch2: man-paths.patch
Patch3: %{name}-link.patch
Patch4: no_shared_ivykis.patch
+Patch5: bison.patch
URL: https://syslog-ng.org/
%{?with_geoip:BuildRequires: GeoIP-devel >= 1.5.1}
BuildRequires: autoconf >= 2.59
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
cp -p %{SOURCE4} doc
cp -p %{SOURCE5} contrib/syslog-ng.conf.simple