Control: tags 957388 + patch Control: tags 957388 + pending -- Dear maintainer,
I've prepared an NMU for jeex (versioned as 12.0.4-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. -- Regards Sudip diff -Nru jeex-12.0.4/debian/changelog jeex-12.0.4/debian/changelog --- jeex-12.0.4/debian/changelog 2012-04-08 08:25:55.000000000 +0100 +++ jeex-12.0.4/debian/changelog 2020-09-12 20:34:22.000000000 +0100 @@ -1,3 +1,10 @@ +jeex (12.0.4-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix ftbfs with GCC-10. (Closes: #957388) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Sat, 12 Sep 2020 20:34:22 +0100 + jeex (12.0.4-1) unstable; urgency=low * New upstream version diff -Nru jeex-12.0.4/debian/patches/gcc-10.patch jeex-12.0.4/debian/patches/gcc-10.patch --- jeex-12.0.4/debian/patches/gcc-10.patch 1970-01-01 01:00:00.000000000 +0100 +++ jeex-12.0.4/debian/patches/gcc-10.patch 2020-09-12 20:32:35.000000000 +0100 @@ -0,0 +1,88 @@ +Description: Fix ftbfs with GCC-10 + +Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> +Bug-Debian: https://bugs.debian.org/957388 +Forwarded: no + +--- + +--- jeex-12.0.4.orig/src/header.h ++++ jeex-12.0.4/src/header.h +@@ -167,7 +167,8 @@ struct info_byte + GtkWidget *l_binary, *e_binary; + GtkWidget *l_octal, *e_octal; + GtkWidget *l_hex, *e_hex; +-} byte_info; ++}; ++extern struct info_byte byte_info; + + /* Structure for textview manage */ + typedef struct info_textview +@@ -182,11 +183,11 @@ typedef struct info_textview + GtkWidget *textview; + } textview_info; + +-textview_info *textview; ++extern textview_info *textview; + + /* These widget are used in the main window. */ +-GtkWidget *bar, *viewport, *table_info; +-GtkStatusIcon *sysicon; ++extern GtkWidget *bar, *viewport, *table_info; ++extern GtkStatusIcon *sysicon; + + /* Structure for autocompletion manage */ + struct _ac +@@ -197,7 +198,8 @@ struct _ac + gboolean (*string_exist) (char *); + void (*add_string) (char *); + int (*strcasecmp) (gconstpointer a, gconstpointer b); +-} *ac; ++}; ++extern struct _ac *ac; + + typedef struct _jeex_types { + GtkWidget *main_window; +--- jeex-12.0.4.orig/src/main.c ++++ jeex-12.0.4/src/main.c +@@ -33,6 +33,10 @@ GtkWidget *jeex_main_window; + gboolean support_opacity = TRUE; + JeexToolbar *jeex_toolbar; + JeexTypes *jeex_types; ++struct jeex_notebook *notebook; ++struct info_byte byte_info; ++textview_info *textview; ++struct _ac *ac; + + static void *make_toolbar (GtkWidget *); + static void *make_bytes_info_field (void); +@@ -52,7 +56,6 @@ main (int argc, char **argv) + extern JeexFileInfo *file[64]; + extern JeexFileRecent *recent_file; + extern JeexMenu *jeex_menu; +- extern struct jeex_notebook *notebook; + extern JeexLog *jeex_log; + GtkWidget *table, *menu_bar, *widget, *hbox_panel; + gboolean chk = FALSE, opt_chk = TRUE; +--- jeex-12.0.4.orig/src/notebook-manage.h ++++ jeex-12.0.4/src/notebook-manage.h +@@ -37,7 +37,7 @@ struct jeex_notebook + int current; + }; + +-struct jeex_notebook *notebook; ++extern struct jeex_notebook *notebook; + + + /* make_new_notebook_page () +--- jeex-12.0.4.orig/src/view.c ++++ jeex-12.0.4/src/view.c +@@ -31,6 +31,8 @@ + #include <unistd.h> + #include "header.h" + ++GtkWidget *bar, *viewport, *table_info; ++GtkStatusIcon *sysicon; + + /* Function for alternating cell color */ + static void diff -Nru jeex-12.0.4/debian/patches/series jeex-12.0.4/debian/patches/series --- jeex-12.0.4/debian/patches/series 2012-04-08 08:25:55.000000000 +0100 +++ jeex-12.0.4/debian/patches/series 2020-09-12 20:23:02.000000000 +0100 @@ -1 +1,2 @@ 00-fix_Makefile.patch +gcc-10.patch