mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +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'
|
||||
pkgname=libao
|
||||
version=1.2.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-alsa-mmap"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
|
|
Loading…
Add table
Reference in a new issue