1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/opencvs/files/patch-cvs.h
Alexey Dokuchaev 58368430ef Unbreak the build with -fno-common (Clang 11, GCC 10).
Reported by:	pkg-fallout
2020-08-22 07:29:02 +00:00

23 lines
405 B
C

--- cvs.h.orig 2015-05-04 09:15:45 UTC
+++ cvs.h
@@ -29,6 +29,10 @@
#include <signal.h>
+/* For building on FreeBSD */
+#include <time.h>
+#define __dead
+
#include "config.h"
#include "file.h"
#include "log.h"
@@ -189,7 +193,7 @@ struct cvs_var {
TAILQ_ENTRY(cvs_var) cv_link;
};
-TAILQ_HEAD(, cvs_var) cvs_variables;
+TAILQ_HEAD(cvs_var_head, cvs_var);
#define CVS_ROOT_CONNECTED 0x01