summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-12-31 19:20:15 +0000
committerCy Schubert <cy@FreeBSD.org>2003-12-31 19:20:15 +0000
commit8137d350d243e6dfe8a45787c3e698a92d4823cc (patch)
tree7df15d98d0ef02cc7149894a0870c59d72ff88cb /x11-clocks
parentPortlint (diff)
Fix for -current.
PR: 57130
Notes
Notes: svn path=/head/; revision=97008
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/xalarm/Makefile4
-rw-r--r--x11-clocks/xalarm/files/patch-aa56
2 files changed, 51 insertions, 9 deletions
diff --git a/x11-clocks/xalarm/Makefile b/x11-clocks/xalarm/Makefile
index 2ef792413255..b97b7f333e3e 100644
--- a/x11-clocks/xalarm/Makefile
+++ b/x11-clocks/xalarm/Makefile
@@ -16,10 +16,6 @@ COMMENT= An X based alarm clock
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 501102
-BROKEN= "Does not compile"
-.endif
-
USE_IMAKE= yes
IS_INTERACTIVE= yes
diff --git a/x11-clocks/xalarm/files/patch-aa b/x11-clocks/xalarm/files/patch-aa
index 0f13397f180d..2e877070aa36 100644
--- a/x11-clocks/xalarm/files/patch-aa
+++ b/x11-clocks/xalarm/files/patch-aa
@@ -1,8 +1,54 @@
---- Imakefile.orig Sat Jul 22 00:32:07 1995
-+++ Imakefile Tue Dec 25 17:40:22 2001
-@@ -23,7 +23,7 @@
- /**/# this may not work if xalarm is invoked from a pseudo terminal).
- /**/# o Define USECUSERID to use cuserid(3) to get the user name.
+--- Imakefile.orig Fri Jul 21 07:32:07 1995
++++ Imakefile Wed Nov 12 22:24:04 2003
+@@ -1,29 +1,29 @@
+-/**/# Based on an Imakefile from:
+-/**/# Andreas Stolcke
+-/**/# International Computer Science Institute, Berkeley.
+-/**/# With help from:
+-/**/# George Lindholm, Jonathan I. Kamens, Braham Levy.
+-
+-
+-/**/# o Define FORKRETURNSSHORT/FORKRETURNSLONG/FORKRETURNSPID_T if your
+-/**/# fork(2) returns short/long/pid_t not int.
+-/**/# o Define USEFLOCK or USELOCKF to use flock(2) or lockf(3) to lock files,
+-/**/# rather than fcntl(2).
+-/**/# o Define USELSEEK to use lseek(2) to move to the end of the file, rather
+-/**/# than fseek(3).
+-/**/# o Define USERENAME to use rename(2) to rename file names (otherwise
+-/**/# un/link(2)).
+-/**/# o Define USEGETHOSTNAME or USEUNAME (or neither if you don't have
+-/**/# gethostname(2) or uname(2)) to get the name of your system.
+-/**/# o Define USEGETPWUID to use getpwuid(3) and getuid(2) to get the user
+-/**/# name and home directory on your system. Note that if you want to use
+-/**/# this method to get the user's home directory, but another method to get
+-/**/# the user name, this symbol must still be defined.
+-/**/# o Define USEGETLOGIN to use getlogin(3) to get the user name (note that
+-/**/# this may not work if xalarm is invoked from a pseudo terminal).
+-/**/# o Define USECUSERID to use cuserid(3) to get the user name.
++# Based on an Imakefile from:
++# Andreas Stolcke
++# International Computer Science Institute, Berkeley.
++# With help from:
++# George Lindholm, Jonathan I. Kamens, Braham Levy.
++
++
++# o Define FORKRETURNSSHORT/FORKRETURNSLONG/FORKRETURNSPID_T if your
++# fork(2) returns short/long/pid_t not int.
++# o Define USEFLOCK or USELOCKF to use flock(2) or lockf(3) to lock files,
++# rather than fcntl(2).
++# o Define USELSEEK to use lseek(2) to move to the end of the file, rather
++# than fseek(3).
++# o Define USERENAME to use rename(2) to rename file names (otherwise
++# un/link(2)).
++# o Define USEGETHOSTNAME or USEUNAME (or neither if you don't have
++# gethostname(2) or uname(2)) to get the name of your system.
++# o Define USEGETPWUID to use getpwuid(3) and getuid(2) to get the user
++# name and home directory on your system. Note that if you want to use
++# this method to get the user's home directory, but another method to get
++# the user name, this symbol must still be defined.
++# o Define USEGETLOGIN to use getlogin(3) to get the user name (note that
++# this may not work if xalarm is invoked from a pseudo terminal).
++# o Define USECUSERID to use cuserid(3) to get the user name.
-DEFINES = $(SIGNAL_DEFINES) -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID
+DEFINES = $(SIGNAL_DEFINES) -DFORKRETURNSPID_T -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID