[packages/xorg-lib-libXi] Add patch to fix man page links. Release 2

megabajt megabajt at pld-linux.org
Sun May 26 00:14:37 CEST 2013


commit 516cd7e74ff29530e364d7d6e777341d48bb0780
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Sun May 26 00:13:56 2013 +0200

    Add patch to fix man page links. Release 2

 xorg-lib-libXi-man.patch | 10 ++++++++++
 xorg-lib-libXi.spec      |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/xorg-lib-libXi.spec b/xorg-lib-libXi.spec
index c26d70d..f66d890 100644
--- a/xorg-lib-libXi.spec
+++ b/xorg-lib-libXi.spec
@@ -2,11 +2,12 @@ Summary:	X Input extension library
 Summary(pl.UTF-8):	Biblioteka rozszerzenia X Input
 Name:		xorg-lib-libXi
 Version:	1.7.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		X11/Libraries
 Source0:	http://xorg.freedesktop.org/releases/individual/lib/libXi-%{version}.tar.bz2
 # Source0-md5:	24d71afed1b86c60d4eb361628d7f47b
+Patch0:		%{name}-man.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	asciidoc >= 8.4.5
 BuildRequires:	autoconf >= 2.60
@@ -79,6 +80,7 @@ Pakiet zawiera statyczną bibliotekę libXft.
 
 %prep
 %setup -q -n libXi-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/xorg-lib-libXi-man.patch b/xorg-lib-libXi-man.patch
new file mode 100644
index 0000000..70ac9f5
--- /dev/null
+++ b/xorg-lib-libXi-man.patch
@@ -0,0 +1,10 @@
+--- libXi-1.7.1/man/Makefile.am.orig	2013-05-26 00:03:19.802985396 +0200
++++ libXi-1.7.1/man/Makefile.am	2013-05-26 00:02:19.730070777 +0200
+@@ -158,6 +158,7 @@ XIBarrierReleasePointers.man: XIBarrierR
+ 
+ # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+ # Unable to use __libmansuffix__ as underscores are lost in txt --> xml conversion
++MAN_SUBSTS += -e 's/manlibmansuffix/$(notdir $(LIB_MAN_DIR))/g'
+ MAN_SUBSTS += -e 's/libmansuffix/$(LIB_MAN_SUFFIX)/g'
+ 
+ # asciidoc is generating [FIXME...] values in the .TH line we should fix.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXi.git/commitdiff/516cd7e74ff29530e364d7d6e777341d48bb0780



More information about the pld-cvs-commit mailing list