aboutsummaryrefslogtreecommitdiff
path: root/x11/dmenu-wayland
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-09-02 08:20:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-09-02 08:20:32 +0000
commit09e9fcc0c4f8fb67e7c0d70bba3a4dc885865d40 (patch)
tree5e886d6257527b19d0543df11df072987f8d7051 /x11/dmenu-wayland
parent2e1980e0c681e42e93c7fd7498fc36ac2070ef2b (diff)
downloadports-09e9fcc0c4f8fb67e7c0d70bba3a4dc885865d40.tar.gz
ports-09e9fcc0c4f8fb67e7c0d70bba3a4dc885865d40.zip
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=547341
Diffstat (limited to 'x11/dmenu-wayland')
-rw-r--r--x11/dmenu-wayland/files/patch-dmenu.c10
-rw-r--r--x11/dmenu-wayland/files/patch-draw.h8
2 files changed, 18 insertions, 0 deletions
diff --git a/x11/dmenu-wayland/files/patch-dmenu.c b/x11/dmenu-wayland/files/patch-dmenu.c
new file mode 100644
index 000000000000..287868e9a3d4
--- /dev/null
+++ b/x11/dmenu-wayland/files/patch-dmenu.c
@@ -0,0 +1,10 @@
+--- dmenu.c.orig 2019-06-25 12:55:46 UTC
++++ dmenu.c
+@@ -40,6 +40,7 @@ struct {
+ int32_t scroll_right;
+ } window_config;
+
++const char *progname;
+
+ static uint32_t color_bg = 0x222222ff;
+ static uint32_t color_fg = 0xbbbbbbff;
diff --git a/x11/dmenu-wayland/files/patch-draw.h b/x11/dmenu-wayland/files/patch-draw.h
new file mode 100644
index 000000000000..c3b778e8efad
--- /dev/null
+++ b/x11/dmenu-wayland/files/patch-draw.h
@@ -0,0 +1,8 @@
+--- draw.h.orig 2019-06-25 12:55:46 UTC
++++ draw.h
+@@ -96,4 +96,4 @@ void eprintf(const char *fmt, ...);
+ void weprintf(const char *fmt, ...);
+ int32_t round_to_int(double val);
+
+-const char *progname;
++extern const char *progname;