commit 1e0e00b394a07103b16e95d1721917fce560353d
Author: Jan Rękorajski <[email protected]>
Date:   Fri Oct 21 07:36:18 2016 +0200

    - disable broken inlining
    - rel 3

 librep-dont_inline_fcons.patch | 12 ++++++++++++
 librep.spec                    |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/librep.spec b/librep.spec
index 2d91578..b50126f 100644
--- a/librep.spec
+++ b/librep.spec
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):      Встраиваемая среда LISP
 Summary(uk.UTF-8):     Вбудовуване середовище LISP
 Name:          librep
 Version:       0.92.3
-Release:       2
+Release:       3
 Epoch:         1
 License:       GPL
 Group:         Development/Languages
@@ -17,6 +17,7 @@ Patch1:               %{name}-no_version.patch
 Patch2:                %{name}-longdouble.patch
 Patch3:                %{name}-config.patch
 Patch4:                %{name}-am18.patch
+Patch5:                %{name}-dont_inline_fcons.patch
 URL:           http://librep.sourceforge.net/
 BuildRequires: autoconf >= 2.3-12
 BuildRequires: automake
@@ -152,6 +153,7 @@ Librep - це вбудовуваний діалект LISP.
 # %patch2 -p1
 # %patch3 -p1
 # %patch4 -p1
+%patch5 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
diff --git a/librep-dont_inline_fcons.patch b/librep-dont_inline_fcons.patch
new file mode 100644
index 0000000..24dc23c
--- /dev/null
+++ b/librep-dont_inline_fcons.patch
@@ -0,0 +1,12 @@
+diff -ur librep_0.92.5.orig/src/repint.h librep_0.92.5/src/repint.h
+--- librep_0.92.5.orig/src/repint.h    2015-03-23 19:02:50.000000000 +0200
++++ librep_0.92.5/src/repint.h 2015-06-25 11:19:58.507815822 +0300
+@@ -243,7 +243,7 @@
+ /* If using GCC, make inline_Fcons be Fcons that only takes a procedure
+    call when the heap needs to grow. */
+ 
+-#if defined __GNUC__ && defined __OPTIMIZE__
++#if defined __GNUC__ && defined __OPTIMIZE__ && 0
+ extern __inline__ repv inline_Fcons (repv x, repv y);
+ extern __inline__ repv
+ inline_Fcons (repv x, repv y)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librep.git/commitdiff/1e0e00b394a07103b16e95d1721917fce560353d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to