summaryrefslogtreecommitdiff
path: root/audio/libmysofa/files/patch-tests_compare.sh
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-02-09 02:35:14 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-02-09 02:35:14 +0000
commitc11135bb191f1d2af04292d6341efc906af20439 (patch)
tree21c61cf6b7999065f69ab8585b07141ad6d1d51d /audio/libmysofa/files/patch-tests_compare.sh
parentRun rc.d/uuidd after the virtual FILESYSTEMS target. (diff)
New port: audio/libmysofa
libmysofa is a simple set of C functions to read AES SOFA (Spatially Oriented Format for Acoustics) files, if they contain HRTFs (Head-Related Transfer Functions) stored according to the AES69-2015 standard [http://www.aes.org/publications/standards/search.cfm?docID=99]. WWW: https://github.com/hoene/libmysofa
Diffstat (limited to 'audio/libmysofa/files/patch-tests_compare.sh')
-rw-r--r--audio/libmysofa/files/patch-tests_compare.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/libmysofa/files/patch-tests_compare.sh b/audio/libmysofa/files/patch-tests_compare.sh
new file mode 100644
index 000000000000..34ab4082d87f
--- /dev/null
+++ b/audio/libmysofa/files/patch-tests_compare.sh
@@ -0,0 +1,13 @@
+Fix binary location.
+
+--- tests/compare.sh.orig 2018-02-08 14:33:00 UTC
++++ tests/compare.sh
+@@ -1,7 +1,7 @@
+ #!/bin/bash
+
+ NODEJS=`which node || which nodejs || which false`
+-../build/src/mysofa2json "$1".sofa >tmp1.json 2>tmp1.txt
++../src/mysofa2json "$1".sofa >tmp1.json 2>tmp1.txt
+
+ ret=$?
+ if [ "$ret" != 0 ]; then