1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New distribution tarball, same version.

Changes for that submitted by:	Chuck Robey <chuckr@freebsd.org>.

I also cleaned up some gratuitious "#ifndef __FreeBSD__"'s while
I was here.
This commit is contained in:
Thomas Gellekum 1998-02-05 09:02:58 +00:00
parent ec6f346038
commit 9b668dfc40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9599
3 changed files with 7 additions and 12 deletions

View File

@ -3,7 +3,7 @@
# Date created: 03 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1998/02/04 08:37:50 tg Exp $
#
DISTNAME= graphviz_1_21
@ -14,6 +14,8 @@ EXTRACT_SUFX= .src.unix.tgz
MAINTAINER= ports@FreeBSD.ORG
LIB_DEPENDS= tk42\\.1:${PORTSDIR}/x11/tk42
RESTRICTED= "Can't be fetched without license"
NO_PACKAGE= ${RESTRICTED}
NO_CDROM= ${RESTRICTED}
@ -23,13 +25,6 @@ MAN1= dot.1 dotty.1 lefty.1 neato.1 tcldot.1
SELFILEDIR= ${WRKSRC}/cmd/lefty/ws/x11/libfilereq
post-extract:
@${MV} ${SELFILEDIR}/dir.c ${SELFILEDIR}/Dir.c
@${MV} ${SELFILEDIR}/draw.c ${SELFILEDIR}/Draw.c
@${MV} ${SELFILEDIR}/path.c ${SELFILEDIR}/Path.c
@${MV} ${SELFILEDIR}/selfile.c ${SELFILEDIR}/SelFile.c
@${MV} ${SELFILEDIR}/sfinternal.h ${SELFILEDIR}/SFinternal.h
post-install:
${INSTALL_DATA} ${WRKSRC}/../doc/*.ps ${PREFIX}/share/doc/graphviz
${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${PREFIX}/share/doc/graphviz

View File

@ -1 +1 @@
MD5 (graphviz_1_21.src.unix.tgz) = 5825b237c178e62cb9d9aaff62b54a3e
MD5 (graphviz_1_21.src.unix.tgz) = a724dea82855a2261373a5dcdfb6d51a

View File

@ -4,7 +4,7 @@
#include <fcntl.h>
#include <signal.h>
#include <sys/wait.h>
+#ifndef __FreeBSD__
+#ifndef HAVE_TERMIOS
#include <termio.h>
+#else
+#include <termios.h>
@ -16,7 +16,7 @@
static int findpty (int *fd) {
char *majorp, *minorp;
char pty[32], tty[32];
+#ifndef __FreeBSD__
+#ifndef HAVE_TERMIOS
struct termio tio;
+#else
+ struct termios tio;
@ -28,7 +28,7 @@
if ((fd[0] = open (pty, O_RDWR)) >= 0) {
sprintf (tty, "/dev/tty%c%c", *majorp, *minorp);
if ((fd[1] = open (tty, O_RDWR)) >= 0) {
+#ifndef __FreeBSD__
+#ifndef HAVE_TERMIOS
ioctl (fd[1], TCGETA, &tio);
tio.c_lflag &= ~ECHO;
ioctl (fd[1], TCSETA, &tio);