diff options
author | lifanov <lifanov@FreeBSD.org> | 2017-02-07 02:49:27 +0800 |
---|---|---|
committer | lifanov <lifanov@FreeBSD.org> | 2017-02-07 02:49:27 +0800 |
commit | 0f481f17edc33709052137fc2616ef11664dd7c0 (patch) | |
tree | fcaeede9162501942c56a35ccdef6ccd5a093f44 /sysutils/mcelog | |
parent | 2b0e95f57489c264572b81514cdae54609dd14e4 (diff) | |
download | freebsd-ports-gnome-0f481f17edc33709052137fc2616ef11664dd7c0.tar.gz freebsd-ports-gnome-0f481f17edc33709052137fc2616ef11664dd7c0.tar.zst freebsd-ports-gnome-0f481f17edc33709052137fc2616ef11664dd7c0.zip |
update sysutils/mcelog to 148
- Intel Xeons from Ivy Bridge onwards support a processor identification number.
- Fix warning with gcc 6.x
- replace asprintf with xasprintf as per memutil.c
- Return -ENOMEM for vasprintf in sysfs_write
PR: 216789
Submitted by: ultima1252@gmail.com (maintainer)
Reviewed by: matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D9454
Diffstat (limited to 'sysutils/mcelog')
-rw-r--r-- | sysutils/mcelog/Makefile | 3 | ||||
-rw-r--r-- | sysutils/mcelog/distinfo | 6 | ||||
-rw-r--r-- | sysutils/mcelog/files/patch-Makefile | 21 |
3 files changed, 12 insertions, 18 deletions
diff --git a/sysutils/mcelog/Makefile b/sysutils/mcelog/Makefile index ac0e5f32caf9..28bf43acc4f1 100644 --- a/sysutils/mcelog/Makefile +++ b/sysutils/mcelog/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mcelog -PORTVERSION= 147 +PORTVERSION= 148 DISTVERSIONPREFIX= v CATEGORIES= sysutils @@ -25,6 +25,7 @@ SHEBANG_FILES= tests/cache/inject tests/memdb/inject tests/page/inject \ tests/trigger tests/unknown/inject MAKE_ENV+= FREEBSD=1 +MAKE_ARGS+= CFLAGS="${CFLAGS}" prefix="${PREFIX}" LDFLAGS+= -lkvm PLIST_FILES= bin/mcelog man/man8/mcelog.8.gz diff --git a/sysutils/mcelog/distinfo b/sysutils/mcelog/distinfo index e3600953b612..6e29d5a75725 100644 --- a/sysutils/mcelog/distinfo +++ b/sysutils/mcelog/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484491926 -SHA256 (andikleen-mcelog-v147_GH0.tar.gz) = f18c5c12a8c8addf56f66f0046a8f0c7ba262f48f95bf57abed8430df0eeebe6 -SIZE (andikleen-mcelog-v147_GH0.tar.gz) = 296947 +TIMESTAMP = 1486231306 +SHA256 (andikleen-mcelog-v148_GH0.tar.gz) = 3de7312ee13b0968ae8e1aa0a77acaaee89a0ed7de45f7ce557939723df3dc04 +SIZE (andikleen-mcelog-v148_GH0.tar.gz) = 296927 diff --git a/sysutils/mcelog/files/patch-Makefile b/sysutils/mcelog/files/patch-Makefile index 571fe2b5087b..5c17a30c0d20 100644 --- a/sysutils/mcelog/files/patch-Makefile +++ b/sysutils/mcelog/files/patch-Makefile @@ -1,13 +1,6 @@ ---- Makefile.orig 2016-10-18 22:32:19 UTC +--- Makefile.orig 2017-02-04 00:51:04 UTC +++ Makefile -@@ -1,5 +1,4 @@ --CFLAGS := -g -Os --prefix := /usr -+prefix := /usr/local - etcprefix := - MANDIR := ${prefix}/share/man - # Define appropiately for your distribution -@@ -27,14 +26,21 @@ all: mcelog +@@ -27,14 +27,21 @@ all: mcelog .PHONY: install clean depend FORCE @@ -32,7 +25,7 @@ CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \ version.o version.c version.tmp DOC := mce.pdf -@@ -43,7 +49,7 @@ ADD_DEFINES := +@@ -43,7 +50,7 @@ ADD_DEFINES := SRC := $(OBJ:.o=.c) @@ -41,16 +34,16 @@ # dbquery intentionally not installed by default install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5 -@@ -82,7 +88,7 @@ depend: .depend +@@ -82,7 +89,7 @@ depend: .depend version.tmp: FORCE ( echo -n "char version[] = \"" ; \ -- if type -p git >/dev/null; then \ -+ if command -v git >/dev/null; then \ +- if command -v git >/dev/null; then \ ++ if false; then \ if [ -d .git ] ; then \ git describe --tags HEAD | tr -d '\n'; \ else \ -@@ -98,8 +104,6 @@ version.c: version.tmp +@@ -98,8 +105,6 @@ version.c: version.tmp .depend: ${SRC} ${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend |