mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 20:55:19 +03:00
testing/snapper: fix build with gcc12
This commit is contained in:
parent
757151f38a
commit
1e64dfb751
2 changed files with 18 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=snapper
|
pkgname=snapper
|
||||||
pkgver=0.10.2
|
pkgver=0.10.2
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="Manage filesystem snapshots and allow undo of system modifications"
|
pkgdesc="Manage filesystem snapshots and allow undo of system modifications"
|
||||||
url="http://snapper.io"
|
url="http://snapper.io"
|
||||||
arch="all !armhf !armv7" # Fails to build on 32bit arches, see #12617
|
arch="all !armhf !armv7" # Fails to build on 32bit arches, see #12617
|
||||||
|
@ -23,7 +23,9 @@ subpackages="
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/snapper/archive/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/snapper/archive/v$pkgver.tar.gz
|
||||||
musl-stdout_stderr.patch
|
musl-stdout_stderr.patch
|
||||||
miss-tinfo-link-to-ncurses.patch
|
miss-tinfo-link-to-ncurses.patch
|
||||||
drift-file-path.patch"
|
drift-file-path.patch
|
||||||
|
gcc12.patch
|
||||||
|
"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
@ -74,4 +76,5 @@ bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce40000ebc89f4f059abe44
|
||||||
5baf722996706146b62fd0a0d9b321496fb122e700af2d3dfd8272de2678f29c79bc2b1a03634b04aab3f226632dfdebc5674d3128737e85bcc71461e951d95b musl-stdout_stderr.patch
|
5baf722996706146b62fd0a0d9b321496fb122e700af2d3dfd8272de2678f29c79bc2b1a03634b04aab3f226632dfdebc5674d3128737e85bcc71461e951d95b musl-stdout_stderr.patch
|
||||||
3d264f7f9156342d5bad2ac78db9c8a30ea1ac25648245631a47d1495bb6610c6b39c28a5013741063df3c08f459388c0467caaedde5ad7cebb433eb432b7a70 miss-tinfo-link-to-ncurses.patch
|
3d264f7f9156342d5bad2ac78db9c8a30ea1ac25648245631a47d1495bb6610c6b39c28a5013741063df3c08f459388c0467caaedde5ad7cebb433eb432b7a70 miss-tinfo-link-to-ncurses.patch
|
||||||
c2470da8a5d62a37babdacd361051bae8fb3e1be157cb7eec1563a40825d41702f6f10bb619ffcab2ea8d7407405a543b0c47997c70a744c20cc3135c0532c1f drift-file-path.patch
|
c2470da8a5d62a37babdacd361051bae8fb3e1be157cb7eec1563a40825d41702f6f10bb619ffcab2ea8d7407405a543b0c47997c70a744c20cc3135c0532c1f drift-file-path.patch
|
||||||
|
3d47785e9a0eef9dc5b73f0dbd2e882efb8d2a3d8fe3ed10e58702b2a03cbff88804d37b611ad5a96ed93eb9bf12878451c4f6871976cffb27877f0b8a7e6f4f gcc12.patch
|
||||||
"
|
"
|
||||||
|
|
13
testing/snapper/gcc12.patch
Normal file
13
testing/snapper/gcc12.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/dbus/DBusMessage.h b/dbus/DBusMessage.h
|
||||||
|
index 09190d0..241a93b 100644
|
||||||
|
--- a/dbus/DBusMessage.h
|
||||||
|
+++ b/dbus/DBusMessage.h
|
||||||
|
@@ -27,6 +27,8 @@
|
||||||
|
|
||||||
|
#include <dbus/dbus.h>
|
||||||
|
|
||||||
|
+#include <ctime>
|
||||||
|
+
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <list>
|
Loading…
Add table
Add a link
Reference in a new issue