guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: libmspub: Add missing include.


From: guix-commits
Subject: 04/05: gnu: libmspub: Add missing include.
Date: Sun, 8 Aug 2021 08:15:42 -0400 (EDT)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit 0e66a66864bffdf618e13da8ce825a72154d16d7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 8 14:51:38 2021 +0300

    gnu: libmspub: Add missing include.
    
    * gnu/packages/libreoffice.scm (libmspub)[source]: Add snippet to add
    missing include header.
---
 gnu/packages/libreoffice.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index d359388..4ce833a 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -592,7 +592,15 @@ Aldus/Macromedia/Adobe FreeHand documents.")
       (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]