--- /dev/null
+--- xorg-cf-files-X11R7.0-1.0.1/X11.tmpl.orig 2006-04-17 13:03:34.000000000 +0200
++++ xorg-cf-files-X11R7.0-1.0.1/X11.tmpl 2006-04-17 13:05:22.000000000 +0200
+@@ -1461,9 +1461,9 @@
+ #endif
+ #ifndef LibDir
+ # ifdef ProjectRoot
+-# define LibDir Concat(ProjectRoot,/lib/X11)
++# define LibDir Concat(ProjectRoot,/libx32/X11)
+ # else
+-# define LibDir /usr/lib/X11
++# define LibDir /usr/libx32/X11
+ # endif
+ #endif
+ #ifndef ModuleDir
Summary(pl.UTF-8): Pliki cf z X.org
Name: xorg-cf-files
Version: 1.0.5
-Release: 2
+Release: 3
License: MIT
Group: X11/Development/Tools
Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
# Source0-md5: 4a9cd7fc995ebf8f3cdad5395f9d8eba
Patch0: %{name}-mandir.patch
Patch1: %{name}-lib64.patch
+Patch2: %{name}-libx32.patch
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%if "%{_lib}" == "lib64"
%patch1 -p1
%endif
+%if "%{_lib}" == "libx32"
+%patch2 -p1
+%endif
%build
%{__aclocal}