diff options
author | kris <kris@FreeBSD.org> | 2002-08-23 22:10:38 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-08-23 22:10:38 +0000 |
commit | a4b958ccc3a49daecb1366a135ddc75713d0b957 (patch) | |
tree | f074d1fec1d06c18f82465d752e5ce9fccfcc41d /sysutils/apcupsd | |
parent | 124a7393d612969bbf286b2ad59ab646e26db55b (diff) | |
download | FreeBSD-ports-a4b958ccc3a49daecb1366a135ddc75713d0b957.zip FreeBSD-ports-a4b958ccc3a49daecb1366a135ddc75713d0b957.tar.gz |
Doing this is lame and causes the -current build to fail:
int true = 1;
while (true) {
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r-- | sysutils/apcupsd/files/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/apcupsd/files/patch-ad b/sysutils/apcupsd/files/patch-ad new file mode 100644 index 0000000..8a6b7a7 --- /dev/null +++ b/sysutils/apcupsd/files/patch-ad @@ -0,0 +1,13 @@ +--- powerflute.c.orig Fri Aug 23 14:58:34 2002 ++++ powerflute.c Fri Aug 23 14:58:09 2002 +@@ -576,9 +576,8 @@ + int do_horiz_menu(void) { + int pos = 0; + int oldpos = 0; +- int true = 1; + +- while (true) { ++ while (1) { + + display_h_menu(pos); + |