ports/net/traff/files/patch-readconfig.h
Robert Clausecker 98a1bc7f0d net/traff: fix build with -fno-common
Also:

 * define LICENSE
 * fix missing LIB_DEPENDS on libargp.so

PR:		267594
Reported by:	fuz@fuz.su
Approved by:	daniel@freebsd.ro (maintainer, timeout 2 weeks)
MFH:		2022Q4 (build fix)
2022-11-17 08:03:33 +01:00

19 lines
436 B
C

--- readconfig.h.orig 2009-11-11 01:55:07 UTC
+++ readconfig.h
@@ -13,7 +13,7 @@
#endif
#if withPGSQL
-#include <postgresql/libpq-fe.h>
+#include <libpq-fe.h>
#endif
#include <stdlib.h>
@@ -118,6 +118,6 @@ int config_read_config_file(t_config * config,char * f
void config_destroy(t_config * config);
char * get_dump_type_str(e_dumptypes dumptype);
-char conf_file[FILELENGTH];
+extern char conf_file[FILELENGTH];
#endif