summaryrefslogtreecommitdiff
path: root/sys-devel/gcc-config/files/gcc-config-systemd.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-03-30 13:47:12 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-03-30 13:47:12 +0300
commitad68a9758d804cef0c8f81983e59ff66273dce52 (patch)
treefae0389ca72a4a7b5904ee9699424b76f63f5b6a /sys-devel/gcc-config/files/gcc-config-systemd.patch
parentc7785ce0079f0de1b9dfcdb7ed3bfad78bad8c4a (diff)
[sys-devel/gcc-config] added systemd-oriented patch
Diffstat (limited to 'sys-devel/gcc-config/files/gcc-config-systemd.patch')
-rw-r--r--sys-devel/gcc-config/files/gcc-config-systemd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-systemd.patch b/sys-devel/gcc-config/files/gcc-config-systemd.patch
new file mode 100644
index 00000000..dbb7c280
--- /dev/null
+++ b/sys-devel/gcc-config/files/gcc-config-systemd.patch
@@ -0,0 +1,13 @@
+--- gcc-config-1.7.3.old/gcc-config 2015-03-30 13:34:12.258805571 +0300
++++ gcc-config-1.7.3/gcc-config 2015-03-30 13:36:14.432808842 +0300
+@@ -15,8 +15,8 @@
+ trap ":" INT QUIT TSTP
+
+ argv0=${0##*/}
+-source /etc/init.d/functions.sh || {
+- echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2
++source /lib/gentoo/functions.sh || {
++ echo "${argv0}: Could not source /lib/gentoo/functions.sh!" 1>&2
+ exit 1
+ }
+ esyslog() { :; }