diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-09-02 08:20:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-09-02 08:20:32 +0000 |
commit | 09e9fcc0c4f8fb67e7c0d70bba3a4dc885865d40 (patch) | |
tree | 5e886d6257527b19d0543df11df072987f8d7051 /x11/dmenu-wayland | |
parent | 2e1980e0c681e42e93c7fd7498fc36ac2070ef2b (diff) | |
download | ports-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.c | 10 | ||||
-rw-r--r-- | x11/dmenu-wayland/files/patch-draw.h | 8 |
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; |