Created attachment 166921 [details] mcelog.diff Had some newer cpus that gave some mca errors and required mcelog. The current version was not supported by my cpu so I decided to upgrade it to the newest version. The newest version has many new additions, unfortunately most of them are for linux and not compatible with freebsd. This also breaks some functions and gives several warnings on compile. Despite this, it appears to work as the old version did with newer hardware. * Updated to version 131 * Added version prefix * Switched to github over master sites * Removed patch_strip * Changed hard LDFLAGS to include * Fixed version in source * Updated distfile * Regenerated patchfiles for portlint * Modified several patchfiles, adapted to new version portlint: sysutils/mcelog WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy. WARN: /usr/local/poudriere/ports/test/sysutils/mcelog/pkg-message: possible use of absolute pathname "/path/to/log". 0 fatal errors and 2 warnings found. poudriere bulk -t -C: 102amd64: Success 102i386: Success 93amd64: Success 93i386: Success Have built on my system running head r295086 arch x86_64. The binary appears to work fine, however extra testing maybe required.
Adding John Baldwin for an additional set of eyes and testing, time permitting.
Testbuilds are fine.
Created attachment 167767 [details] patch-to-v133
133 was released a few days ago. Testbuilds on 11a, 10.2i are fine.
submitter will become maintainer.
A commit references this bug: Author: pi Date: Tue Mar 8 06:53:12 UTC 2016 New revision: 410604 URL: https://svnweb.freebsd.org/changeset/ports/410604 Log: sysutils/mcelog: 1.0pre3 -> 133 - Added version prefix - Switched to github over master sites - Removed patch_strip - Changed hard LDFLAGS to include - Fixed version in source - Updated distfile - Regenerated patchfiles for portlint - Modified several patchfiles, adapted to new version - submitter becomes maintainer PR: 207145 Submitted by: Ultima1252@gmail.com Approved by: Jeremy Chadwick <jdc@koitsu.org> (maintainer) Changes: head/sysutils/mcelog/Makefile head/sysutils/mcelog/distinfo head/sysutils/mcelog/files/patch-Makefile head/sysutils/mcelog/files/patch-cache.c head/sysutils/mcelog/files/patch-client.c head/sysutils/mcelog/files/patch-eventloop.c head/sysutils/mcelog/files/patch-intel.c head/sysutils/mcelog/files/patch-mcelog.c head/sysutils/mcelog/files/patch-mcelog.h head/sysutils/mcelog/files/patch-memdb.c head/sysutils/mcelog/files/patch-p4.c head/sysutils/mcelog/files/patch-server.c head/sysutils/mcelog/files/patch-tsc.c
Committed, thanks!