pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/bdfresize



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Wed Aug 14 17:21:06 UTC 2019

Added Files:
        pkgsrc/sysutils/bdfresize: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/bdfresize/patches: patch-charresize.c

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/bdfresize/DESCR \
    pkgsrc/sysutils/bdfresize/Makefile pkgsrc/sysutils/bdfresize/PLIST \
    pkgsrc/sysutils/bdfresize/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/bdfresize/patches/patch-charresize.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/bdfresize/DESCR
diff -u /dev/null pkgsrc/sysutils/bdfresize/DESCR:1.1
--- /dev/null   Wed Aug 14 17:21:06 2019
+++ pkgsrc/sysutils/bdfresize/DESCR     Wed Aug 14 17:21:06 2019
@@ -0,0 +1,2 @@
+Bdfresize is a command to magnify or reduce fonts which are described
+with the standard BDF format.
Index: pkgsrc/sysutils/bdfresize/Makefile
diff -u /dev/null pkgsrc/sysutils/bdfresize/Makefile:1.1
--- /dev/null   Wed Aug 14 17:21:06 2019
+++ pkgsrc/sysutils/bdfresize/Makefile  Wed Aug 14 17:21:06 2019
@@ -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"
Index: pkgsrc/sysutils/bdfresize/PLIST
diff -u /dev/null pkgsrc/sysutils/bdfresize/PLIST:1.1
--- /dev/null   Wed Aug 14 17:21:06 2019
+++ pkgsrc/sysutils/bdfresize/PLIST     Wed Aug 14 17:21:06 2019
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/14 17:21:06 fcambus Exp $
+bin/bdfresize
+man/man1/bdfresize.1
Index: pkgsrc/sysutils/bdfresize/distinfo
diff -u /dev/null pkgsrc/sysutils/bdfresize/distinfo:1.1
--- /dev/null   Wed Aug 14 17:21:06 2019
+++ pkgsrc/sysutils/bdfresize/distinfo  Wed Aug 14 17:21:06 2019
@@ -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

Index: pkgsrc/sysutils/bdfresize/patches/patch-charresize.c
diff -u /dev/null pkgsrc/sysutils/bdfresize/patches/patch-charresize.c:1.1
--- /dev/null   Wed Aug 14 17:21:06 2019
+++ pkgsrc/sysutils/bdfresize/patches/patch-charresize.c        Wed Aug 14 17:21:06 2019
@@ -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