update to version 2.3d

This commit is contained in:
marc 1999-05-11 03:04:35 +00:00
parent 941f84abba
commit 36fa5d5d45
4 changed files with 12 additions and 36 deletions

View File

@ -1,26 +1,21 @@
# $OpenBSD: Makefile,v 1.7 1999/04/01 06:20:07 brad Exp $
# $OpenBSD: Makefile,v 1.8 1999/05/11 03:04:35 marc Exp $
DISTNAME= id-utils-3.2
DISTNAME= id-utils-3.2d
CATEGORIES= devel
MAINTAINER= ports@OpenBSD.ORG
# International files don't want to be built separately
SEPARATE_BUILD=simple
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= id-utils
MASTER_SITES= ftp://alpha.gnu.org/gnu/ \
ftp://ftp.enst.fr/pub/gnu/gnits/
# need to byte-compile a .el file
#
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
# International files don't want to be built separately
#
SEPARATE_BUILD= simple
GNU_CONFIGURE= yes
CONFIGURE_ENV= ${SETENV}
USE_GMAKE= yes
post-install:
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/id-utils.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (id-utils-3.2.tar.gz) = 758213344bfd1b70723b10cdb2beaef3
RMD160 (id-utils-3.2.tar.gz) = 4dada22d46cf791cf9ed61c69bbcafb0b9b1f99d
SHA1 (id-utils-3.2.tar.gz) = 14d96a2170745883d077fa8c436e4380f28951a5
SHA1 (id-utils-3.2d.tar.gz) = 1a119976650b511b111cc39b9ec78a4058dd9791
RMD160 (id-utils-3.2d.tar.gz) = 63e7c8380946d0490a90810ff1c6bdbc297c67fe
MD5 (id-utils-3.2d.tar.gz) = 1152902c1fff4fadb8a7827ad91a80b0

View File

@ -1,19 +0,0 @@
--- src/lid.c.~1~ Tue Aug 6 19:43:28 1996
+++ src/lid.c Sat Mar 14 19:59:04 1998
@@ -758,11 +758,14 @@
search_flinkv (struct file_link **flinkv)
{
char pattern[BUFSIZ];
+ char *p;
unsigned int count;
- if (gets (pattern) == 0)
+ if (fgets (pattern, BUFSIZ, stdin) == 0)
return -1;
-
+ p = strchr(pattern, '\n');
+ if (p)
+ *p = 0;
for (count = 0; *flinkv; count++, flinkv++)
{
char *file_name = ALLOCA (char, PATH_MAX);

View File

@ -9,8 +9,8 @@ bin/gid
bin/defid
@unexec install-info --delete %D/info/id-utils.info %D/info/dir
info/id-utils.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/id-utils.info %D/info/dir
share/emacs/site-lisp/id-utils.el
share/emacs/site-lisp/id-utils.elc
share/id-lang.map
share/locale/de/LC_MESSAGES/id-utils.mo