1 |
vapier 08/04/20 11:25:52 |
2 |
|
3 |
Added: wml-2.0.11-autotools.patch |
4 |
Log: |
5 |
Fixup code to work with autoconf-2.62 and libtool-2.2 #212811 by Patrizio Bassi. |
6 |
(Portage version: 2.2_pre5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-lang/wml/files/wml-2.0.11-autotools.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/files/wml-2.0.11-autotools.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/files/wml-2.0.11-autotools.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: wml-2.0.11-autotools.patch |
15 |
=================================================================== |
16 |
--- wml_backend/p4_gm4/configure.in |
17 |
+++ wml_backend/p4_gm4/configure.in |
18 |
@@ -2,7 +2,7 @@ |
19 |
# Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. |
20 |
# Process this file with autoconf to produce a configure script. |
21 |
|
22 |
-undefine([changeword]) |
23 |
+m4_ifdef([changeword],[m4_undef([changeword])]) |
24 |
|
25 |
AC_INIT(src/m4.c) |
26 |
AC_CONFIG_HEADER(config.h) |
27 |
@@ -21,9 +21,7 @@ |
28 |
AC_PROG_MAKE_SET |
29 |
AC_PROG_RANLIB |
30 |
|
31 |
-AC_AIX |
32 |
-AC_ISC_POSIX |
33 |
-AC_MINIX |
34 |
+AC_USE_SYSTEM_EXTENSIONS |
35 |
fp_C_PROTOTYPES |
36 |
AC_C_CONST |
37 |
AC_EXEEXT |
38 |
--- wml_backend/p2_mp4h/src/Makefile.am |
39 |
+++ wml_backend/p2_mp4h/src/Makefile.am |
40 |
@@ -8,7 +8,7 @@ |
41 |
EXTRA_DIST = readme.tmpl |
42 |
|
43 |
if LOADABLE_MODULES |
44 |
-MODULE_C = module.c ltdl.c |
45 |
+MODULE_C = module.c |
46 |
endif |
47 |
|
48 |
mp4h_SOURCES = builtin.c debug.c devel.c freeze.c input.c \ |
49 |
@@ -16,7 +16,7 @@ |
50 |
if LOADABLE_MODULES |
51 |
mp4h_LDFLAGS = -export-dynamic |
52 |
endif |
53 |
-mp4h_LDADD = -lm $(top_builddir)/lib/libmp4h.a -lpcre @INTLLIBS@ |
54 |
+mp4h_LDADD = -lm $(top_builddir)/lib/libmp4h.a -lpcre @INTLLIBS@ -lltdl |
55 |
|
56 |
include_HEADERS = mp4h.h |
57 |
noinst_HEADERS = builtin.h ltdl.h |
58 |
--- wml_backend/p2_mp4h/modules/intl/Makefile.am |
59 |
+++ wml_backend/p2_mp4h/modules/intl/Makefile.am |
60 |
@@ -13,7 +13,7 @@ |
61 |
man3ext = 3 |
62 |
|
63 |
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/src @INTLINCL@ |
64 |
-LDFLAGS = -no-undefined -module -avoid-version -rpath $(mp4mdir) @DLLDFLAGS@ |
65 |
+AM_LDFLAGS = -no-undefined -module -avoid-version -rpath $(mp4mdir) @DLLDFLAGS@ |
66 |
|
67 |
if DO_MODULE_INTL_GETTEXT |
68 |
mp4m_LTLIBRARIES = gettext.la |
69 |
--- wml_backend/p2_mp4h/modules/system/Makefile.am |
70 |
+++ wml_backend/p2_mp4h/modules/system/Makefile.am |
71 |
@@ -13,7 +13,7 @@ |
72 |
man3ext = 3 |
73 |
|
74 |
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/src @INTLINCL@ |
75 |
-LDFLAGS = -no-undefined -module -avoid-version -rpath $(mp4mdir) @DLLDFLAGS@ |
76 |
+AM_LDFLAGS = -no-undefined -module -avoid-version -rpath $(mp4mdir) @DLLDFLAGS@ |
77 |
|
78 |
if DO_MODULE_SYSTEM |
79 |
mp4m_LTLIBRARIES = sh.la exec.la |
80 |
--- wml_backend/p3_eperl/Makefile.in |
81 |
+++ wml_backend/p3_eperl/Makefile.in |
82 |
@@ -215,7 +215,6 @@ |
83 |
|
84 |
eperl$(EXEEXT): $(OBJS) |
85 |
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS) $(dmalloc) |
86 |
- @[ "x$(debug)" = xon ] || strip $@ |
87 |
|
88 |
eperl_main.o: eperl_main.c |
89 |
$(CC) $(CFLAGS) -c eperl_main.c |
90 |
|
91 |
|
92 |
|
93 |
-- |
94 |
gentoo-commits@l.g.o mailing list |