mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
databases/pgadmin3: unbreak with clang 9
ld: error: utils/sshTunnel.o: unable to find library from dependent library specifier: Ws2_32.lib Reported by: antoine (via bug 240629 exp-run) Regressed by: https://reviews.llvm.org/rL360984
This commit is contained in:
parent
f45575b26d
commit
8eb8622c15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512651
12
databases/pgadmin3/files/patch-pgadmin_utils_sshTunnel.cpp
Normal file
12
databases/pgadmin3/files/patch-pgadmin_utils_sshTunnel.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
--- pgadmin/utils/sshTunnel.cpp.orig 2016-02-08 10:25:13 UTC
|
||||
+++ pgadmin/utils/sshTunnel.cpp
|
||||
@@ -19,7 +19,9 @@
|
||||
#include "utils/sshTunnel.h"
|
||||
#include "frm/frmMain.h"
|
||||
|
||||
+#ifdef WIN32
|
||||
#pragma comment (lib, "Ws2_32.lib")
|
||||
+#endif
|
||||
|
||||
typedef const char *(*inet_ntop_t) (int af, const void *src, char *dst, socklen_t size);
|
||||
|
Loading…
Reference in New Issue
Block a user