aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyo/portaudio-only.patch
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-08-29 21:39:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-08-30 10:21:28 +0000
commit43ad92d06f6230129167130182ff4b93aa34971c (patch)
tree68780f9a491391cacde1b103f4a0a9a81860c8bf /testing/py3-pyo/portaudio-only.patch
parentf0f31f0353f9418171d22bd12ccf3d9dd474020d (diff)
downloadaports-43ad92d06f6230129167130182ff4b93aa34971c.tar.bz2
aports-43ad92d06f6230129167130182ff4b93aa34971c.tar.xz
testing/py3-pyo: new aport
Diffstat (limited to 'testing/py3-pyo/portaudio-only.patch')
-rw-r--r--testing/py3-pyo/portaudio-only.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/py3-pyo/portaudio-only.patch b/testing/py3-pyo/portaudio-only.patch
new file mode 100644
index 0000000000..e855903d13
--- /dev/null
+++ b/testing/py3-pyo/portaudio-only.patch
@@ -0,0 +1,14 @@
+diff -ruN a/setup.py b/setup.py
+--- a/setup.py 2017-08-29 21:04:01.704564192 +0200
++++ b/setup.py 2017-08-29 21:04:30.369416183 +0200
+@@ -94,7 +94,9 @@
+ if '--minimal' in sys.argv:
+ minimal_build = True
+ sys.argv.remove('--minimal')
+- libraries = []
++ macros.append(('USE_PORTAUDIO', None))
++ ad_files.append("ad_portaudio.c")
++ libraries = ["portaudio"]
+ else:
+ minimal_build = False
+ # portaudio