diff options
-rw-r--r-- | t1utils/LICENSE | 22 | ||||
-rw-r--r-- | t1utils/PKGBUILD | 44 | ||||
-rw-r--r-- | t1utils/memmem-decl.patch | 31 |
3 files changed, 0 insertions, 97 deletions
diff --git a/t1utils/LICENSE b/t1utils/LICENSE deleted file mode 100644 index 43f03171..00000000 --- a/t1utils/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The README file includes the following notices: - - Changes since version 1.2 (c) 1998-2000 Eddie Kohler, under the - same redistribution copyright as I. Lee Hetherington's. See below - for I. Lee Hetherington's original README from 1992, updated - slightly for today's t1utils. - - Eddie Kohler - eddietwo@lcs.mit.edu - - Copyright (c) 1992 by I. Lee Hetherington, all rights reserved. - - Permission is hereby granted to use, modify, and distribute this - program for any purpose provided this copyright notice and the one - below remain intact. - - Note that these tools should not be used to illegally copy type-1 - font programs. Typeface design is an intricate art that should be - rewarded. - - I. Lee Hetherington - ilh@lcs.mit.edu diff --git a/t1utils/PKGBUILD b/t1utils/PKGBUILD deleted file mode 100644 index c96e1d2e..00000000 --- a/t1utils/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Simo Leone <neotuli@gmail.com> - -pkgname=t1utils -pkgver=1.41 -pkgrel=3.1 -pkgdesc="A collection of simple Type 1 font manipulation programs" -arch=('x86_64') -url="https://www.lcdf.org/~eddietwo/type/#t1utils" -license=("custom") -_pinned_dependencies=( - 'glibc>=2.32' -) -depends=("${_pinned_dependencies[@]}") -source=("https://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz" - "memmem-decl.patch::https://github.com/kohler/t1utils/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch" - "LICENSE") -sha512sums=('b532d3af38a73903a512eb1297ba7510747dcbe8362acc4a0f20f2a3c786d82d8f5b22997ed3867114f33153a34cdd71c4c8e6a093db3cecc3825b6e4725a00b' - '573a15133e8227100820039aaf5dea12d038674dd486510a38647e9f500c9de2c16034d99c8b26444f6c7253fe788833aa6dbd3f46be389bc1ca1b031deb51c8' - '82dbc206391a9f9116038be74360455c960ddb76e35fdeb123044f74c74014223c3b35d7f1894ae7224c7a9e091acc1ff00df2a43d38a856b4f75988fb4dbd3e') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # FS#57999 and https://github.com/kohler/t1utils/issues/8 - patch -p1 -i "${srcdir}/memmem-decl.patch" - autoreconf -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - - install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - diff --git a/t1utils/memmem-decl.patch b/t1utils/memmem-decl.patch deleted file mode 100644 index 8e0e25dc..00000000 --- a/t1utils/memmem-decl.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 3f1ddda424353f0f926dd28efa47b0ac61556ce8 Mon Sep 17 00:00:00 2001 -From: Eddie Kohler <ekohler@gmail.com> -Date: Wed, 16 Aug 2017 12:37:34 -0400 -Subject: [PATCH] Check for memmem declaration; sometimes it is not declared by - default. - ---- - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 5b4e3ff..b4dc4fb 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -19,6 +19,7 @@ dnl strerror()? - dnl - - AC_REPLACE_FUNCS([strerror memmem]) -+AC_CHECK_DECLS([memmem]) - - - dnl -@@ -88,7 +89,7 @@ char* strerror(int errno); - #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 |