[pcc] Add patch

Susi Lehtola jussilehtola at fedoraproject.org
Wed Dec 10 21:10:49 UTC 2014


commit 3abe364be2472e42d9a9975d985df82eabe08348
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Dec 10 22:18:46 2014 +0100

    Add patch

 pcc-20141210-ifdef.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/pcc-20141210-ifdef.patch b/pcc-20141210-ifdef.patch
new file mode 100644
index 0000000..3094aff
--- /dev/null
+++ b/pcc-20141210-ifdef.patch
@@ -0,0 +1,12 @@
+diff -up pcc-20141210/cc/cc/cc.c.orig pcc-20141210/cc/cc/cc.c
+--- pcc-20141210/cc/cc/cc.c.orig	2014-12-02 22:03:13.000000000 +0100
++++ pcc-20141210/cc/cc/cc.c	2014-12-10 21:47:42.830828370 +0100
+@@ -206,7 +206,7 @@ char *cppmdadd[] = CPPMDADD;
+ #define PCCLIBDIR	NULL
+ #endif
+ #ifndef DEFLIBDIRS	/* default library search paths */
+-#ifdef MULTIARCH_PATH
++#ifndef MULTIARCH_PATH
+ #define DEFLIBDIRS	{ "/usr/lib/", 0 }
+ #else
+ #define DEFLIBDIRS	{ "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }


More information about the scm-commits mailing list