]>
Commit | Line | Data |
---|---|---|
768e5264 AM |
1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
2 | ## 54_checklib_fixes.dpatch by Norbert Preining | |
3 | ## | |
4 | ## DP: fix unnecessary libraries in the ELF header, ie libs which were | |
5 | ## DP: added to teh bin at linking stage | |
6 | ||
7 | @DPATCH@ | |
8 | build/source/texk/web2c/Makefile.in | 4 ++-- | |
9 | build/source/texk/xdvik/Makefile.in | 4 ++-- | |
10 | build/source/utils/pdfopen/Makefile.in | 2 +- | |
11 | 3 files changed, 5 insertions(+), 5 deletions(-) | |
12 | ||
13 | Index: texlive-bin-2006.svn3816/build/source/texk/web2c/Makefile.in | |
14 | =================================================================== | |
15 | --- texlive-bin-2006.svn3816.orig/build/source/texk/web2c/Makefile.in 2007-01-10 18:39:42.000000000 +0100 | |
16 | +++ texlive-bin-2006.svn3816/build/source/texk/web2c/Makefile.in 2007-01-26 04:03:16.000000000 +0100 | |
17 | @@ -55,10 +55,10 @@ | |
18 | # All the x_... variables will be empty if we aren't supporting X. | |
19 | x_cppflags = @X_CFLAGS@ | |
20 | x_ldflags = @X_LIBS@ | |
21 | -x_pre_libs = @X_PRE_LIBS@ | |
22 | +x_pre_libs = # disabled since it created unnecessary deps @X_PRE_LIBS@ | |
23 | x_extra_libs = @X_EXTRA_LIBS@ | |
24 | x_tool_libs = @x_tool_libs@ | |
25 | -x_ext_lib = @x_ext_lib@ | |
26 | +x_ext_lib = # disabled since it created unnecessary deps @x_ext_lib@ | |
27 | wlibs = @wlibs@ | |
28 | # Follow the library order used in X11R6 itself: | |
29 | # -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 (some may not be present). | |
30 | Index: texlive-bin-2006.svn3816/build/source/texk/xdvik/Makefile.in | |
31 | =================================================================== | |
32 | --- texlive-bin-2006.svn3816.orig/build/source/texk/xdvik/Makefile.in 2006-01-17 22:41:51.000000000 +0100 | |
33 | +++ texlive-bin-2006.svn3816/build/source/texk/xdvik/Makefile.in 2007-01-26 04:03:16.000000000 +0100 | |
34 | @@ -17,13 +17,13 @@ | |
35 | # This matches web2c (needed only for Metafont). | |
36 | x_cppflags=@X_CFLAGS@ @iconv_includes@ | |
37 | x_ldflags=@X_LIBS@ @x_linker_options@ @iconv_libpath@ | |
38 | -x_pre_libs=@X_PRE_LIBS@ | |
39 | +x_pre_libs= # disabled as it generates unnecessary deps @X_PRE_LIBS@ | |
40 | x_extra_libs=@X_EXTRA_LIBS@ @iconv_libs@ | |
41 | x_tool_libs=@x_tool_libs@ | |
42 | x_xmu_lib=@x_xmu_lib@ | |
43 | x_xpm_libs=@x_xpm_libs@ | |
44 | # -lXp and -lXext | |
45 | -x_ext_lib=@x_ext_lib@ | |
46 | +x_ext_lib= # disabled as it generates unnecessary deps @x_ext_lib@ | |
47 | ||
48 | # Follow the library order used in X11R6 itself. | |
49 | # It seems that on Cygwin, libXaw needs _XpmReadFileToPixmap, so we put | |
50 | Index: texlive-bin-2006.svn3816/build/source/utils/pdfopen/Makefile.in | |
51 | =================================================================== | |
52 | --- texlive-bin-2006.svn3816.orig/build/source/utils/pdfopen/Makefile.in 2006-06-15 15:28:00.000000000 +0200 | |
53 | +++ texlive-bin-2006.svn3816/build/source/utils/pdfopen/Makefile.in 2007-01-26 04:03:16.000000000 +0100 | |
54 | @@ -158,7 +158,7 @@ | |
55 | sysconfdir = @sysconfdir@ | |
56 | target_alias = @target_alias@ | |
57 | AM_CFLAGS = $(X_CFLAGS) | |
58 | -LDADD = $(X_LIBS) -lX11 -lXmu $(X_EXTRA_LIBS) | |
59 | +LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS) | |
60 | pdfopen_SOURCES = pdfopen.c sendx.c | |
61 | pdfclose_SOURCES = pdfclose.c sendx.c | |
62 | all: all-am |