[arch-commits] Commit in libreoffice-fresh/trunk (2 files)

Antonio Rojas arojas at archlinux.org
Tue Jan 15 10:53:58 UTC 2019


    Date: Tuesday, January 15, 2019 @ 10:53:57
  Author: arojas
Revision: 344148

Fix build with boost 1.69

Added:
  libreoffice-fresh/trunk/libreoffice-boost-1.69.patch
Modified:
  libreoffice-fresh/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |    4 ++++
 libreoffice-boost-1.69.patch |   17 +++++++++++++++++
 2 files changed, 21 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-15 10:27:56 UTC (rev 344147)
+++ PKGBUILD	2019-01-15 10:53:57 UTC (rev 344148)
@@ -57,6 +57,7 @@
 	poppler-0.70.patch
         libreoffice-poppler-0.71.patch
         libreoffice-poppler-0.72.patch
+        libreoffice-boost-1.69.patch
 	0001-Update-mdds-to-1.4.1.patch
 	0001-Update-orcus-to-0.14.0.patch
 	libreoffice-fresh.sh libreoffice-fresh.csh)
@@ -101,6 +102,7 @@
             '4cac21ffdb711803c0d5372c6b0ba04f1310afa7907081fdd01c11e68c1785bf'
             'ffe1698d3db3320a9213a459e7619f4962c9792a8b256ea0fe2b7e0af1df430a'
             'dc8b5b0d1a4a1fed4f5cab048cd7ecd78630725458311bcbfe0a660c82357b49'
+            '5099c5e7818a327b661c45c0bd218835c1e70b14861b5112525da1d48beebf8c'
             '8e8460302a7febc9a29b32b98fb77c85910ccadc65c73e0e9997dc5aabaaeb2a'
             '60560283a5e22acad7f341b16dff4a654559b36db5d49b1e59f3bb9ae9b2336c'
             '28c97effbe55e43a1370ab141c676cec9daba9e3dc408bec78136dfefc892a8b'
@@ -136,6 +138,8 @@
         patch -p1 -i ../libreoffice-poppler-0.71.patch
         # fix build with poppler 0.72
         patch -p1 -i ../libreoffice-poppler-0.72.patch
+        # fix build with boost 1.69 (freebsd)
+        patch -p0 -i ../libreoffice-boost-1.69.patch
 
 	# fix build with new mdds 1.4.x, liborcus 0.14.x
 #	sed -i "s:mdds-1.2 >= 1.2.3:mdds-1.4 >= 1.4.2:" configure.ac

Added: libreoffice-boost-1.69.patch
===================================================================
--- libreoffice-boost-1.69.patch	                        (rev 0)
+++ libreoffice-boost-1.69.patch	2019-01-15 10:53:57 UTC (rev 344148)
@@ -0,0 +1,17 @@
+After https://github.com/boostorg/logic/commit/23cd89d4c80f build fails:
+
+sfx2/source/appl/shutdownicon.cxx:170:12: error: no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool'
+    return loaded;
+           ^~~~~~
+
+--- sfx2/source/appl/shutdownicon.cxx.orig	2018-06-19 22:27:30 UTC
++++ sfx2/source/appl/shutdownicon.cxx
+@@ -167,7 +167,7 @@ bool LoadModule()
+ #endif // ENABLE_QUICKSTART_APPLET
+     }
+     assert(!boost::logic::indeterminate(loaded));
+-    return loaded;
++    return bool{loaded};
+ }
+ 
+ }



More information about the arch-commits mailing list