aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mcelog/files
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-07 19:27:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-07 19:27:17 +0800
commita22baab213159fd4aca22c144d886c5322797416 (patch)
treeafcb5f65ff400380ff42d7afd38a4ab339736a85 /sysutils/mcelog/files
parent796929cb926b9335c71e79cdebc8a687276a5335 (diff)
downloadfreebsd-ports-gnome-a22baab213159fd4aca22c144d886c5322797416.tar.gz
freebsd-ports-gnome-a22baab213159fd4aca22c144d886c5322797416.tar.zst
freebsd-ports-gnome-a22baab213159fd4aca22c144d886c5322797416.zip
- Update to 141
- Remove obsolete disk db - Remove empty xeon-75xx files - Fix potential division by zero for unknown time unit - Fix use after free in error path - Add Kabylake client support PR: 212449 Submitted by: Ultima1252@gmail.com (maintainer)
Diffstat (limited to 'sysutils/mcelog/files')
-rw-r--r--sysutils/mcelog/files/patch-Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/mcelog/files/patch-Makefile b/sysutils/mcelog/files/patch-Makefile
index 5529c492cb57..2e46439c6178 100644
--- a/sysutils/mcelog/files/patch-Makefile
+++ b/sysutils/mcelog/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2016-04-15 20:19:32 UTC
+--- Makefile.orig 2016-09-02 21:52:54 UTC
+++ Makefile
@@ -1,5 +1,4 @@
-CFLAGS := -g -Os
@@ -7,7 +7,7 @@
etcprefix :=
MANDIR := ${prefix}/share/man
# Define appropiately for your distribution
-@@ -32,13 +31,20 @@ all: mcelog
+@@ -27,13 +26,20 @@ all: mcelog
.PHONY: install clean depend FORCE
@@ -18,7 +18,7 @@
- client.o cache.o sysfs.o yellow.o page.o rbtree.o \
+ eventloop.o leaky-bucket.o memdb.o server.o \
+ client.o cache.o rbtree.o \
- xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o \
+ sandy-bridge.o ivy-bridge.o haswell.o \
broadwell_de.o broadwell_epex.o skylake_xeon.o \
- msr.o bus.o unknown.o
+ msr.o
@@ -28,10 +28,10 @@
+ifdef FREEBSD
+OBJ += memstream.o
+endif
- DISKDB_OBJ := diskdb.o dimm.o db.o
- CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ} \
+ CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \
version.o version.c version.tmp
-@@ -55,7 +61,7 @@ endif
+ DOC := mce.pdf
+@@ -42,7 +48,7 @@ ADD_DEFINES :=
SRC := $(OBJ:.o=.c)
@@ -40,7 +40,7 @@
# dbquery intentionally not installed by default
install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
-@@ -94,7 +100,7 @@ depend: .depend
+@@ -81,7 +87,7 @@ depend: .depend
version.tmp: FORCE
( echo -n "char version[] = \"" ; \
@@ -49,7 +49,7 @@
if [ -d .git ] ; then \
git describe --tags HEAD | tr -d '\n'; \
else \
-@@ -110,8 +116,6 @@ version.c: version.tmp
+@@ -97,8 +103,6 @@ version.c: version.tmp
.depend: ${SRC}
${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend