File dvbaudio-fix-build.patch of Package kde3-kaffeine
Subject: Fix build due to uint16_t
From: Lubos Lunak
Patch-upstream: no
Build fails with
/usr/include/linux/dvb/audio.h:79: error: expected '=’, ',’, ';’, 'asm’ or '__attribute__’ before 'audio_attributes_t’
Since it's a kernel header, it should be rather the kernel uint16_t then the stdint.h one, but they should be the same anyway :).
--- kaffeine/src/input/dvb/lib/libdvbapi/dvbaudio.c.sav 2008-07-01 15:35:02.000000000 +0200
+++ kaffeine/src/input/dvb/lib/libdvbapi/dvbaudio.c 2009-04-08 17:47:35.000000000 +0200
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#include <stdint.h>
#include <linux/dvb/audio.h>
#include <errno.h>
#include "dvbaudio.h"