From b30b77377680cb428d7c458c952d0e146e2ad93c Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Fri, 22 Apr 2022 13:19:29 +0200 Subject: [PATCH] Add another small distrubution patch --- cscope.spec | 6 +++++- dist-4-fix-printf.patch | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 dist-4-fix-printf.patch diff --git a/cscope.spec b/cscope.spec index 96d4b5a..aab0fd6 100644 --- a/cscope.spec +++ b/cscope.spec @@ -1,7 +1,7 @@ Summary: C source code tree search and browse tool Name: cscope Version: 15.9 -Release: 14%{?dist} +Release: 15%{?dist} Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz URL: http://cscope.sourceforge.net License: BSD and GPLv2+ @@ -25,6 +25,7 @@ Patch8: cscope-8-emacs-plugin-fixup-GNU-Emacs-27.1-removes-function-p.patch Patch9: dist-1-coverity-fixes.patch Patch10: dist-2-cscope-indexer-help.patch Patch11: dist-3-add-selftests.patch +Patch12: dist-4-fix-printf.patch %define cscope_share_path %{_datadir}/cscope %if !0%{?rhel} && 0%{?fedora} < 36 @@ -105,6 +106,9 @@ rm -f %{emacs_lisp_path}/xcscope.el rm -f %{vim_plugin_path}/cctree.vim %changelog +* Mon Apr 11 2022 Vladis Dronov - 15.9-15 +- Add another small distrubution patch + * Mon Apr 11 2022 Vladis Dronov - 15.9-14 - Add distrubution patches which were not upstreamed - Add self-tests diff --git a/dist-4-fix-printf.patch b/dist-4-fix-printf.patch new file mode 100644 index 0000000..e596284 --- /dev/null +++ b/dist-4-fix-printf.patch @@ -0,0 +1,16 @@ +diff --git a/contrib/ocs b/contrib/ocs +index e924f4f..bd556b4 100755 +--- a/contrib/ocs ++++ b/contrib/ocs +@@ -210,7 +210,7 @@ exp_inc() + then + for i in `cat ${theInc}` + do +- printf "-I $i " ++ printf -- "-I $i " + done + fi + } +-- +2.26.2 +