aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-08-24 06:10:38 +0800
committerkris <kris@FreeBSD.org>2002-08-24 06:10:38 +0800
commita4b958ccc3a49daecb1366a135ddc75713d0b957 (patch)
treef074d1fec1d06c18f82465d752e5ce9fccfcc41d /sysutils
parent124a7393d612969bbf286b2ad59ab646e26db55b (diff)
downloadfreebsd-ports-gnome-a4b958ccc3a49daecb1366a135ddc75713d0b957.tar.gz
freebsd-ports-gnome-a4b958ccc3a49daecb1366a135ddc75713d0b957.tar.zst
freebsd-ports-gnome-a4b958ccc3a49daecb1366a135ddc75713d0b957.zip
Doing this is lame and causes the -current build to fail:
int true = 1; while (true) {
Diffstat (limited to 'sysutils')
-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);
+