summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-03-07 17:58:13 -0800
committerMatt Turner <mattst88@gentoo.org>2017-03-07 18:04:13 -0800
commit1c87fc4663268b5dddb1c933cdbd249d0ef4460a (patch)
tree0d37c479292b3d11ddc80bec9df22b0d86fb6b2a /app-admin/mcelog/files
parentx11-drivers/xf86-video-openchrome: Version bump to 0.6.0. (diff)
downloadgentoo-1c87fc4663268b5dddb1c933cdbd249d0ef4460a.tar.gz
gentoo-1c87fc4663268b5dddb1c933cdbd249d0ef4460a.tar.bz2
gentoo-1c87fc4663268b5dddb1c933cdbd249d0ef4460a.zip
app-admin/mcelog: Version bump to 148.
Bug: https://bugs.gentoo.org/571002
Diffstat (limited to 'app-admin/mcelog/files')
-rw-r--r--app-admin/mcelog/files/mcelog-1.0_pre3_p20120918-bashism.patch4
-rw-r--r--app-admin/mcelog/files/mcelog-129-debugflags.patch22
2 files changed, 24 insertions, 2 deletions
diff --git a/app-admin/mcelog/files/mcelog-1.0_pre3_p20120918-bashism.patch b/app-admin/mcelog/files/mcelog-1.0_pre3_p20120918-bashism.patch
index c6cba7d83bae..335a429ab040 100644
--- a/app-admin/mcelog/files/mcelog-1.0_pre3_p20120918-bashism.patch
+++ b/app-admin/mcelog/files/mcelog-1.0_pre3_p20120918-bashism.patch
@@ -2,8 +2,8 @@ From: Julian Ospald <hasufell@gentoo.org>
Date: Sat Jan 26 17:40:22 UTC 2013
Subject: remove bashisms
---- triggers/cache-error-trigger
-+++ triggers/cache-error-trigger
+--- a/triggers/cache-error-trigger
++++ b/triggers/cache-error-trigger
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
diff --git a/app-admin/mcelog/files/mcelog-129-debugflags.patch b/app-admin/mcelog/files/mcelog-129-debugflags.patch
new file mode 100644
index 000000000000..eb46439a62dc
--- /dev/null
+++ b/app-admin/mcelog/files/mcelog-129-debugflags.patch
@@ -0,0 +1,22 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Oct 24 15:41:33 UTC 2012
+Subject: build system
+
+don't overwrite system CFLAGS, only append "-g -Os" if DEBUG=1 is passed
+as argument
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,11 @@
+-CFLAGS := -g -Os
++CC ?= gcc
++
++# set to 1 to enable debug flags
++DEBUG = 0
++ifeq ($(DEBUG),1)
++CFLAGS += -g -Os
++endif
++
+ prefix := /usr
+ etcprefix :=
+ MANDIR := ${prefix}/share/man