openbsd-ports/geo/pgpointcloud/patches/patch-lib_cunit_cu_tester_c
2022-03-11 19:06:11 +00:00

17 lines
455 B
Plaintext

fix for -fno-common
https://github.com/pgpointcloud/pointcloud/pull/273
Index: lib/cunit/cu_tester.c
--- lib/cunit/cu_tester.c.orig
+++ lib/cunit/cu_tester.c
@@ -12,6 +12,9 @@
#include "CUnit/Basic.h"
#include "cu_tester.h"
+/* Contains the most recent error message generated by rterror. */
+static char cu_error_msg[MAX_CUNIT_MSG_LENGTH+1];
+
/* ADD YOUR SUITE HERE (1 of 2) */
extern CU_SuiteInfo schema_suite;
extern CU_SuiteInfo patch_suite;