]> git.pld-linux.org Git - packages/dynamips.git/blobdiff - dynamips.spec
- fix building on x32
[packages/dynamips.git] / dynamips.spec
index ad12498a5039f8eefa56b48155728c5043f9d613..5b826f8b7cd930e2196550653a0ce4aea13b9ef1 100644 (file)
@@ -1,5 +1,5 @@
 %define                subver  RC2
-%define                rel             3
+%define                rel     4
 Summary:       Cisco 7200 Simulator
 Summary(pl.UTF-8):     Symulator Cisco 7200
 Name:          dynamips
@@ -11,6 +11,7 @@ Source0:      http://www.ipflow.utc.fr/dynamips/%{name}-%{version}-%{subver}.tar.gz
 # Source0-md5: 8d12d28684d164fe3312a3fe43c84d2e
 Patch0:                %{name}-Makefile.patch
 Patch1:                %{name}-debian.patch
+Patch2:                x32.patch
 URL:           http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
 BuildRequires: elfutils-devel
 BuildRequires: flex
@@ -27,12 +28,15 @@ Symulator Cisco 7200.
 %setup -q -n %{name}-%{version}-%{subver}
 %patch0 -p1
 %patch1 -p1
+%ifarch x32
+%patch2 -p1
+%endif
 
 %build
 %ifarch %{x8664}
 ARCH=amd64
 %else
-%ifarch %{ix86}
+%ifarch %{ix86} x32
 ARCH=x86
 %else
 ARCH=nojit
This page took 0.109102 seconds and 4 git commands to generate.