forked from pool/expect
Accepting request 970919 from home:dirkmueller:Factory
- add expect-5.45-format-security.patch OBS-URL: https://build.opensuse.org/request/show/970919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=32
This commit is contained in:
parent
97562222bc
commit
75ac0d61dd
13
expect-5.45-format-security.patch
Normal file
13
expect-5.45-format-security.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- exp_clib.c.orig
|
||||
+++ exp_clib.c
|
||||
@@ -1938,8 +1938,8 @@
|
||||
char *str;
|
||||
{
|
||||
if (exp_is_debugging) {
|
||||
- fprintf(stderr,str);
|
||||
- if (exp_logfile) fprintf(exp_logfile,str);
|
||||
+ fprintf(stderr, "%s", str);
|
||||
+ if (exp_logfile) fprintf(exp_logfile, "%s", str);
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 21:54:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add expect-5.45-format-security.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 21 15:41:30 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package expect
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -30,6 +30,7 @@ Patch2: expect-fixes.patch
|
||||
Patch3: expect-log.patch
|
||||
Patch4: config-guess-sub-update.patch
|
||||
Patch5: expect-errorfd.patch
|
||||
Patch6: expect-5.45-format-security.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: tcl-devel
|
||||
|
||||
@ -54,11 +55,7 @@ expect package loaded.
|
||||
|
||||
%prep
|
||||
%setup -q -n %name%version
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%autopatch -p0
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fPIC -pie"
|
||||
|
Loading…
Reference in New Issue
Block a user