aboutsummaryrefslogtreecommitdiff
path: root/x11/roxterm
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-29 14:42:40 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-29 14:42:40 +0000
commit0f265ab0883479ff3bd4fb189b7015095e7b2c6c (patch)
treeb802a3739df59e86e54b99e8a136f049a4f72364 /x11/roxterm
parenta807086461cbab260b2994057c48e3864b496569 (diff)
downloadports-0f265ab0883479ff3bd4fb189b7015095e7b2c6c.tar.gz
ports-0f265ab0883479ff3bd4fb189b7015095e7b2c6c.zip
x11/roxterm: Fix build with -fno-common
Add an upstream patch to fix the build of x11/roxterm with -fno-common, which is the default with llvm 11. MFH: 2020Q3
Notes
Notes: svn path=/head/; revision=546917
Diffstat (limited to 'x11/roxterm')
-rw-r--r--x11/roxterm/files/patch-8155abba.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/roxterm/files/patch-8155abba.c b/x11/roxterm/files/patch-8155abba.c
new file mode 100644
index 000000000000..b6afb17e88c2
--- /dev/null
+++ b/x11/roxterm/files/patch-8155abba.c
@@ -0,0 +1,13 @@
+diff --git a/src/multitab.h b/src/multitab.h
+index 3fd4f39..5934c0e 100644
+--- src/multitab.h
++++ src/multitab.h
+@@ -104,7 +104,7 @@ typedef gboolean (*MultiWinDeleteHandler)(GtkWidget *, GdkEvent *,
+ typedef gboolean (*MultiTabGetShowCloseButton)(gpointer user_data);
+
+ /* Needed externally */
+-MultiWinGetDisableMenuShortcuts multi_win_get_disable_menu_shortcuts;
++extern MultiWinGetDisableMenuShortcuts multi_win_get_disable_menu_shortcuts;
+
+ /* Whether to open a new tab adjacent to current one */
+ typedef gboolean (*MultiTabGetNewTabAdjacent)(gpointer user_data);