[Lunar-commits] <moonbase> pyao: Adding a patch to fix;
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Tue Dec 21 14:07:22 CET 2010
commit 96499d8e87751850f4b4609ebd596e5bbcb0cf06
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Tue Dec 21 08:07:22 2010 -0500
pyao: Adding a patch to fix;
n2.7 -c src/aomodule.c -o build/temp.linux-x86_64-2.7/src/aomodule.o
src/aomodule.c: In function 'dict_to_options':
src/aomodule.c:18:3: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
/usr/include/python2.7/dictobject.h:114:5: note: expected 'Py_ssize_t *' but argument is of type 'int *'
src/aomodule.c: In function 'py_ao_driver_info':
src/aomodule.c:187:39: error: dereferencing pointer to incomplete type
error: command 'gcc' failed with exit status 1
Taken and adopted from ;
http://aur.archlinux.org/packages.php?ID=9996&detail=1 and
http://aur.pastebin.com/raw.php?i=NTrdHMuG
---
python/pyao/BUILD | 2 ++
python/pyao/DETAILS | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/python/pyao/BUILD b/python/pyao/BUILD
index 9a2997d..511e805 100644
--- a/python/pyao/BUILD
+++ b/python/pyao/BUILD
@@ -1,5 +1,7 @@
(
+ patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+
python config_unix.py &&
python setup.py build &&
prepare_install &&
diff --git a/python/pyao/DETAILS b/python/pyao/DETAILS
index 141d8c1..f9c4177 100644
--- a/python/pyao/DETAILS
+++ b/python/pyao/DETAILS
@@ -1,11 +1,14 @@
MODULE=pyao
VERSION=0.82
SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=pyao-0.82-aomodule.c.01.patch
SOURCE_URL=http://ekyo.nerim.net/software/pyogg/
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:9b213da96030648a5fa589d5eab7e1791374e269
+ SOURCE2_VFY=sha1:7602961e8c718a0e2b2a1393e83f379799925284
WEB_SITE=http://ekyo.nerim.net/software/pyogg/
ENTERED=20030501
- UPDATED=20030815
+ UPDATED=20101221
SHORT="Python wrapper module for the ao library"
cat << EOF
More information about the Lunar-commits
mailing list