]> TLD Linux GIT Repositories - packages/syslog-ng.git/commitdiff
- use upstream linking fix for eventlog
authorMarcin Krol <hawk@tld-linux.org>
Wed, 9 May 2018 12:51:21 +0000 (12:51 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 9 May 2018 12:51:21 +0000 (12:51 +0000)
syslog-ng-link.patch
syslog-ng.spec

index 0bad65a535fc91bac5e4e6d3ea8cbb9ad7d1f2a3..1ba073cdaa9b982f68a7a1340615737d2e2609b5 100644 (file)
@@ -1,18 +1,16 @@
 diff -dur -x '*.orig' syslog-ng-syslog-ng-3.14.1.orig/configure.ac syslog-ng-syslog-ng-3.14.1/configure.ac
 --- syslog-ng-syslog-ng-3.14.1.orig/configure.ac       2018-04-03 09:50:19.000000000 +0200
 +++ syslog-ng-syslog-ng-3.14.1/configure.ac    2018-04-03 09:51:38.000000000 +0200
-@@ -792,8 +792,8 @@
- dnl libevtlog headers/libraries (remove after relicensing libevtlog)
+@@ -793,7 +793,7 @@
  dnl ***************************************************************************
  
--EVTLOG_LIBS="\$(top_builddir)/lib/eventlog/src/libevtlog.la"
+ EVTLOG_LIBS="\$(top_builddir)/lib/eventlog/src/libevtlog.la"
 -EVTLOG_NO_LIBTOOL_LIBS="\$(top_builddir)/lib/eventlog/src/.libs/libevtlog.la"
-+EVTLOG_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/eventlog/src -levtlog -Wl,${NO_WHOLE_ARCHIVE_OPT}"
-+EVTLOG_NO_LIBTOOL_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/eventlog/src/.libs -levtlog -Wl,${NO_WHOLE_ARCHIVE_OPT}"
++EVTLOG_NO_LIBTOOL_LIBS="\$(top_builddir)/lib/eventlog/src/.libs/libevtlog.so"
  EVTLOG_CFLAGS="-I\$(top_srcdir)/lib/eventlog/src -I\$(top_builddir)/lib/eventlog/src"
  
  dnl ***************************************************************************
-@@ -1639,9 +1639,9 @@
+@@ -1687,9 +1687,9 @@
        # syslog-ng binary is linked with the default link command (e.g. libtool)
        SYSLOGNG_LINK='$(LINK)'
  else
index ba6336c4e4982354878cecb82558a0d91c791f54..679927c28b911027bfc8bd326c9afa120963cb53 100644 (file)
@@ -37,7 +37,7 @@ Summary(pl.UTF-8):    Syslog-ng - systemowy demon logujący nowej generacji
 Summary(pt_BR.UTF-8):  Daemon de log nova geração
 Name:          syslog-ng
 Version:       3.15.1
-Release:       3
+Release:       4
 License:       GPL v2+ with OpenSSL exception
 Group:         Daemons
 Source0:       https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz