aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xmbmon
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-02 15:56:24 +0800
committerkrion <krion@FreeBSD.org>2004-08-02 15:56:24 +0800
commit779477c0717344c28317645d6df8930fdaf321ea (patch)
treefb1fceafacc72085927920c8807b3eb003fa4f7a /sysutils/xmbmon
parentad6412bb1ba2de7e5404db51b254a553fa24f7db (diff)
downloadfreebsd-ports-gnome-779477c0717344c28317645d6df8930fdaf321ea.tar.gz
freebsd-ports-gnome-779477c0717344c28317645d6df8930fdaf321ea.tar.zst
freebsd-ports-gnome-779477c0717344c28317645d6df8930fdaf321ea.zip
Fix build with gcc-3.4.2
PR: ports/69885 Submitted by: Alexander Marx <mad@madness.at>
Diffstat (limited to 'sysutils/xmbmon')
-rw-r--r--sysutils/xmbmon/files/patch-testsmb.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/xmbmon/files/patch-testsmb.c b/sysutils/xmbmon/files/patch-testsmb.c
new file mode 100644
index 000000000000..ceabe4903225
--- /dev/null
+++ b/sysutils/xmbmon/files/patch-testsmb.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- testsmb.c.orig Mon Aug 2 09:54:32 2004
++++ testsmb.c Mon Aug 2 09:55:00 2004
+@@ -126,7 +126,7 @@
+ break;
+ default:
+ fprintf(stderr, "No known SMBus(I2C) chip found.\n");
+- goto exit;
++ continue;
+ }
+
+ if(OpenIO() == -1) return -1;
+@@ -141,7 +141,6 @@
+ }
+
+ CloseIO();
+-exit:
+
+ } /* endo of Big roop for smb_base candidates */
+ exit (0);