pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bdfresize sysutils/bdfresize: import bdfresiz...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5693dbd8c60
branches:  trunk
changeset: 337908:e5693dbd8c60
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Aug 14 17:21:06 2019 +0000

description:
sysutils/bdfresize: import bdfresize-1.5.

Bdfresize is a command to magnify or reduce fonts which are described
with the standard BDF format.

OK kamil@

diffstat:

 sysutils/bdfresize/DESCR                      |   2 ++
 sysutils/bdfresize/Makefile                   |  27 +++++++++++++++++++++++++++
 sysutils/bdfresize/PLIST                      |   3 +++
 sysutils/bdfresize/distinfo                   |   7 +++++++
 sysutils/bdfresize/patches/patch-charresize.c |  14 ++++++++++++++
 5 files changed, 53 insertions(+), 0 deletions(-)

diffs (73 lines):

diff -r 28b3ff1d8538 -r e5693dbd8c60 sysutils/bdfresize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bdfresize/DESCR  Wed Aug 14 17:21:06 2019 +0000
@@ -0,0 +1,2 @@
+Bdfresize is a command to magnify or reduce fonts which are described
+with the standard BDF format.
diff -r 28b3ff1d8538 -r e5693dbd8c60 sysutils/bdfresize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bdfresize/Makefile       Wed Aug 14 17:21:06 2019 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2019/08/14 17:21:06 fcambus Exp $
+
+DISTNAME=      bdfresize-1.5
+CATEGORIES=    sysutils
+MASTER_SITES=  https://www.distfiles.pl/
+
+MAINTAINER=    fcambus%NetBSD.org@localhost
+COMMENT=       Tool for resizing BDF format fonts
+LICENSE=       gnu-gpl-v2
+
+# Do not build embedded getopt
+SUBST_CLASSES+=                makefile
+SUBST_STAGE.makefile=  post-configure
+SUBST_MESSAGE.makefile=        Do not build embedded getopt
+SUBST_FILES.makefile=  Makefile
+SUBST_SED.makefile+=   -e 's,charresize.o getopt.o,charresize.o,'
+
+# Fix getopt includes
+SUBST_CLASSES+=                includes
+SUBST_STAGE.includes=  post-configure
+SUBST_MESSAGE.includes=        Fix getopt includes
+SUBST_FILES.includes=  bdfresize.c
+SUBST_SED.includes+=   -e 's,"getopt.h",<getopt.h>,'
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r 28b3ff1d8538 -r e5693dbd8c60 sysutils/bdfresize/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bdfresize/PLIST  Wed Aug 14 17:21:06 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/14 17:21:06 fcambus Exp $
+bin/bdfresize
+man/man1/bdfresize.1
diff -r 28b3ff1d8538 -r e5693dbd8c60 sysutils/bdfresize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bdfresize/distinfo       Wed Aug 14 17:21:06 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/08/14 17:21:06 fcambus Exp $
+
+SHA1 (bdfresize-1.5.tar.gz) = 4708736716b5a59af4af10820433084d98290238
+RMD160 (bdfresize-1.5.tar.gz) = 4006de25bcbbe76e895147315d112a23899caf4a
+SHA512 (bdfresize-1.5.tar.gz) = 94d483b65ed4a29315b0f6627b6118c147e6d80dda61c0c44ad34fa62f303e980d974c81c9b852a845d8f5cb678e043023c42bf300b10e6f18846bd8490ef878
+Size (bdfresize-1.5.tar.gz) = 50916 bytes
+SHA1 (patch-charresize.c) = dc13c596a15cf0ca5dc2d1ec66fad0dd80ad0ac0
diff -r 28b3ff1d8538 -r e5693dbd8c60 sysutils/bdfresize/patches/patch-charresize.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bdfresize/patches/patch-charresize.c     Wed Aug 14 17:21:06 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-charresize.c,v 1.1 2019/08/14 17:21:06 fcambus Exp $
+
+Fix conflicting types for 'malloc' error.
+
+--- charresize.c.orig  2019-01-01 14:29:28.177478590 +0000
++++ charresize.c
+@@ -46,7 +46,6 @@ static int   bit[8] = { 0x80, 0x40, 0x20, 
+ void
+ processChar(void)
+ {
+-  char        *malloc();
+   char        *srcimage;
+   int *dstgray;
+ 



Home | Main Index | Thread Index | Old Index