- fix build with new glibc versions
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=218
This commit is contained in:
parent
2dfa99b9c7
commit
d7123bb67a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 13:18:32 CET 2017 - mls@suse.de
|
||||
|
||||
- fix build with new glibc versions
|
||||
new patch: ksh93-filedefined.dif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 13:23:14 CEST 2016 - mls@suse.de
|
||||
|
||||
|
2
ksh.spec
2
ksh.spec
@ -156,6 +156,7 @@ Patch52: ksh93-redirectleak.dif
|
||||
Patch53: ksh93-optimizeleak.dif
|
||||
Patch54: ksh93-edpredict.dif
|
||||
Patch55: ksh93-spawnlock.dif
|
||||
Patch56: ksh93-filedefined.dif
|
||||
Patch62: ksh-locale.patch
|
||||
Patch63: cpp.patch
|
||||
|
||||
@ -268,6 +269,7 @@ fi
|
||||
%patch53
|
||||
%patch54
|
||||
%patch55
|
||||
%patch56
|
||||
|
||||
%patch63 -p 1
|
||||
|
||||
|
35
ksh93-filedefined.dif
Normal file
35
ksh93-filedefined.dif
Normal file
@ -0,0 +1,35 @@
|
||||
--- ./src/lib/libast/features/stdio.orig 2017-12-20 12:15:45.571650029 +0000
|
||||
+++ ./src/lib/libast/features/stdio 2017-12-20 12:16:26.250531883 +0000
|
||||
@@ -6,6 +6,8 @@ cat{
|
||||
#define _FILE_DEFINED 1
|
||||
#define _FILE_defined 1
|
||||
#define _FILEDEFED 1
|
||||
+ #define __FILE_defined 1
|
||||
+ ##define ____FILE_defined 1
|
||||
|
||||
#ifndef __FILE_TAG
|
||||
#define __FILE_TAG _sfio_s
|
||||
--- ./src/lib/libast/include/ast.h.orig 2017-12-20 12:16:37.212500201 +0000
|
||||
+++ ./src/lib/libast/include/ast.h 2017-12-20 12:17:25.635360669 +0000
|
||||
@@ -58,9 +58,21 @@ struct _sfio_s;
|
||||
#ifndef __FILE_typedef
|
||||
#define __FILE_typedef 1
|
||||
#endif
|
||||
+#ifndef _FILE_DEFINED
|
||||
+#define _FILE_DEFINED 1
|
||||
+#endif
|
||||
+#ifndef _FILE_defined
|
||||
+#define _FILE_defined 1
|
||||
+#endif
|
||||
#ifndef _FILEDEFED
|
||||
#define _FILEDEFED 1
|
||||
#endif
|
||||
+#ifndef __FILE_defined
|
||||
+#define __FILE_defined 1
|
||||
+#endif
|
||||
+#ifndef ____FILE_defined
|
||||
+#define ____FILE_defined 1
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user