remove xpdf because I was an idiot when I imported

the newer version, and imported it into a different category.
It's easier this way.
This commit is contained in:
marc 1999-01-31 00:42:58 +00:00
parent cdde9337bd
commit d5737c60ee
7 changed files with 1 additions and 86 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 1998/11/19 00:47:17 yanick Exp $
# $OpenBSD: Makefile,v 1.17 1999/01/31 00:42:58 marc Exp $
# $FreeBSD: Makefile,v 1.55 1997/11/03 12:12:27 tg Exp $
#
@ -67,7 +67,6 @@
# SUBDIR += xmorph
# SUBDIR += xmountains
SUBDIR += xpaint
SUBDIR += xpdf
SUBDIR += xpm
SUBDIR += xv

View File

@ -1,19 +0,0 @@
# OpenBSD makefile for: xpdf
# Version required: 0.7a
# Date created: December 2, 1997
# Whom: angelos@openbsd.org
#
# $OpenBSD: Makefile,v 1.3 1998/05/16 01:46:32 angelos Exp $
#
DISTNAME= xpdf-0.7a
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.aimnet.com/pub/users/derekn/xpdf/
MAINTAINER= angelos@openbsd.org
GNU_CONFIGURE= yes
USE_X11= yes
MAN1= xpdf.1 pdftops.1 pdftotext.1
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (xpdf-0.7a.tar.gz) = 3b6ed5783d1f7c53a3983d404ec5c818

View File

@ -1,49 +0,0 @@
*** xpdf/Stream.cc.orig Fri May 15 20:13:58 1998
--- xpdf/Stream.cc Fri May 15 20:18:10 1998
***************
*** 498,503 ****
--- 498,505 ----
void LZWStream::reset() {
FILE *f;
+ int fdfd;
+ char *zzzz;
str->reset();
bufPtr = bufEnd = buf;
***************
*** 513,524 ****
strcpy(zCmd, uncompressCmd);
strcat(zCmd, " ");
zName = zCmd + strlen(zCmd);
! tmpnam(zName);
strcat(zName, ".Z");
! if (!(f = fopen(zName, FOPEN_WRITE_BIN))) {
error(getPos(), "Couldn't open temporary file '%s'", zName);
return;
}
dumpFile(f);
fclose(f);
#ifdef HAVE_POPEN
--- 515,535 ----
strcpy(zCmd, uncompressCmd);
strcat(zCmd, " ");
zName = zCmd + strlen(zCmd);
! strcpy(zName, "/tmp/xpXXXXXXXX");
! zzzz = strdup(zName);
! fdfd = mkstemp(zzzz);
strcat(zName, ".Z");
! if (!(f = fdopen(fdfd, FOPEN_WRITE_BIN))) {
error(getPos(), "Couldn't open temporary file '%s'", zName);
+ free(zzzz);
return;
}
+ if (rename(zzzz, zName) == -1) {
+ error(getPos(), "Couldn't rename temporary file '%s'", zName);
+ free(zzzz);
+ return;
+ }
+ free(zzzz);
dumpFile(f);
fclose(f);
#ifdef HAVE_POPEN

View File

@ -1 +0,0 @@
Display tool for PDF files

View File

@ -1,8 +0,0 @@
Xpdf is a viewer for Portable Document Format (PDF) files. (These are
also sometimes also called 'Acrobat' files, from the name of Adobe's
PDF software.) Xpdf runs under UNIX and the X Window System.
Xpdf is designed to be small and efficient. It does not use the Motif
or Xt libraries. It uses standard X fonts. Xpdf is quite usable on a
486-66 PC running FreeBSD.

View File

@ -1,6 +0,0 @@
bin/xpdf
bin/pdftops
bin/pdftotext
man/man1/xpdf.1
man/man1/pdftops.1
man/man1/pdftotext.1