wok-current view perl/stuff/perl-5.24.1-microperl-fix.patch @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line source
1 diff -Naur perl-5.24.1.orig/Makefile.micro perl-5.24.1/Makefile.micro
2 --- perl-5.24.1.orig/Makefile.micro 2016-07-15 00:36:55.000000000 +0530
3 +++ perl-5.24.1/Makefile.micro 2018-05-31 18:02:44.478616268 +0530
4 @@ -14,7 +14,7 @@
6 all: microperl
8 -O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
9 +O = uav$(_O) ucaretx$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
10 uglobals$(_O) ugv$(_O) uhv$(_O) umro$(_O)\
11 umg$(_O) uperlmain$(_O) uop$(_O) ureentr$(_O) \
12 upad$(_O) uperl$(_O) uperlio$(_O) uperly$(_O) upp$(_O) \
13 @@ -37,7 +37,7 @@
14 HE = $(H) EXTERN.h
16 clean:
17 - -rm -f $(O) microperl ugenerate_uudmap$(_X) $(generated_headers)
18 + -rm -f $(O) microperl ugenerate_uudmap$(_X) ugenerate_uudmap$(_O) $(generated_headers)
20 distclean: clean
22 @@ -67,6 +67,9 @@
23 uav$(_O): $(HE) av.c
24 $(CC) $(CCFLAGS) -o $@ $(CFLAGS) av.c
26 +ucaretx$(_O): $(HE) caretx.c
27 + $(CC) $(CCFLAGS) -o $@ $(CFLAGS) caretx.c
28 +
29 udeb$(_O): $(HE) deb.c
30 $(CC) $(CCFLAGS) -o $@ $(CFLAGS) deb.c
32 diff -Naur perl-5.24.1.orig/uconfig64.sh perl-5.24.1/uconfig64.sh
33 --- perl-5.24.1.orig/uconfig64.sh 2016-07-15 00:38:08.000000000 +0530
34 +++ perl-5.24.1/uconfig64.sh 2018-05-31 18:01:58.718279780 +0530
35 @@ -96,7 +96,7 @@
36 d_ctime64='undef'
37 d_ctime_r='undef'
38 d_cuserid='undef'
39 -d_dbl_dig='undef'
40 +d_dbl_dig='define'
41 d_dbminitproto='undef'
42 d_difftime64='undef'
43 d_difftime='undef'
44 @@ -630,9 +630,9 @@
45 i_dirent='define'
46 i_dlfcn='undef'
47 i_execinfo='undef'
48 -i_fcntl='undef'
49 +i_fcntl='define'
50 i_fenv='undef'
51 -i_float='undef'
52 +i_float='define'
53 i_fp='undef'
54 i_fp_class='undef'
55 i_gdbm='undef'
56 @@ -643,7 +643,7 @@
57 i_inttypes='undef'
58 i_langinfo='undef'
59 i_libutil='undef'
60 -i_limits='undef'
61 +i_limits='define'
62 i_locale='undef'
63 i_machcthr='undef'
64 i_malloc='undef'
65 @@ -878,7 +878,7 @@
66 usenm='false'
67 usensgetexecutablepath='undef'
68 useopcode='true'
69 -useperlio='undef'
70 +useperlio='define'
71 useposix='true'
72 usequadmath='undef'
73 usereentrant='undef'
74 diff -Naur perl-5.24.1.orig/uconfig.h perl-5.24.1/uconfig.h
75 --- perl-5.24.1.orig/uconfig.h 2016-07-15 00:38:08.000000000 +0530
76 +++ perl-5.24.1/uconfig.h 2018-05-31 18:01:58.718279780 +0530
77 @@ -94,7 +94,7 @@
78 * of significant digits in a double precision number. If this
79 * symbol is not defined, a guess of 15 is usually pretty good.
80 */
81 -/*#define HAS_DBL_DIG / **/
82 +#define HAS_DBL_DIG /**/
84 /* HAS_DIFFTIME:
85 * This symbol, if defined, indicates that the difftime routine is
86 @@ -683,7 +683,7 @@
87 * include <float.h> to get definition of symbols like DBL_MAX or
88 * DBL_MIN, i.e. machine dependent floating point values.
89 */
90 -/*#define I_FLOAT / **/
91 +#define I_FLOAT /**/
93 /* I_GDBM:
94 * This symbol, if defined, indicates that <gdbm.h> exists and should
95 diff -Naur perl-5.24.1.orig/uconfig.sh perl-5.24.1/uconfig.sh
96 --- perl-5.24.1.orig/uconfig.sh 2016-07-15 00:38:08.000000000 +0530
97 +++ perl-5.24.1/uconfig.sh 2018-05-31 18:01:58.718279780 +0530
98 @@ -95,7 +95,7 @@
99 d_ctime64='undef'
100 d_ctime_r='undef'
101 d_cuserid='undef'
102 -d_dbl_dig='undef'
103 +d_dbl_dig='define'
104 d_dbminitproto='undef'
105 d_difftime64='undef'
106 d_difftime='undef'
107 @@ -629,9 +629,9 @@
108 i_dirent='define'
109 i_dlfcn='undef'
110 i_execinfo='undef'
111 -i_fcntl='undef'
112 +i_fcntl='define'
113 i_fenv='undef'
114 -i_float='undef'
115 +i_float='define'
116 i_fp='undef'
117 i_fp_class='undef'
118 i_gdbm='undef'
119 @@ -642,7 +642,7 @@
120 i_inttypes='undef'
121 i_langinfo='undef'
122 i_libutil='undef'
123 -i_limits='undef'
124 +i_limits='define'
125 i_locale='undef'
126 i_machcthr='undef'
127 i_malloc='undef'
128 @@ -877,7 +877,7 @@
129 usenm='false'
130 usensgetexecutablepath='undef'
131 useopcode='true'
132 -useperlio='undef'
133 +useperlio='define'
134 useposix='true'
135 usequadmath='undef'
136 usereentrant='undef'