Package-Manager: Portage-2.3.88, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=709402
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
--- /dev/null
+--- acinclude.m4
++++ b/acinclude.m4
+@@ -277,13 +277,11 @@
+ echo "*** --with-snmp-lib=DIR"
+ echo "***"
+ CFLAGS="$ac_save_CFLAGS"
+- LDFLAGS="$ac_save_LDFLAGS"
+ LIBS="$ac_save_LIBS"
+ ifelse([$3], ,:,[$3])
+ fi
+
+ CFLAGS="$ac_save_CFLAGS"
+- LDFLAGS="$ac_save_LDFLAGS"
+ LIBS="$ac_save_LIBS"
+
+ AC_SUBST(SNMP_CFLAGS)
--- /dev/null
+--- a/src/interface.h
++++ b/src/interface.h
+@@ -9,12 +9,14 @@
+ GtkAccelGroup *accels;
+ } main_widgets_t;
+
+-struct menu_items {
++typedef struct menu_items {
+ char *item;
+ GtkSignalFunc func;
+ gpointer data;
+ GtkWidget *mi;
+-};
++} menu_items;
++
++extern struct menu_items bookmark_items[128];
+
+ void set_hostname(const char *host);
+ void set_oid(const char *oid);
+--- a/src/bookmarks.c
++++ b/src/bookmarks.c
+@@ -27,7 +27,6 @@
+ static GtkWidget *bkdial;
+ int delete = 0;
+
+-struct menu_items bookmark_items[128];
+ static GtkWidget* create_bookmark_dialogue(void);
+
+ static void mark_for_delete(void) {
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
RDEPEND="${DEPEND}"
DOCS=( AUTHORS README ChangeLog )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4.3-flags.patch
+ "${FILESDIR}"/${PN}-0.4.3-fno-common.patch
+)
src_prepare() {
default
- sed -i \
- -e '/LDFLAGS=/d' \
- acinclude.m4 || die
eautoreconf
}