1
0
forked from pool/libzrtpcpp

1 Commits

Author SHA256 Message Date
52b81c9d70 Add gcc15.patch 2025-06-25 00:19:56 +02:00
3 changed files with 30 additions and 4 deletions

21
gcc15.patch Normal file
View File

@@ -0,0 +1,21 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2025-06-25 00:18:43.800587540 +0200
EmojiBase32.cpp:154:9: error: uint32_t was not declared in this scope
154 | if((uint32_t)(c)<=0x7f) { \
---
zrtp/EmojiBase32.cpp | 1 +
1 file changed, 1 insertion(+)
Index: ZRTPCPP-4.7.0/zrtp/EmojiBase32.cpp
===================================================================
--- ZRTPCPP-4.7.0.orig/zrtp/EmojiBase32.cpp
+++ ZRTPCPP-4.7.0/zrtp/EmojiBase32.cpp
@@ -1,6 +1,7 @@
//
// Created by werner on 26.12.15.
//
+#include <cstdint>
#include <iostream>
// stdlib.h required for Android NDK builds, not included within the above includes
#include <cstdlib>

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 22:19:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add gcc15.patch
-------------------------------------------------------------------
Tue Oct 22 12:54:43 UTC 2024 - Pedro Monreal <pmonreal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libzrtpcpp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,9 +28,10 @@ URL: http://www.gnutelephony.org/index.php/GNU_ZRTP
#Git-Web: https://github.com/wernerd/ZRTPCPP
Source: https://github.com/wernerd/ZRTPCPP/archive/%version.tar.gz
Patch0: libzrtpcpp-openssl3.patch
Patch1: gcc15.patch
BuildRequires: cmake
BuildRequires: gcc-c++ >= 4.7
BuildRequires: libopenssl-devel
BuildRequires: pkgconfig(libssl)
BuildRequires: pkg-config
BuildRequires: pkgconfig(libccrtp) >= 2
BuildRequires: pkgconfig(sqlite3) >= 3.7
@@ -85,8 +86,7 @@ echo "V_%version { global: *; };" >version.map
%install
%cmake_install
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files -n %lname
%license COPYING