Accepting request 314334 from shells
1 OBS-URL: https://build.opensuse.org/request/show/314334 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=107
This commit is contained in:
commit
6036baa762
24
cpp.patch
Normal file
24
cpp.patch
Normal file
@ -0,0 +1,24 @@
|
||||
iffe depends on cc -E not inserting newlines between tokens
|
||||
|
||||
Index: ksh93/src/cmd/INIT/iffe.sh
|
||||
===================================================================
|
||||
--- ksh93.orig/src/cmd/INIT/iffe.sh
|
||||
+++ ksh93/src/cmd/INIT/iffe.sh
|
||||
@@ -3427,7 +3427,7 @@ $src
|
||||
(eval "$src") <&$nullin || e=1
|
||||
;;
|
||||
mac*|nomac*)
|
||||
- if compile $cc -E $tmp.c <&$nullin >$tmp.i
|
||||
+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
|
||||
then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i
|
||||
else e=1
|
||||
fi
|
||||
@@ -3718,7 +3718,7 @@ $inc
|
||||
<<\"#define $v\">> $v <<\"/* native $v */\">>
|
||||
<<\"#endif\">>
|
||||
#endif" > $tmp.c
|
||||
- if compile $cc -E $tmp.c <&$nullin >$tmp.i
|
||||
+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
|
||||
then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i > $tmp.t
|
||||
if test -s $tmp.t
|
||||
then success
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 11 10:42:59 UTC 2015 - schwab@suse.de
|
||||
|
||||
- cpp.patch: fix use of cc -E without -P
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 1 06:58:17 UTC 2014 - werner@suse.de
|
||||
|
||||
|
5
ksh.spec
5
ksh.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ksh
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -134,6 +134,8 @@ Patch36: ksh93-fs3d.dif
|
||||
Patch37: ksh93-crashes.dif
|
||||
# PATCH-FIX-SUSE Strings in backticks cannot be longer than 65536 characters bnc#887320
|
||||
Patch38: ksh93-backticks.dif
|
||||
# PATCH-FIX-UPSTREAM fix use of cc -E without -P
|
||||
Patch39: cpp.patch
|
||||
Patch42: ksh-locale.patch
|
||||
|
||||
%description
|
||||
@ -219,6 +221,7 @@ fi
|
||||
%patch36
|
||||
%patch37
|
||||
#%patch38
|
||||
%patch39 -p1
|
||||
%patch42
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user