summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-05-08 19:59:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-05-08 19:59:08 +0000
commit0c0a6ecdb27bdcecbcf64fe35788a9b960e30df7 (patch)
treea6893eebaa2615ba9f01a5736a892c42a09f41ca /app-admin/syslog-ng/files
parentwhitespace (diff)
downloadgentoo-2-0c0a6ecdb27bdcecbcf64fe35788a9b960e30df7.tar.gz
gentoo-2-0c0a6ecdb27bdcecbcf64fe35788a9b960e30df7.tar.bz2
gentoo-2-0c0a6ecdb27bdcecbcf64fe35788a9b960e30df7.zip
use patch instead of set for autotools fix
(Portage version: 2.1.11.62/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
Diffstat (limited to 'app-admin/syslog-ng/files')
-rw-r--r--app-admin/syslog-ng/files/3.4/syslog-ng-3.4.1-autotools.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/3.4/syslog-ng-3.4.1-autotools.patch b/app-admin/syslog-ng/files/3.4/syslog-ng-3.4.1-autotools.patch
new file mode 100644
index 000000000000..e41bd3080cc9
--- /dev/null
+++ b/app-admin/syslog-ng/files/3.4/syslog-ng-3.4.1-autotools.patch
@@ -0,0 +1,40 @@
+diff -ru syslog-ng-3.4.1.orig/configure.in syslog-ng-3.4.1/configure.in
+--- syslog-ng-3.4.1.orig/configure.in 2013-01-17 06:43:50.000000000 -0500
++++ syslog-ng-3.4.1/configure.in 2013-05-08 15:47:42.860150947 -0400
+@@ -68,7 +68,7 @@
+ pidfiledir='${localstatedir}'
+ moduledir='${exec_prefix}/lib/syslog-ng'
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ dnl ***************************************************************************
+ dnl Arguments
+@@ -227,7 +227,6 @@
+ dnl ***************************************************************************
+ dnl Checks for programs.
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AC_PROG_CC_C99
+ if test "x$ac_cv_prog_cc_c99" = "xno"; then
+ AC_MSG_ERROR("C99 standard compliant C compiler required. Try GCC 3.x or later.")
+diff -ru syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac
+--- syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac 2013-01-06 15:41:48.000000000 -0500
++++ syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac 2013-05-08 15:48:09.275208195 -0400
+@@ -15,7 +15,7 @@
+
+ AC_CONFIG_MACRO_DIR([m4])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ AC_ARG_WITH([versioned-symbols], AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
+ vsymldflags="-Wl,--version-script,\${srcdir}/libmongo-client.ver -Wl,-O1"
+@@ -24,7 +24,6 @@
+ dnl ***************************************************************************
+ dnl Checks for programs.
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AC_PROG_MAKE_SET
+ PKG_PROG_PKG_CONFIG
+ LT_INIT([shared])