summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw.kier2011-01-07 02:17:45 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit5898bb0a0a06a5e9b9e43d5dba2bf47dc2948355 (patch)
tree4b771c065869dce05019fc8c4b3d6e493a885a9c
parent88b455396428bc9bc554e3122c9bfe891e797c85 (diff)
downloadmac-5898bb0a0a06a5e9b9e43d5dba2bf47dc2948355.zip
mac-5898bb0a0a06a5e9b9e43d5dba2bf47dc2948355.tar.gz
- added patch to build on x86_64 arch
Changed files: mac.spec -> 1.12
-rw-r--r--mac.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/mac.spec b/mac.spec
index fa41ecf..cc05936 100644
--- a/mac.spec
+++ b/mac.spec
@@ -10,6 +10,7 @@ Source0: http://supermmx.org/download/linux/mac/%{name}-%{_ver}.tar.gz
# NoSource0-md5: 75716b342e07deae58f56a2522362006
NoSource: 0
URL: http://sourceforge.net/projects/mac-port/
+Patch0: %{name}_amd64.patch
BuildRequires: libstdc++-devel
%ifarch %{ix86} %{x8664}
BuildRequires: yasm
@@ -52,7 +53,9 @@ Biblioteki statyczne MAC.
%prep
%setup -q -n %{name}-%{_ver}
-
+%ifarch %{x8664}
+%patch0 -p1
+%endif
sed -i -e 's/-O3 //' configure
%build