svn commit: r547341 - head/x11/dmenu-wayland/files
Baptiste Daroussin
bapt at FreeBSD.org
Wed Sep 2 08:20:33 UTC 2020
Author: bapt
Date: Wed Sep 2 08:20:32 2020
New Revision: 547341
URL: https://svnweb.freebsd.org/changeset/ports/547341
Log:
Fix build with -fno-common
Added:
head/x11/dmenu-wayland/files/
head/x11/dmenu-wayland/files/patch-dmenu.c (contents, props changed)
head/x11/dmenu-wayland/files/patch-draw.h (contents, props changed)
Added: head/x11/dmenu-wayland/files/patch-dmenu.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/dmenu-wayland/files/patch-dmenu.c Wed Sep 2 08:20:32 2020 (r547341)
@@ -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;
Added: head/x11/dmenu-wayland/files/patch-draw.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/dmenu-wayland/files/patch-draw.h Wed Sep 2 08:20:32 2020 (r547341)
@@ -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;
More information about the svn-ports-all
mailing list