svn commit: r512651 - head/databases/pgadmin3/files
Jan Beich
jbeich at FreeBSD.org
Mon Sep 23 17:44:24 UTC 2019
Author: jbeich
Date: Mon Sep 23 17:44:23 2019
New Revision: 512651
URL: https://svnweb.freebsd.org/changeset/ports/512651
Log:
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
Added:
head/databases/pgadmin3/files/patch-pgadmin_utils_sshTunnel.cpp (contents, props changed)
Added: head/databases/pgadmin3/files/patch-pgadmin_utils_sshTunnel.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/pgadmin3/files/patch-pgadmin_utils_sshTunnel.cpp Mon Sep 23 17:44:23 2019 (r512651)
@@ -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);
+
More information about the svn-ports-head
mailing list