gnu: libmspub: Add missing include.

* gnu/packages/libreoffice.scm (libmspub)[source]: Add snippet to add
missing include header.
This commit is contained in:
Efraim Flashner 2021-08-08 14:51:38 +03:00
parent 08a9e49d02
commit 0e66a66864
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -592,7 +592,15 @@ (define-public libmspub
(uri (string-append "https://dev-www.libreoffice.org/src/" name "/"
name "-" version ".tar.xz"))
(sha256 (base32
"1fhkn013gzg59f4z7rldpbi0nj7lgdqzxanspsqa6axvmahw2dpg"))))
"1fhkn013gzg59f4z7rldpbi0nj7lgdqzxanspsqa6axvmahw2dpg"))
(modules '((guix build utils)))
(snippet
'(begin
;; This can be removed with the next release.
;; https://gerrit.libreoffice.org/c/libmspub/+/73814
(substitute* "src/lib/MSPUBMetaData.h"
(("include <vector>" all)
(string-append all "\n#include <cstdint>")))))))
(build-system gnu-build-system)
(native-inputs
`(("doxygen" ,doxygen)