]> git.pld-linux.org Git - packages/mbrowse.git/commitdiff
- added no-common patch (fixes build with -fno-common, gcc 10 default) auto/th/mbrowse-0.4.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 9 Oct 2020 17:49:00 +0000 (19:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 9 Oct 2020 17:49:00 +0000 (19:49 +0200)
mbrowse-no-common.patch [new file with mode: 0644]
mbrowse.spec

diff --git a/mbrowse-no-common.patch b/mbrowse-no-common.patch
new file mode 100644 (file)
index 0000000..e05b091
--- /dev/null
@@ -0,0 +1,11 @@
+--- mbrowse-0.4.3/src/callbacks.c.orig 2010-11-16 11:20:23.000000000 +0100
++++ mbrowse-0.4.3/src/callbacks.c      2020-10-09 19:47:28.403373236 +0200
+@@ -28,7 +28,7 @@
+ extern int context_id;
+ extern int tview;
+-struct menu_items bookmark_items[128];
++extern struct menu_items bookmark_items[128];
+ extern int dont_select_damnit;
+ extern int dont_update_entry;
+ static struct tree *mibtree;
index f754ee0a4d27fc2a2f1304e2cbdbd1980a48281e..1be185aa2580979dc233d71a6734c9bcf3586519 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v2
 Group:         X11/Applications/Networking
 Source0:       http://downloads.sourceforge.net/mbrowse/%{name}-%{version}.tar.gz
 # Source0-md5: 9857a88d2e6246384587350a647e605d
+Patch0:                %{name}-no-common.patch
 URL:           https://sourceforge.net/projects/mbrowse/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -23,6 +24,7 @@ Mbrowse jest przeglądarką SNMP MIB bazującą na GTK+ i net-snmp.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.079069 seconds and 4 git commands to generate.