From 02ea9b34abd814e9227898fa679c4b9f9dc71992 Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 27 Jul 2021 15:53:09 +0800 Subject: [PATCH] fixes-shift-count-out-of-range --- fixes-shift-count-out-of-range.patch | 21 +++++++++------------ gtk-doc.spec | 7 +++++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fixes-shift-count-out-of-range.patch b/fixes-shift-count-out-of-range.patch index 7fc4f3b..8bd6726 100644 --- a/fixes-shift-count-out-of-range.patch +++ b/fixes-shift-count-out-of-range.patch @@ -1,17 +1,17 @@ -From 121144ebabe81006cf0d036356cf5f801cc942aa Mon Sep 17 00:00:00 2001 +From 7fc8ea28893dea8c61bc14a902b0d9f4e3de4826 Mon Sep 17 00:00:00 2001 From: wu-leilei -Date: Sun, 25 Jul 2021 17:36:19 +0800 -Subject: [PATCH] fixes-shift-count-out-of-range +Date: Tue, 27 Jul 2021 15:14:17 +0800 +Subject: [PATCH] shift count out of range --- - buildsystems/autotools/gtkdocize.in | 55 ++++++++++++++++++++++------- - 1 file changed, 43 insertions(+), 12 deletions(-) + buildsystems/autotools/gtkdocize.in | 52 ++++++++++++++++++++++------- + 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/buildsystems/autotools/gtkdocize.in b/buildsystems/autotools/gtkdocize.in -index 83127bf..47d223e 100755 +index 83127bf..7e15bd8 100755 --- a/buildsystems/autotools/gtkdocize.in +++ b/buildsystems/autotools/gtkdocize.in -@@ -25,9 +25,17 @@ args="$*" +@@ -25,9 +25,16 @@ args="$*" while test $# -gt 0; do case "$1" in --srcdir) @@ -23,7 +23,6 @@ index 83127bf..47d223e 100755 + srcdir="$1" + shift + elif test $# -eq 1; then -+ srcdir="$1" + shift + else + : @@ -32,7 +31,7 @@ index 83127bf..47d223e 100755 --srcdir=*) srcdir=`expr "X$1" : '[^=]*=\(.*\)'` shift ;; -@@ -83,23 +91,46 @@ while test $# -gt 0; do +@@ -83,23 +90,44 @@ while test $# -gt 0; do copy=yes shift ;; --docdir) @@ -44,7 +43,6 @@ index 83127bf..47d223e 100755 + docdir="$1" + shift + elif test $# -eq 1; then -+ docdir="$1" + shift + else + : @@ -62,7 +60,6 @@ index 83127bf..47d223e 100755 + flavour="$1" + shift + elif test $# -eq 1; then -+ flavour="$1" + shift + else + : @@ -77,7 +74,7 @@ index 83127bf..47d223e 100755 - shift ;; + if test $# -gt 1; then + shift -+ # srcdir was set earlier ++ # srcdir was set earlier. + shift + elif test $# -eq 1; then + shift diff --git a/gtk-doc.spec b/gtk-doc.spec index a010705..3d6c300 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -3,7 +3,7 @@ Name: gtk-doc Version: 1.33.2 -Release: 4 +Release: 5 Summary: Generate API documentation from comments that can be added to C code License: GPLv2+ and GFDL URL: https://www.gtk.org/gtk-doc/ @@ -56,7 +56,10 @@ export PYTHON=%{__python3} %{_datadir}/help/*/%{name}-manual/ %changelog -* Non Jul 26 2021 Ge Wang - 1.33.2-4 +* Tue Jul 27 2021 wulei - 1.33.2-5 +- fixes shift count out of range + +* Mon Jul 26 2021 Ge Wang - 1.33.2-4 - fix gtkdoc-rebase NoneType object has no attribute 'group' * Mon Jul 26 2021 wulei - 1.33.2-3 -- Gitee