]> git.pld-linux.org Git - packages/guitarix.git/commitdiff
fix build with gcc >= 13
authorJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 23:19:09 +0000 (01:19 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 23:19:09 +0000 (01:19 +0200)
gcc13.patch [new file with mode: 0644]
guitarix.spec

diff --git a/gcc13.patch b/gcc13.patch
new file mode 100644 (file)
index 0000000..f4f7c5c
--- /dev/null
@@ -0,0 +1,11 @@
+diff -ur guitarix-0.44.1.orig/src/LV2/DSP/gx_common.h guitarix-0.44.1/src/LV2/DSP/gx_common.h
+--- guitarix-0.44.1.orig/src/LV2/DSP/gx_common.h       2022-05-02 20:38:03.000000000 +0200
++++ guitarix-0.44.1/src/LV2/DSP/gx_common.h    2023-07-05 00:27:25.237218722 +0200
+@@ -23,6 +23,7 @@
+ #define SRC_HEADERS_GX_COMMON_H_
++#include <cstdint>
+ #include <cstdlib>
+ #include <cmath>
+ #include <iostream>
index f3ad0a6dc2ae30f58cc0b9e840602c3c20340960..3e90bcbf6770ebd90ccd58d473aa696c934045b5 100644 (file)
@@ -7,6 +7,7 @@ Group:          Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/guitarix/%{name}2-%{version}.tar.xz
 # Source0-md5: d1757e08ddc54c4ec07defea6a30ac5b
 Patch0:                zita-resampler-1.10.patch
+Patch1:                gcc13.patch
 URL:           https://guitarix.org/
 BuildRequires: avahi-gobject-devel
 BuildRequires: bluez-libs-devel
@@ -54,6 +55,7 @@ use the feedback and feedforward sliders.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 CC="%{__cc}" \
This page took 0.075167 seconds and 4 git commands to generate.