Files
Robert Yang 80310a3480 syslog-ng: update configure.patch for older patch tool
The previous configure.patch can't be applied by older "patch" tool
since the line number is incorrect, for example, the "patch 2.5.4" on
CentOS 5.10.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 11:00:41 +02:00

24 lines
988 B
Diff

Index: syslog-ng-3.5.4.1/configure.ac
===================================================================
--- syslog-ng-3.5.4.1.orig/configure.ac 2014-07-18 13:49:36.794141441 +0000
+++ syslog-ng-3.5.4.1/configure.ac 2014-07-18 14:23:57.738197606 +0000
@@ -8,7 +8,8 @@ dnl SNAPSHOT_VERSION - snapshot version to add to version number
dnl BINARY_BRANCH - the value is added to all source/binary packages
dnl SOURCE_REVISION - Revision of the source-tree, will added to the version string
dnl
-AC_INIT(syslog-ng/main.c)
+AC_INIT(syslog-ng, 3.5.4.1)
+AC_CONFIG_SRCDIR(syslog-ng/main.c)
AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -53,7 +54,7 @@ else
CURRDATE=`date +"%a, %d %b %Y %H:%M:%S %Z"`
fi
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION, [foreign no-define subdir-objects])
+AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
_AM_PROG_TAR([ustar])
if test -n "$SNAPSHOT_VERSION"; then
VERSION=$VERSION+$SNAPSHOT_VERSION