]> git.pld-linux.org Git - packages/yelp-tools.git/commitdiff
- added sh patch (fix YELP_HELP_INIT without arguments)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Mar 2014 02:08:34 +0000 (03:08 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Mar 2014 02:08:34 +0000 (03:08 +0100)
- release 2

yelp-tools-sh.patch [new file with mode: 0644]
yelp-tools.spec

diff --git a/yelp-tools-sh.patch b/yelp-tools-sh.patch
new file mode 100644 (file)
index 0000000..5cafa95
--- /dev/null
@@ -0,0 +1,18 @@
+Avoid using last positional arguments in YELP_HELP_INIT without parameters.
+--- yelp-tools-3.12.0/tools/yelp.m4.orig       2014-02-02 20:28:10.000000000 +0100
++++ yelp-tools-3.12.0/tools/yelp.m4    2014-03-27 02:59:41.241812513 +0100
+@@ -8,12 +8,13 @@
+ YELP_LC_MEDIA_LINKS=true
+ YELP_LC_DIST=true
+-for yelpopt in [$1]; do
++for yelpopt in [$1] END; do
+   case $yelpopt in
+     lc-media-links)    YELP_LC_MEDIA_LINKS=true ;;
+     no-lc-media-links) YELP_LC_MEDIA_LINKS= ;;
+     lc-dist)           YELP_LC_DIST=true ;;
+     no-lc-dist)        YELP_LC_DIST= ;;
++    END) ;;
+     *) AC_MSG_ERROR([Unrecognized [YELP_HELP_INIT] option $yelpopt"]) ;;
+   esac
+ done;
index b32ac22d5c3b6232497ca18b7ca25a3c5ba2d0cd..f58ff32248a6f25323a8bd3311f85ef0e8c1fb76 100644 (file)
@@ -2,11 +2,12 @@ Summary:      Tools to create, manage, and publish documentation for Yelp
 Summary(pl.UTF-8):     Narzędzia do tworzenia, zarządzania i publikowania dokumentacji dla Yelpa
 Name:          yelp-tools
 Version:       3.12.0
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp-tools/3.12/%{name}-%{version}.tar.xz
 # Source0-md5: f65fc6f6b88387985f043d3f73a0e434
+Patch0:                %{name}-sh.patch
 URL:           http://projects.gnome.org/yelp/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.9
@@ -38,6 +39,7 @@ sposób przyjazny dla programisty.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.092422 seconds and 4 git commands to generate.