]> git.pld-linux.org Git - packages/xorg-cf-files.git/commitdiff
- fix libdir for x32 auto/th/xorg-cf-files-1.0.5-3
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 06:59:16 +0000 (07:59 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 06:59:16 +0000 (07:59 +0100)
- rel 3

xorg-cf-files-libx32.patch [new file with mode: 0644]
xorg-cf-files.spec

diff --git a/xorg-cf-files-libx32.patch b/xorg-cf-files-libx32.patch
new file mode 100644 (file)
index 0000000..624f97d
--- /dev/null
@@ -0,0 +1,14 @@
+--- 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
index 75e07df52929cf379de6d938563f5566660ad7f7..bab607b37c273059c0d7bbfc1da74f58c7feeacd 100644 (file)
@@ -2,13 +2,14 @@ Summary:      X.org cf files
 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
@@ -35,6 +36,9 @@ bibliotek kiedyś dostarczanych w monolitycznych wydaniach X.Org.
 %if "%{_lib}" == "lib64"
 %patch1 -p1
 %endif
+%if "%{_lib}" == "libx32"
+%patch2 -p1
+%endif
 
 %build
 %{__aclocal}
This page took 0.146681 seconds and 4 git commands to generate.