Summary: | www/domoticz: fails to build with boost 1.66 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | kiwi | ||||
Priority: | --- | Keywords: | needs-patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(kiwi) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 223922 | ||||||
Attachments: |
|
Description
Jan Beich
2017-12-08 15:52:53 UTC
Maybe you can replace io_service with io_context similar to https://github.com/arvidn/libtorrent/commit/f42b63c7ea82 This is an issue with boost 1.66. Unfortunatly there is no new domoticz release on Github (only developpement releases). I can push some "dev" tarballs but this will have maybe some other issues... Regards Created attachment 191201 [details]
Patch to fix boost 1.66 support
Here is a patch to fix this bug.
Regards
Comment on attachment 191201 [details] Patch to fix boost 1.66 support > @@ -2,7 +2,7 @@ > > PORTNAME= domoticz > PORTVERSION= 3.${DOMOTICZ_REL} > -PORTREVISION= 3 > +PORTREVISION= 4 Unnecessary. ports r459315 already bumped PORTREVISION but it was never built due to this bug. > @@ -1,9 +1,9 @@ > ---- appversion.default.orig 2016-03-09 17:30:00.000000000 +0100 > -+++ appversion.default 2016-03-09 19:10:01.169567000 +0100 > +--- appversion.default.orig 2017-07-30 10:19:41 UTC > ++++ appversion.default > @@ -1,3 +1,3 @@ > --#define APPVERSION 4834 > --#define APPHASH "2bd98a1" > --#define APPDATE 1456904172 > +-#define APPVERSION 5876 > +-#define APPHASH "b97777b" > +-#define APPDATE 1478691222 > +#define APPVERSION XXXDOMOTICZXXX > +#define APPHASH "XXXHASHXXX" > +#define APPDATE XXXTIMEXXX@@ -1,9 +1,9 @@ Doesn't apply and doesn't look related to Boost. $ patch -Efsp1 -i /path/to/domoticz-boost.diff -d /usr/ports/www/domoticz 1 out of 1 hunks failed while patching files/patch-appversion.default > @@ -1,5 +1,5 @@ > ---- getgit.cmake.orig 2016-04-01 15:27:18.517929000 +0200 > -+++ getgit.cmake 2016-04-01 15:27:52.572836000 +0200 > +--- getgit.cmake.orig 2017-07-30 10:19:41 UTC > ++++ getgit.cmake Unrelated but OK. I'll land it via separate commit. A commit references this bug: Author: jbeich Date: Mon Mar 5 02:06:23 UTC 2018 New revision: 463614 URL: https://svnweb.freebsd.org/changeset/ports/463614 Log: www/domoticz: unbreak with boost 1.66 PR: 224181 Submitted by: BER?NYI Bal?zs (via private mail) Obtained from: upstream Approved by: Xavier Beaudouin (maintainer) Changes: head/www/domoticz/Makefile head/www/domoticz/files/patch-webserver_proxyclient.cpp head/www/domoticz/files/patch-webserver_server.cpp A commit references this bug: Author: jbeich Date: Mon Mar 5 02:06:52 UTC 2018 New revision: 463615 URL: https://svnweb.freebsd.org/changeset/ports/463615 Log: www/domoticz: regen patches via "make makepatch" PR: 224181 Submitted by: Xavier Beaudouin (maintainer) Changes: head/www/domoticz/files/patch-CMakeLists.txt head/www/domoticz/files/patch-getgit.cmake Thanks. Landed. |