This patch cleans up some of the C code in the ipmiport and a really ugly file filled with ^M meta characters. Should be applied. This will allow ipmitools to compile on legacy (4.X) BSD cleanly. Fix: Apply patch from with patch -p0 < ipmi.diff The patch file was too big, so please grab it from: http://people.freebsd.org/~sbruno/ipmi.diff How-To-Repeat: Attempt to build on non-supported, 4.X machines.
State Changed From-To: open->analyzed Hi Sean, Can you fetch http://people.freebsd.org/~glarkin/diffs/sysutils-ipmitool.diff and apply it to the current CVS version of the sysutils/ipmitool port? There is a DOS2UNIX variable in the ports infrastructure, so I removed the giant patch that deletes the ^M characters and used DOS2UNIX to do the conversion instead. Do these changes build on supported OS versions, or do the patches need to be conditionalized? Thank you, Greg
Responsible Changed From-To: freebsd-ports-bugs->glarkin
The patch is not conditional. The patch you suggested does work for me on the couple of environments at my disposal. Commit fire! Sean
State Changed From-To: analyzed->feedback Tinderbox builds succeeded with revised patch, and FreeBSD 4.x build succeeded. Now awaiting maintainer approval before committing.
glarkin 2010-07-28 14:04:21 UTC FreeBSD ports repository Modified files: sysutils/ipmitool Makefile Added files: sysutils/ipmitool/files patch-include__ipmitool__ipmi_sdr.h patch-lib__ipmi_fru.c patch-lib__ipmi_sdr.c patch-src__ipmishell.c patch-src__plugins__lan__lan.c Log: - Patch the code to enable clean compiling on legacy (4.x) BSD systems. PR: ports/148269 Submitted by: sbruno Approved by: Steve Polyack <spolyack at collaborativefusion dot com> (maintainer) Revision Changes Path 1.19 +2 -2 ports/sysutils/ipmitool/Makefile 1.1 +11 -0 ports/sysutils/ipmitool/files/patch-include__ipmitool__ipmi_sdr.h (new) 1.1 +21 -0 ports/sysutils/ipmitool/files/patch-lib__ipmi_fru.c (new) 1.1 +83 -0 ports/sysutils/ipmitool/files/patch-lib__ipmi_sdr.c (new) 1.1 +10 -0 ports/sysutils/ipmitool/files/patch-src__ipmishell.c (new) 1.1 +10 -0 ports/sysutils/ipmitool/files/patch-src__plugins__lan__lan.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, thank you!