mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libao: fix build with gcc14
This commit is contained in:
parent
a40788b2db
commit
b9c6b010a2
2 changed files with 22 additions and 1 deletions
21
srcpkgs/libao/patches/nanosleep-missing-include.patch
Normal file
21
srcpkgs/libao/patches/nanosleep-missing-include.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
From 1f998f5d6d77674dad01b181811638578ad68242 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tristan Matthews <tmatth@videolan.org>
|
||||||
|
Date: Sun, 15 Jan 2017 12:15:07 -0500
|
||||||
|
Subject: [PATCH] pulse: fix missing include warning for nanosleep
|
||||||
|
|
||||||
|
---
|
||||||
|
src/plugins/pulse/ao_pulse.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/plugins/pulse/ao_pulse.c b/src/plugins/pulse/ao_pulse.c
|
||||||
|
index 9835273..2d10d57 100644
|
||||||
|
--- a/src/plugins/pulse/ao_pulse.c
|
||||||
|
+++ b/src/plugins/pulse/ao_pulse.c
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <signal.h>
|
||||||
|
+#include <time.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
|
#include <pulse/pulseaudio.h>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libao'
|
# Template file for 'libao'
|
||||||
pkgname=libao
|
pkgname=libao
|
||||||
version=1.2.2
|
version=1.2.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-alsa-mmap"
|
configure_args="--enable-alsa-mmap"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue