summaryrefslogtreecommitdiff
path: root/print/gtklp/files/patch-libgtklp_libgtklp.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-08-29 01:40:29 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-08-29 01:40:29 +0000
commite4c0edb958d9a719bfb40227b401b911877c423d (patch)
tree4f1935b93ddbfb491284f100e210a189faee1f1a /print/gtklp/files/patch-libgtklp_libgtklp.h
parentmultimedia/libgav1: drop remnant from using bundled abseil (diff)
print/gtklp: fix build with -fno-common
Just a couple of duplicate symbols here. PR: 248852 MFH: 2020Q3 (-fno-common build fix)
Diffstat (limited to 'print/gtklp/files/patch-libgtklp_libgtklp.h')
-rw-r--r--print/gtklp/files/patch-libgtklp_libgtklp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/gtklp/files/patch-libgtklp_libgtklp.h b/print/gtklp/files/patch-libgtklp_libgtklp.h
new file mode 100644
index 000000000000..382b450ea87f
--- /dev/null
+++ b/print/gtklp/files/patch-libgtklp_libgtklp.h
@@ -0,0 +1,11 @@
+--- 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 */