summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-27 11:20:51 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-27 11:23:29 +0200
commitb561097662de3c962e00155764b4e3ad3fcd68ea (patch)
tree7c2616e1e332a834069552753fe92c873a7258a0 /app-admin
parentdev-util/ccache: use ${CHOST}-objdump (diff)
downloadgentoo-b561097662de3c962e00155764b4e3ad3fcd68ea.tar.gz
gentoo-b561097662de3c962e00155764b4e3ad3fcd68ea.tar.bz2
gentoo-b561097662de3c962e00155764b4e3ad3fcd68ea.zip
app-admin/syslog-ng: Fix libafsnmp.so linking
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://bugs.gentoo.org/729806 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/syslog-ng/files/syslog-ng-3.28.1-net-snmp.patch13
-rw-r--r--app-admin/syslog-ng/syslog-ng-3.28.1-r1.ebuild (renamed from app-admin/syslog-ng/syslog-ng-3.28.1.ebuild)3
2 files changed, 16 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng-3.28.1-net-snmp.patch b/app-admin/syslog-ng/files/syslog-ng-3.28.1-net-snmp.patch
new file mode 100644
index 00000000000..e9c244502f4
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng-3.28.1-net-snmp.patch
@@ -0,0 +1,13 @@
+--- a/modules/afsnmp/Makefile.am
++++ b/modules/afsnmp/Makefile.am
+@@ -24,9 +24,7 @@
+ -I$(top_builddir)/modules/afsnmp
+
+ modules_afsnmp_libafsnmp_la_LIBADD = \
+- $(MODULE_DEPS_LIBS)
+-
+-modules_afsnmp_libafsnmp_la_LDFLAGS = \
++ $(MODULE_DEPS_LIBS) \
+ $(MODULE_LDFLAGS) \
+ $(NETSNMP_LIBS)
+
diff --git a/app-admin/syslog-ng/syslog-ng-3.28.1.ebuild b/app-admin/syslog-ng/syslog-ng-3.28.1-r1.ebuild
index 0bc0575b9a6..f8a193b724b 100644
--- a/app-admin/syslog-ng/syslog-ng-3.28.1.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-3.28.1-r1.ebuild
@@ -49,6 +49,9 @@ BDEPEND="
DOCS=( AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf.{HP-UX,RedHat,SunOS,doc}
contrib/syslog2ng "${T}/syslog-ng.conf.gentoo.hardened"
"${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.28.1-net-snmp.patch
+)
pkg_setup() {
use python && python-single-r1_pkg_setup