xmbmon port fails to compile on -current with gcc 3.4.2 Fix: the following small patch seems to fix this; verified to build/run on 5.2-CURRENT (as of Jul 31) and 4.10-STABLE (from Jul 17). How-To-Repeat: on a system with gcc 3.4.2 cd /usr/ports/sysutils/xmbmon make the compile then stops with cc -O -pipe -I. -DHAVE_CONFIG_H -Wall -s -o testsmb testsmb.c pci_pm.o smbuses.o smbus_piix4.o smbus_amd.o smbus_ali.o smbus_amd8.o testsmb.c: In function `main': testsmb.c:146: error: label at end of compound statement *** Error code 1 Stop in /usr/ports/sysutils/xmbmon/work/xmbmon204. *** Error code 1 Stop in /usr/ports/sysutils/xmbmon.
State Changed From-To: open->closed Committed, thanks!