summarylogtreecommitdiffstats
path: root/0001-fix-tests-with-prefix.diff
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2017-09-28 19:32:59 -0700
committerLlewelyn Trahaearn2017-09-28 19:32:59 -0700
commitd406b38d21205b3ea4e4b0c928a6f48dd0c1541e (patch)
tree573c375ab5559d6741092aac61023e4c58a6ec67 /0001-fix-tests-with-prefix.diff
parent752a02522d74080241e1894709fc8f9ec305b07c (diff)
downloadaur-rtmidi.tar.gz
Patch the build, round two!
Diffstat (limited to '0001-fix-tests-with-prefix.diff')
-rw-r--r--0001-fix-tests-with-prefix.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/0001-fix-tests-with-prefix.diff b/0001-fix-tests-with-prefix.diff
new file mode 100644
index 000000000000..973043e4c72e
--- /dev/null
+++ b/0001-fix-tests-with-prefix.diff
@@ -0,0 +1,20 @@
+--- a/rtmidi-3.0.0/configure 2017-08-31 18:53:21.000000000 -0700
++++ b/rtmidi-3.0.0/configure 2017-09-28 19:18:37.512786478 -0700
+@@ -16625,7 +16625,6 @@
+ # Set paths if prefix is defined
+ if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then
+ LIBS="$LIBS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include/rtmidi"
+ fi
+
+ # For -I and -D flags
+--- a/rtmidi-3.0.0/configure.ac 2017-08-31 17:10:07.000000000 -0700
++++ b/rtmidi-3.0.0/configure.ac 2017-09-28 19:19:37.515888982 -0700
+@@ -77,7 +77,6 @@
+ # Set paths if prefix is defined
+ if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then
+ LIBS="$LIBS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include/rtmidi"
+ fi
+
+ # For -I and -D flags