1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 03:30:32 -04:00
ports/misc/biblesync/files/patch-src_biblesync.cc
Lorenzo Salvadore e29cb7bed1 misc/biblesync: Update to 2.1.0
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
2020-05-27 21:09:28 +00:00

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;