From 70a21226f20410267da0dc28a0baef064cf85d406b24aee86f28e6da829a8032 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 20 Mar 2023 21:29:49 +0000 Subject: [PATCH] - Add 0001-build-resolve-compile-error-with-gcc-13.patch OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=41 --- ...ld-resolve-compile-error-with-gcc-13.patch | 23 +++++++++++++++++++ gromox.changes | 5 ++++ gromox.spec | 1 + 3 files changed, 29 insertions(+) create mode 100644 0001-build-resolve-compile-error-with-gcc-13.patch diff --git a/0001-build-resolve-compile-error-with-gcc-13.patch b/0001-build-resolve-compile-error-with-gcc-13.patch new file mode 100644 index 0000000..f7141aa --- /dev/null +++ b/0001-build-resolve-compile-error-with-gcc-13.patch @@ -0,0 +1,23 @@ +From 34d37b8d49dbc8e8733372ba97333af1ecff1f0e Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Mon, 20 Mar 2023 21:54:33 +0100 +Subject: [PATCH] build: resolve compile error with gcc-13 + +include/gromox/authmgr.hpp:42:9: error: 'uint8_t' does not name a type +--- + include/gromox/authmgr.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git include/gromox/authmgr.hpp include/gromox/authmgr.hpp +index 623cc8a39..39e58c68b 100644 +--- include/gromox/authmgr.hpp ++++ include/gromox/authmgr.hpp +@@ -1,4 +1,5 @@ + #pragma once ++#include + #include + + /** +-- +2.40.0 + diff --git a/gromox.changes b/gromox.changes index 5f1f272..68524eb 100644 --- a/gromox.changes +++ b/gromox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 20 21:24:52 UTC 2023 - Jan Engelhardt + +- Add 0001-build-resolve-compile-error-with-gcc-13.patch + ------------------------------------------------------------------- Mon Mar 13 09:13:31 UTC 2023 - Jan Engelhardt diff --git a/gromox.spec b/gromox.spec index 8734cc0..f7d55ee 100644 --- a/gromox.spec +++ b/gromox.spec @@ -29,6 +29,7 @@ Source: https://github.com/grommunio/gromox/releases/download/%name-%ver Source2: https://github.com/grommunio/gromox/releases/download/%name-%version/%name-%version.tar.asc Source8: %name.keyring Patch1: 0001-snapshot-safer-parsing-of-snapshot.cfg.patch +Patch2: 0001-build-resolve-compile-error-with-gcc-13.patch BuildRequires: automake >= 1.11 BuildRequires: fdupes BuildRequires: gcc-c++