diff options
author | billf <billf@FreeBSD.org> | 1999-12-31 06:49:03 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-12-31 06:49:03 +0000 |
commit | 1045f800c01a996e0c3ed766cbbcfa09885bef30 (patch) | |
tree | 091d6c17a4b4df806d563d02573efde13d90afc7 /misc/delay | |
parent | 370d127e45a19ee8c51e0c352e10ff28977d0e7f (diff) | |
download | FreeBSD-ports-1045f800c01a996e0c3ed766cbbcfa09885bef30.zip FreeBSD-ports-1045f800c01a996e0c3ed766cbbcfa09885bef30.tar.gz |
Upgrade to 1.4
patch-aa: fix an incorrect usage of exit(), while I'm here use correct headers.
Diffstat (limited to 'misc/delay')
-rw-r--r-- | misc/delay/distinfo | 2 | ||||
-rw-r--r-- | misc/delay/files/patch-aa | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/misc/delay/distinfo b/misc/delay/distinfo index b6453a4..32ec320 100644 --- a/misc/delay/distinfo +++ b/misc/delay/distinfo @@ -1 +1 @@ -MD5 (delay-1.3.tar.gz) = 401962a1e76e4fc4672c687e71a6e0fa +MD5 (delay-1.4.tar.gz) = c7ca665bca31eb80a72b5ff24ebc3d27 diff --git a/misc/delay/files/patch-aa b/misc/delay/files/patch-aa new file mode 100644 index 0000000..cd41bf8 --- /dev/null +++ b/misc/delay/files/patch-aa @@ -0,0 +1,19 @@ +--- delay.c.old Fri Dec 31 00:04:28 1999 ++++ delay.c Fri Dec 31 00:05:02 1999 +@@ -17,6 +17,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <time.h> + #include <sys/time.h> + #include <unistd.h> +@@ -351,7 +352,7 @@ + if (cmd) { + execvp(cmd[0], cmd); + perror(argv[0]); /* If it worked, we won't get here. */ +- exit -1; ++ exit(-1); + } + + exit(0); |