new package: liblo
This commit is contained in:
parent
ec1b017035
commit
83568c398e
7
packages/liblo/build.sh
Normal file
7
packages/liblo/build.sh
Normal file
@ -0,0 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://liblo.sourceforge.net/
|
||||
TERMUX_PKG_DESCRIPTION="A lightweight library that provides an easy to use implementation of the OSC protocol"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.31
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/liblo/liblo-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750
|
11
packages/liblo/src-server.c.patch
Normal file
11
packages/liblo/src-server.c.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/src/server.c
|
||||
+++ b/src/server.c
|
||||
@@ -2013,7 +2013,7 @@
|
||||
|
||||
tmp = (char*) malloc(strlen(it->path + len) + 1);
|
||||
strcpy(tmp, it->path + len);
|
||||
-#if defined(WIN32) || defined(_MSC_VER)
|
||||
+#if defined(WIN32) || defined(_MSC_VER) || defined(__ANDROID__)
|
||||
sec = strchr(tmp, '/');
|
||||
#else
|
||||
sec = index(tmp, '/');
|
Loading…
Reference in New Issue
Block a user