mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
Also add a patch to remove the need of USE_GCC=yes. As a side effect USE_GCC is now unnecessary for misc/xiphos as well and thus it is removed. Approved by: gerald (mentor) Differential Revision: https://reviews.freebsd.org/D24990
13 lines
421 B
C++
13 lines
421 B
C++
This patch is necessary to allow compilation with clang over just GCC.
|
|
|
|
--- src/biblesync.cc.orig 2020-05-24 19:07:56 UTC
|
|
+++ src/biblesync.cc
|
|
@@ -253,7 +253,7 @@ string BibleSync::Setup()
|
|
server.sin_addr.s_addr = INADDR_ANY;
|
|
|
|
// make it receive-ready.
|
|
- if (bind(server_fd, (struct sockaddr*)&server,
|
|
+ if (::bind(server_fd, (struct sockaddr*)&server,
|
|
sizeof(server)) == -1)
|
|
{
|
|
ok_so_far = false;
|