svn commit: r558064 - in head/editors/abiword: . files
Adriaan de Groot
adridg at FreeBSD.org
Sun Dec 13 22:40:03 UTC 2020
Author: adridg
Date: Sun Dec 13 22:40:01 2020
New Revision: 558064
URL: https://svnweb.freebsd.org/changeset/ports/558064
Log:
Repair editors/abiword
This has been broken since the update to net/asio in november.
Patch imported from upstream git, https://gitlab.gnome.org/World/AbiWord/
as git-patch (which patches m4 files which aren't used) and also
monkeyed into the configure-patch.
The listed PR had an exp-run that failed on this even though
the build failure wasn't related to the exp-run.
PR: 251537
Added:
head/editors/abiword/files/patch-git-699705dc1c91f41ea11eed4facb2d3756d899eec.patch (contents, props changed)
Modified:
head/editors/abiword/Makefile
head/editors/abiword/files/patch-configure
Modified: head/editors/abiword/Makefile
==============================================================================
--- head/editors/abiword/Makefile Sun Dec 13 22:24:13 2020 (r558063)
+++ head/editors/abiword/Makefile Sun Dec 13 22:40:01 2020 (r558064)
@@ -3,6 +3,7 @@
PORTNAME= abiword
PORTVERSION= 3.0.4
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/
DIST_SUBDIR= AbiWord
Modified: head/editors/abiword/files/patch-configure
==============================================================================
--- head/editors/abiword/files/patch-configure Sun Dec 13 22:24:13 2020 (r558063)
+++ head/editors/abiword/files/patch-configure Sun Dec 13 22:40:01 2020 (r558064)
@@ -1,6 +1,6 @@
---- configure.orig 2014-12-23 06:13:20.000000000 +0100
-+++ configure 2016-01-26 21:22:33.585049000 +0100
-@@ -23915,7 +23915,7 @@
+--- configure.orig 2019-11-27 02:22:30.000000000 +0100
++++ configure 2020-12-13 23:23:09.835350000 +0100
+@@ -22697,7 +22697,7 @@
@@ -9,10 +9,28 @@
wpg_deps="no"
if test "$enable_wpg" != ""; then
-@@ -24341,8 +24341,8 @@
+@@ -23424,7 +23424,7 @@
+ COLLAB_RCFLAGS="$COLLAB_RCFLAGS -DABICOLLAB_HANDLER_SUGAR"
+ fi
+ if test "$enable_collab_backend_service" = "yes"; then
+- COLLAB_CFLAGS="$COLLAB_CFLAGS -DABICOLLAB_HANDLER_SERVICE -DSOUP24"
++ COLLAB_CFLAGS="$COLLAB_CFLAGS -DABICOLLAB_HANDLER_SERVICE -DSOUP24 -DASIO_ENABLE_BOOST"
+ COLLAB_RCFLAGS="$COLLAB_RCFLAGS -DABICOLLAB_HANDLER_SERVICE"
+ fi
+ if test "$enable_collab_backend_sipsimple" = "yes"; then
+@@ -23448,7 +23448,7 @@
+ test "$enable_collab" = "auto" && PLUGINS="$PLUGINS collab"
+ COLLAB_CFLAGS="$COLLAB_CFLAGS "'${PLUGIN_CFLAGS}'
+-COLLAB_LIBS="$COLLAB_LIBS "'${PLUGIN_LIBS}'
++COLLAB_LIBS='${PLUGIN_LIBS}'" $COLLAB_LIBS "
+ fi # plugin conditional
+@@ -25939,8 +25939,8 @@
+
+
+
-wordperfect_pkgs="libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0 $gsf_req"
-wordperfect_wps_pkgs='libwps-0.2 >= 0.1.0'
+wordperfect_pkgs="libwpd-0.10 $gsf_req"
@@ -20,7 +38,7 @@
wordperfect_deps="no"
WORDPERFECT_CFLAGS=
-@@ -24385,7 +24385,7 @@
+@@ -25983,7 +25983,7 @@
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
Added: head/editors/abiword/files/patch-git-699705dc1c91f41ea11eed4facb2d3756d899eec.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/abiword/files/patch-git-699705dc1c91f41ea11eed4facb2d3756d899eec.patch Sun Dec 13 22:40:01 2020 (r558064)
@@ -0,0 +1,36 @@
+From 699705dc1c91f41ea11eed4facb2d3756d899eec Mon Sep 17 00:00:00 2001
+From: Julian Sikorski <belegdol at fedoraproject.org>
+Date: Sat, 14 Mar 2020 14:06:34 +0100
+Subject: [PATCH] Issue #3 - Define ASIO_ENABLE_BOOST when building collab
+ plugin
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is needed for asio-1.14.0 or later as it defaults to
+ASIO_STANDALONE if C++11 or later is detected:
+https://github.com/chriskohlhoff/asio/commit/265e75cdbba739b1b1e3a46b283eaee3b9c60fe8
+
+https://gitlab.gnome.org/World/AbiWord/issues/3
+
+Signed-off-by: Hubert Figuière <hub at figuiere.net>
+---
+ plugins/collab/plugin.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/collab/plugin.m4 b/plugins/collab/plugin.m4
+index 7cfe3a138..a8a32c074 100644
+--- plugins/collab/plugin.m4
++++ plugins/collab/plugin.m4
+@@ -201,7 +201,7 @@ if test "$enable_collab_backend_sugar" = "yes"; then
+ COLLAB_RCFLAGS="$COLLAB_RCFLAGS -DABICOLLAB_HANDLER_SUGAR"
+ fi
+ if test "$enable_collab_backend_service" = "yes"; then
+- COLLAB_CFLAGS="$COLLAB_CFLAGS -DABICOLLAB_HANDLER_SERVICE -DSOUP24"
++ COLLAB_CFLAGS="$COLLAB_CFLAGS -DABICOLLAB_HANDLER_SERVICE -DSOUP24 -DASIO_ENABLE_BOOST"
+ COLLAB_RCFLAGS="$COLLAB_RCFLAGS -DABICOLLAB_HANDLER_SERVICE"
+ fi
+ if test "$enable_collab_backend_sipsimple" = "yes"; then
+--
+GitLab
+
More information about the svn-ports-head
mailing list