new package: libcddb
This commit is contained in:
parent
a93ea177dc
commit
66c20864f0
12
packages/libcddb/build.sh
Normal file
12
packages/libcddb/build.sh
Normal file
@ -0,0 +1,12 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://libcddb.sourceforge.net/
|
||||
TERMUX_PKG_DESCRIPTION="A C library to access data on a CDDB server"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.3.2
|
||||
TERMUX_PKG_SRCURL=http://prdownloads.sourceforge.net/libcddb/libcddb-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b
|
||||
TERMUX_PKG_DEPENDS="libiconv"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
11
packages/libcddb/lib-cddb_net.c.patch
Normal file
11
packages/libcddb/lib-cddb_net.c.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/lib/cddb_net.c
|
||||
+++ b/lib/cddb_net.c
|
||||
@@ -305,7 +305,7 @@
|
||||
int rv;
|
||||
fd_set wfds;
|
||||
struct timeval tv;
|
||||
- size_t l;
|
||||
+ socklen_t l;
|
||||
|
||||
/* set up select time out */
|
||||
tv.tv_sec = timeout;
|
Loading…
Reference in New Issue
Block a user