csound: update to 6.09.1.

This commit is contained in:
Andrea Brancaleoni 2017-07-13 08:44:47 +02:00
parent 0ba6ad478d
commit b6e099991a
2 changed files with 11 additions and 13 deletions

View file

@ -1,11 +0,0 @@
--- Top/csound.c.orig 2017-05-24 22:41:46.000000000 +0200
+++ Top/csound.c 2017-05-25 18:35:23.438983804 +0200
@@ -1093,7 +1093,7 @@
static void signal_handler(int sig)
{
-#if defined(LINUX) && !defined(ANDROID)
+#if defined(__GLIBC__)
#include <execinfo.h>
{

View file

@ -1,6 +1,6 @@
# Template file for 'csound'
pkgname=csound
version=6.09.0
version=6.09.1
revision=1
build_style=cmake
configure_args="
@ -16,9 +16,18 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-3"
homepage="http://csound.github.io"
distfiles="https://github.com/$pkgname/$pkgname/archive/$version.tar.gz"
checksum=fa57dcf31c33ff1f95910ebf794b2f7f6270a311224c812d54eaf660d4b92392
checksum=d49735b4ed50f2818b577abcface45fe7f9b7fb49ccd898db030893cbcdfc738
nocross=yes
_xreplace() {
sed -i "s/$(echo $1 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')/$(echo $2 | sed -e 's/[\/&]/\\&/g')/g" $3
}
pre_configure() {
_xreplace '#if defined(LINUX) && !defined(ANDROID)' '#if defined(__GLIBC__)' \
Top/csound.c
}
post_install() {
rm -r $DESTDIR/tmp
vinstall ${FILESDIR}/csound.sh 755 etc/profile.d