summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-08-23 22:10:38 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-08-23 22:10:38 +0000
commit8859a770279647f507e3c90f66f0e00332104887 (patch)
tree643b028cc3e988199a474422736e9cc437fc9b39 /sysutils/apcupsd
parentMark BROKEN for -CURRENT post gcc 3.1 (diff)
Doing this is lame and causes the -current build to fail:
int true = 1; while (true) {
Notes
Notes: svn path=/head/; revision=64921
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/files/patch-ad13
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 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);
+