From 8859a770279647f507e3c90f66f0e00332104887 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Fri, 23 Aug 2002 22:10:38 +0000 Subject: Doing this is lame and causes the -current build to fail: int true = 1; while (true) { --- sysutils/apcupsd/files/patch-ad | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sysutils/apcupsd/files/patch-ad diff --git a/sysutils/apcupsd/files/patch-ad b/sysutils/apcupsd/files/patch-ad new file mode 100644 index 000000000000..8a6b7a7c3dc4 --- /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); + -- cgit v1.2.3