View | Details | Raw Unified | Return to bug 212449
Collapse All | Expand All

(-)sysutils/mcelog/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mcelog
4
PORTNAME=	mcelog
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	140
6
DISTVERSION=	141
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
8
9
MAINTAINER=	ultima1252@gmail.com
9
MAINTAINER=	ultima1252@gmail.com
(-)sysutils/mcelog/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1471813607
1
TIMESTAMP = 1473218091
2
SHA256 (andikleen-mcelog-v140_GH0.tar.gz) = 5e06a120e555420206ca2a3dbad919d889e3e0d1d840964d01ac9424d5b66bff
2
SHA256 (andikleen-mcelog-v141_GH0.tar.gz) = 30f4e4966ff46a9e32d262295af50b7cb4a865a1231002092b610f2b7306aeec
3
SIZE (andikleen-mcelog-v140_GH0.tar.gz) = 301815
3
SIZE (andikleen-mcelog-v141_GH0.tar.gz) = 295791
(-)sysutils/mcelog/files/patch-Makefile (-8 / +8 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	2016-04-15 20:19:32 UTC
1
--- Makefile.orig	2016-09-02 21:52:54 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -1,5 +1,4 @@
3
@@ -1,5 +1,4 @@
4
-CFLAGS := -g -Os
4
-CFLAGS := -g -Os
Lines 7-13 Link Here
7
 etcprefix :=
7
 etcprefix :=
8
 MANDIR := ${prefix}/share/man
8
 MANDIR := ${prefix}/share/man
9
 # Define appropiately for your distribution
9
 # Define appropiately for your distribution
10
@@ -32,13 +31,20 @@ all: mcelog
10
@@ -27,13 +26,20 @@ all: mcelog
11
 
11
 
12
 .PHONY: install clean depend FORCE
12
 .PHONY: install clean depend FORCE
13
 
13
 
Lines 18-24 Link Here
18
-       client.o cache.o sysfs.o yellow.o page.o rbtree.o 	 \
18
-       client.o cache.o sysfs.o yellow.o page.o rbtree.o 	 \
19
+       eventloop.o leaky-bucket.o memdb.o server.o 	 \
19
+       eventloop.o leaky-bucket.o memdb.o server.o 	 \
20
+       client.o cache.o rbtree.o 	 \
20
+       client.o cache.o rbtree.o 	 \
21
        xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o		 \
21
        sandy-bridge.o ivy-bridge.o haswell.o		 	 \
22
        broadwell_de.o broadwell_epex.o skylake_xeon.o		 \
22
        broadwell_de.o broadwell_epex.o skylake_xeon.o		 \
23
-       msr.o bus.o unknown.o
23
-       msr.o bus.o unknown.o
24
+       msr.o
24
+       msr.o
Lines 28-37 Link Here
28
+ifdef FREEBSD
28
+ifdef FREEBSD
29
+OBJ += memstream.o
29
+OBJ += memstream.o
30
+endif
30
+endif
31
 DISKDB_OBJ := diskdb.o dimm.o db.o
31
 CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \
32
 CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ} \
33
 	version.o version.c version.tmp
32
 	version.o version.c version.tmp
34
@@ -55,7 +61,7 @@ endif
33
 DOC := mce.pdf
34
@@ -42,7 +48,7 @@ ADD_DEFINES :=
35
 
35
 
36
 SRC := $(OBJ:.o=.c)
36
 SRC := $(OBJ:.o=.c)
37
 
37
 
Lines 40-46 Link Here
40
 
40
 
41
 # dbquery intentionally not installed by default
41
 # dbquery intentionally not installed by default
42
 install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
42
 install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
43
@@ -94,7 +100,7 @@ depend: .depend
43
@@ -81,7 +87,7 @@ depend: .depend
44
 
44
 
45
 version.tmp: FORCE
45
 version.tmp: FORCE
46
 	( echo -n "char version[] = \"" ; 	\
46
 	( echo -n "char version[] = \"" ; 	\
Lines 49-55 Link Here
49
 	if [ -d .git ] ; then 			\
49
 	if [ -d .git ] ; then 			\
50
 		git describe --tags HEAD | tr -d '\n'; 	\
50
 		git describe --tags HEAD | tr -d '\n'; 	\
51
 	else 					\
51
 	else 					\
52
@@ -110,8 +116,6 @@ version.c: version.tmp
52
@@ -97,8 +103,6 @@ version.c: version.tmp
53
 .depend: ${SRC}
53
 .depend: ${SRC}
54
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
54
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
55
 
55
 

Return to bug 212449