ports/print/gtklp/files/patch-libgtklp_libgtklp.h
Kyle Evans e4c0edb958 print/gtklp: fix build with -fno-common
Just a couple of duplicate symbols here.

PR:		248852
MFH:		2020Q3 (-fno-common build fix)
2020-08-29 01:40:29 +00:00

11 lines
392 B
C

--- libgtklp/libgtklp.h.orig 2019-11-01 16:27:28 UTC
+++ libgtklp/libgtklp.h
@@ -80,7 +80,7 @@ void exitOnError(char *gerror1, char *gerror2, int exi
void hello(GtkWidget * widget, gpointer data);
void button_pad(GtkWidget * widget);
#if GTK_MAJOR_VERSION != 1
-GtkWidget *progressBar;
+extern GtkWidget *progressBar;
void setWindowDefaultIcons(void);
#endif
#endif /* LIBGTKLP_H */