openbsd-ports/x11/wmii/patches/patch-cmd_util_c
2021-02-21 20:30:26 +00:00

19 lines
298 B
Plaintext

$OpenBSD: patch-cmd_util_c,v 1.1 2021/02/21 20:30:26 matthieu Exp $
fix for -fno-common
Index: cmd/util.c
--- cmd/util.c.orig
+++ cmd/util.c
@@ -9,6 +9,10 @@
#include <util.h>
#include <fmt.h>
+char *argv0;
+void *__p;
+int __i;
+
typedef struct VFmt VFmt;
struct VFmt {
const char *fmt;