summaryrefslogtreecommitdiffhomepage
path: root/patches/classpath/classpath-0.99.fix-alsa-compilation.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-07 15:19:20 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-07 15:19:20 +0000
commit7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd (patch)
tree46f0a6b15a4f4b0da66b20062538121ab60095e4 /patches/classpath/classpath-0.99.fix-alsa-compilation.patch
parent52e2925ffbc9741180aa1e19017166a34272c3ff (diff)
downloadmidipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.bz2
midipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.xz
patches/classpath/classpath-0.99.*.patch: via Redfoxmoon.
Diffstat (limited to 'patches/classpath/classpath-0.99.fix-alsa-compilation.patch')
-rw-r--r--patches/classpath/classpath-0.99.fix-alsa-compilation.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/classpath/classpath-0.99.fix-alsa-compilation.patch b/patches/classpath/classpath-0.99.fix-alsa-compilation.patch
new file mode 100644
index 00000000..a8d1026a
--- /dev/null
+++ b/patches/classpath/classpath-0.99.fix-alsa-compilation.patch
@@ -0,0 +1,12 @@
+diff -ru classpath-0.99.orig/native/jni/midi-alsa/Makefile.am classpath-0.99/native/jni/midi-alsa/Makefile.am
+--- classpath-0.99.orig/native/jni/midi-alsa/Makefile.am 2008-06-23 16:12:25.000000000 +0200
++++ classpath-0.99/native/jni/midi-alsa/Makefile.am 2018-06-07 16:04:06.060732894 +0200
+@@ -4,7 +4,7 @@
+ gnu_javax_sound_midi_alsa_AlsaPortDevice.c \
+ gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c
+
+-libgjsmalsa_la_LIBADD = -lasound
++libgjsmalsa_la_LIBADD = -lasound $(top_srcdir)/native/jni/classpath/libclasspath.la
+ libgjsmalsa_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
+
+ AM_LDFLAGS = @CLASSPATH_MODULE@