New package: t1utils-1.41
This commit is contained in:
parent
4a9c12bf23
commit
397c411f71
2 changed files with 42 additions and 0 deletions
22
srcpkgs/t1utils/patches/memmem-declaration.patch
Normal file
22
srcpkgs/t1utils/patches/memmem-declaration.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
https://github.com/kohler/t1utils/issues/8
|
||||||
|
https://github.com/kohler/t1utils/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8
|
||||||
|
|
||||||
|
--- configure.ac.orig 2017-08-16 18:27:16.000000000 +0200
|
||||||
|
+++ configure.ac 2017-09-14 09:09:17.077248094 +0200
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
dnl
|
||||||
|
|
||||||
|
AC_REPLACE_FUNCS([strerror memmem])
|
||||||
|
+AC_CHECK_DECLS([memmem])
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
|
@@ -88,7 +89,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Prototype memmem if we don't have it. */
|
||||||
|
-#if !HAVE_MEMMEM
|
||||||
|
+#if !HAVE_MEMMEM || !HAVE_DECL_MEMMEM
|
||||||
|
void* memmem(const void* haystack, size_t haystack_len,
|
||||||
|
const void* needle, size_t needle_len);
|
||||||
|
#endif
|
20
srcpkgs/t1utils/template
Normal file
20
srcpkgs/t1utils/template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 't1utils'
|
||||||
|
pkgname=t1utils
|
||||||
|
version=1.41
|
||||||
|
revision=1
|
||||||
|
build_style="gnu-configure"
|
||||||
|
hostmakedepends="automake autoconf"
|
||||||
|
short_desc="Type 1 font utilities"
|
||||||
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||||||
|
license="custom:Click"
|
||||||
|
homepage="https://www.lcdf.org/type/#t1utils"
|
||||||
|
distfiles="https://www.lcdf.org/type/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=fc5edd7e829902b3b685886382fed690d533681c0ab218a387c9e47606623427
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue