]> git.pld-linux.org Git - packages/scm.git/commitdiff
- fix building on x32 auto/th/scm-5f1-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 10 May 2015 13:49:46 +0000 (15:49 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 10 May 2015 13:49:46 +0000 (15:49 +0200)
- rel 3

scm.spec
x32.patch [new file with mode: 0644]

index 43287452f33fd8b2d7299c404424f71fc54da443..8df8e3240132f2dff3d19d590dd808080f53297a 100644 (file)
--- a/scm.spec
+++ b/scm.spec
@@ -3,7 +3,7 @@ Summary:        Scheme implementation
 Summary(pl.UTF-8):     Implementacja Scheme
 Name:          scm
 Version:       5f1
-Release:       2
+Release:       3
 License:       LGPL v3+
 Group:         Development/Languages/Scheme
 Source0:       http://groups.csail.mit.edu/mac/ftpdir/scm/%{name}-%{version}.zip
@@ -13,6 +13,7 @@ Source1:      http://groups.csail.mit.edu/mac/ftpdir/scm/slib-%{slib_ver}.tar.gz
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-install.patch
 Patch2:                %{name}-texinfo.patch
+Patch3:                x32.patch
 URL:           http://people.csail.mit.edu/jaffer/SCM
 BuildRequires: sed >= 4.0
 BuildRequires: texinfo
@@ -34,6 +35,7 @@ IEEE P1178.
 %patch0 -p0
 %patch1 -p0
 %patch2 -p0
+%patch3 -p0
 
 ln -s slib-%{slib_ver} slib
 
diff --git a/x32.patch b/x32.patch
new file mode 100644 (file)
index 0000000..39aedaf
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,11 @@
+--- scm/scmfig.h~      2013-04-07 04:23:52.000000000 +0200
++++ scm/scmfig.h       2015-05-10 15:47:03.372887825 +0200
+@@ -260,7 +260,7 @@
+ # define SHORT_INT
+ # define CDR_DOUBLES
+ #endif
+-#ifdef __x86_64
++#if defined(__x86_64__) && !defined(__ILP32__)
+ # define SHORT_INT
+ # define CDR_DOUBLES
+ #endif
This page took 0.238653 seconds and 4 git commands to generate.