diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1994-12-05 09:49:10 +0800 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1994-12-05 09:49:10 +0800 |
commit | 5f4724a77a1b5e3dc30e7911971e7742c0ba7da5 (patch) | |
tree | 5769adbf4dc42ffddd9186a866fcc1c34dd0ccb0 /x11/rxvt-unicode | |
parent | d3d06a7e40f56a1df2373959085ef345c43a1fd5 (diff) | |
download | freebsd-ports-gnome-5f4724a77a1b5e3dc30e7911971e7742c0ba7da5.tar.gz freebsd-ports-gnome-5f4724a77a1b5e3dc30e7911971e7742c0ba7da5.tar.zst freebsd-ports-gnome-5f4724a77a1b5e3dc30e7911971e7742c0ba7da5.zip |
rxvt - miniature xterm clone.
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r-- | x11/rxvt-unicode/Makefile | 21 | ||||
-rw-r--r-- | x11/rxvt-unicode/files/patch-aa | 52 | ||||
-rw-r--r-- | x11/rxvt-unicode/files/patch-ab | 23 |
3 files changed, 96 insertions, 0 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile new file mode 100644 index 000000000000..2ee9f56a6758 --- /dev/null +++ b/x11/rxvt-unicode/Makefile @@ -0,0 +1,21 @@ +# New ports collection Makefile for: rxvt +# Version required: 2.09 +# Date created: 5th December 1994 +# Whom: gpalmer@FreeBSD.org +# +# $Id$ +# + +DISTNAME= rxvt-2.09 +USE_IMAKE= yes +INSTALL_MANPAGES= yes +WRKSRC= ${WRKDIR}/rxvt +PREFIX= /usr/X11R6/bin +MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/ + +# Get rid of the rclock directory until I can figure out how to patch +# that up also and make it! +pre-configure: + @/bin/rm -rf ${WRKDIR}/rclock + +.include <bsd.port.mk> diff --git a/x11/rxvt-unicode/files/patch-aa b/x11/rxvt-unicode/files/patch-aa new file mode 100644 index 000000000000..87953ca79716 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-aa @@ -0,0 +1,52 @@ +*** Imakefile.orig Thu Oct 20 15:23:25 1994 +--- Imakefile Mon Dec 5 01:22:49 1994 +*************** +*** 4,10 **** + */ + + # uncomment for gcc +! CC=gcc + + # add -DDEBUG to get rxvt to self-check for internal screen corruption + # add -DDEBUG_MALLOC to self check on out of bound memory usage. +--- 4,10 ---- + */ + + # uncomment for gcc +! CC=cc + + # add -DDEBUG to get rxvt to self-check for internal screen corruption + # add -DDEBUG_MALLOC to self check on out of bound memory usage. +*************** +*** 77,86 **** + #EXTRA_LOAD_FLAGS= -lc -lucb + + # Using this defines adds in UTMP support for Sun OS 4.1.x +! EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS + + # for FreeBSD +! #EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS + + # for NetBSD 0.9 + #DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS +--- 77,86 ---- + #EXTRA_LOAD_FLAGS= -lc -lucb + + # Using this defines adds in UTMP support for Sun OS 4.1.x +! #EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS + + # for FreeBSD +! EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS + + # for NetBSD 0.9 + #DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS +*************** +*** 95,100 **** +--- 95,101 ---- + + DEPLIBS = $(DEPXLIB) + LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) ++ INSTALLFLAGS = -g wheel -o root -c -s -m 4755 + + SRCS = rxvt.c command.c sbar.c screen.c utmp.c xsetup.c debug.c resources.c graphics.c\ + $(GREEK_SRC) diff --git a/x11/rxvt-unicode/files/patch-ab b/x11/rxvt-unicode/files/patch-ab new file mode 100644 index 000000000000..fb2c7d1e507f --- /dev/null +++ b/x11/rxvt-unicode/files/patch-ab @@ -0,0 +1,23 @@ +*** command.c.old Mon Dec 5 01:07:33 1994 +--- command.c Mon Dec 5 01:07:49 1994 +*************** +*** 373,381 **** + { + int pgrp = getpid(); + ioctl(0, TIOCSPGRP, (char *)&pgrp); +! setpgrp(); + close(open(ttynam, O_WRONLY, 0)); +! setpgrp (); + } + + /* init of termios structure */ +--- 373,381 ---- + { + int pgrp = getpid(); + ioctl(0, TIOCSPGRP, (char *)&pgrp); +! setpgrp(0,pgrp); + close(open(ttynam, O_WRONLY, 0)); +! setpgrp (0,pgrp); + } + + /* init of termios structure */ |