diff options
author | krion <krion@FreeBSD.org> | 2004-08-02 15:56:24 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-02 15:56:24 +0800 |
commit | 779477c0717344c28317645d6df8930fdaf321ea (patch) | |
tree | fb1fceafacc72085927920c8807b3eb003fa4f7a /sysutils/xmbmon | |
parent | ad6412bb1ba2de7e5404db51b254a553fa24f7db (diff) | |
download | freebsd-ports-graphics-779477c0717344c28317645d6df8930fdaf321ea.tar.gz freebsd-ports-graphics-779477c0717344c28317645d6df8930fdaf321ea.tar.zst freebsd-ports-graphics-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.c | 22 |
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 00000000000..ceabe490322 --- /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); |