aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2020-05-27 21:09:28 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2020-05-27 21:09:28 +0000
commite29cb7bed101a7e99ade3e0cb6c3068ce0bc43b7 (patch)
treedd21f0a38c941c7c4459cc6db973ae4a0e0dad05
parent97f488f4adeeeac1b3fda19ae8c62fb1df171b3a (diff)
downloadports-e29cb7bed101a7e99ade3e0cb6c3068ce0bc43b7.tar.gz
ports-e29cb7bed101a7e99ade3e0cb6c3068ce0bc43b7.zip
Notes
-rw-r--r--misc/biblesync/Makefile4
-rw-r--r--misc/biblesync/distinfo6
-rw-r--r--misc/biblesync/files/patch-src_biblesync.cc13
-rw-r--r--misc/biblesync/pkg-plist2
-rw-r--r--misc/xiphos/Makefile3
5 files changed, 19 insertions, 9 deletions
diff --git a/misc/biblesync/Makefile b/misc/biblesync/Makefile
index 4bb7689aa4bf..ae67cc56aeda 100644
--- a/misc/biblesync/Makefile
+++ b/misc/biblesync/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= biblesync
-DISTVERSION= 2.0.1
+DISTVERSION= 2.1.0
CATEGORIES= misc
MAINTAINER= salvadore@FreeBSD.org
@@ -14,8 +14,6 @@ LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
USES= cmake gettext-runtime
-USE_GCC= yes
-
USE_GITHUB= yes
GH_ACCOUNT= karlkleinpaste
diff --git a/misc/biblesync/distinfo b/misc/biblesync/distinfo
index 507f52a70ab8..cf8778e938b5 100644
--- a/misc/biblesync/distinfo
+++ b/misc/biblesync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580898650
-SHA256 (karlkleinpaste-biblesync-2.0.1_GH0.tar.gz) = 953eed0b0ee7e4f8c6c34f7871babed26f03049e4dad5fc222fe3a65811a4d16
-SIZE (karlkleinpaste-biblesync-2.0.1_GH0.tar.gz) = 89139
+TIMESTAMP = 1590347775
+SHA256 (karlkleinpaste-biblesync-2.1.0_GH0.tar.gz) = 9083fcacc4d85f2b8c3a3254112129c02d940d20db8c0c5bcb6239b115e8d0e8
+SIZE (karlkleinpaste-biblesync-2.1.0_GH0.tar.gz) = 87868
diff --git a/misc/biblesync/files/patch-src_biblesync.cc b/misc/biblesync/files/patch-src_biblesync.cc
new file mode 100644
index 000000000000..1df037688a97
--- /dev/null
+++ b/misc/biblesync/files/patch-src_biblesync.cc
@@ -0,0 +1,13 @@
+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;
diff --git a/misc/biblesync/pkg-plist b/misc/biblesync/pkg-plist
index da8ce30c5209..43c2ae5c29f7 100644
--- a/misc/biblesync/pkg-plist
+++ b/misc/biblesync/pkg-plist
@@ -1,6 +1,6 @@
include/biblesync/biblesync-version.hh
include/biblesync/biblesync.hh
lib/libbiblesync.so
-lib/libbiblesync.so.2.0.1
+lib/libbiblesync.so.2.1.0
libdata/pkgconfig/biblesync.pc
man/man7/biblesync.7.gz
diff --git a/misc/xiphos/Makefile b/misc/xiphos/Makefile
index 5f043ec0849e..c5648fb80cb8 100644
--- a/misc/xiphos/Makefile
+++ b/misc/xiphos/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xiphos
DISTVERSION= 4.1.0-72
DISTVERSIONSUFFIX= -g9e573336
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc gnome
MAINTAINER= salvadore@FreeBSD.org
@@ -27,7 +27,6 @@ LIB_DEPENDS= libbiblesync.so:misc/biblesync \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES= cmake gettext gnome pkgconfig
-USE_GCC= yes # misc/biblesync is build with GCC.
USE_GITHUB= yes
GH_ACCOUNT= crosswire
USE_GNOME= cairo gconf2 gtk30 gtkhtml4 intltool libgsf