mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/lirc to 0.9.1.a-2
This commit is contained in:
parent
df3f78e69e
commit
7816d6d9eb
2 changed files with 46 additions and 2 deletions
|
@ -8,7 +8,7 @@ pkgbase=lirc
|
|||
pkgname=('lirc' 'lirc-utils')
|
||||
_pkgver=0.9.1a
|
||||
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.lirc.org/"
|
||||
|
@ -16,12 +16,14 @@ license=('GPL')
|
|||
makedepends=('help2man' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' 'python2')
|
||||
options=('!makeflags' '!strip')
|
||||
source=("http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${_pkgver}.tar.bz2"
|
||||
"wpc8769l-build-fix.patch"
|
||||
wpc8769l-build-fix.patch
|
||||
lirc-0.9.1a-fix-segfault.patch
|
||||
lirc.logrotate
|
||||
irexec.service
|
||||
lirc.tmpfiles)
|
||||
md5sums=('1f1fac162ed309dd50f307e96a292957'
|
||||
'9ec33169b3407f74264062d7679dd269'
|
||||
'13bfc8dbf1a9e30f8ed21ac6c099a676'
|
||||
'3deb02604b37811d41816e9b4385fcc3'
|
||||
'32df3b9bc859565d6acf5f0e5b747083'
|
||||
'febf25c154a7d36f01159e84f26c2d9a')
|
||||
|
@ -30,6 +32,7 @@ prepare() {
|
|||
cd "${srcdir}/lirc-${_pkgver}"
|
||||
|
||||
patch -Np1 -i "${srcdir}/wpc8769l-build-fix.patch"
|
||||
patch -Np1 -i "${srcdir}/lirc-0.9.1a-fix-segfault.patch"
|
||||
|
||||
sed -i '/AC_PATH_XTRA/d' configure.ac
|
||||
sed -e 's/@X_CFLAGS@//g' \
|
||||
|
|
41
extra/lirc/lirc-0.9.1a-fix-segfault.patch
Normal file
41
extra/lirc/lirc-0.9.1a-fix-segfault.patch
Normal file
|
@ -0,0 +1,41 @@
|
|||
commit 4a9b45822890f50c5ed36660468e0a99cd4531e0
|
||||
Author: Alec Leamas <leamas@nowhere.net>
|
||||
Date: Mon Aug 18 10:05:44 2014 +0200
|
||||
|
||||
lircd: Fix bad default for lircdfile.
|
||||
|
||||
diff --git a/daemons/lircd.c b/daemons/lircd.c
|
||||
index db8ea13..fa8cf17 100644
|
||||
--- a/daemons/lircd.c
|
||||
+++ b/daemons/lircd.c
|
||||
@@ -2147,7 +2147,7 @@ static void lircd_add_defaults(void)
|
||||
"lircd:device", LIRC_DRIVER_DEVICE,
|
||||
"lircd:listen", NULL ,
|
||||
"lircd:connect", NULL,
|
||||
- "lircd:output", LIRCD,
|
||||
+ "lircd:lircdfile", LIRCD,
|
||||
"lircd:pidfile", PIDFILE,
|
||||
"lircd:logfile", LOGFILE,
|
||||
"lircd:debug", "False",
|
||||
|
||||
commit 8459a881fd53525a47ae2f9180fa3644be5df343
|
||||
Author: Alec Leamas <leamas@nowhere.net>
|
||||
Date: Mon Aug 18 10:00:49 2014 +0200
|
||||
|
||||
Fix segfault when starting lircd (AUR 41581)
|
||||
|
||||
See https://bugs.archlinux.org/task/41581
|
||||
|
||||
diff --git a/lirc_options.conf b/lirc_options.conf
|
||||
index d8ddedd..11293e2 100644
|
||||
--- a/lirc_options.conf
|
||||
+++ b/lirc_options.conf
|
||||
@@ -7,7 +7,7 @@ nodaemon = False
|
||||
permission = 666
|
||||
driver = default
|
||||
device = /dev/lirc0
|
||||
-output = /var/run/lirc/lircd
|
||||
+lircdfile = /var/run/lirc/lircd
|
||||
pidfile = /var/run/lirc/lircd.pid
|
||||
plugindir = /usr/lib/lirc/plugins
|
||||
allow-simulate = No
|
Loading…
Reference in a new issue