]> git.pld-linux.org Git - packages/wget.git/blob - wget-ac.patch
- drop outdated patch2 from patch list
[packages/wget.git] / wget-ac.patch
1 --- wget-1.9.1/configure.in.orig        2003-11-08 20:15:35.000000000 +0100
2 +++ wget-1.9.1/configure.in     2003-11-16 11:46:45.947950144 +0100
3 @@ -541,7 +541,8 @@
4  dnl new language was added.
5  
6  dnl internationalization macros
7 -WGET_WITH_NLS
8 +AM_GNU_GETTEXT
9 +WGET_WITH_NLS
10  
11  dnl
12  dnl Find makeinfo.  We used to provide support for Emacs processing
13 diff -urN wget-1.9-b5.org/Makefile.in wget-1.9-b5/Makefile.in
14 --- wget-1.9-b5.org/Makefile.in 2003-10-12 23:55:54.000000000 +0200
15 +++ wget-1.9-b5/Makefile.in     2003-10-13 00:29:14.000000000 +0200
16 @@ -82,7 +82,7 @@
17  infodir='$(infodir)' mandir='$(mandir)' manext='$(manext)'
18  
19  # subdirectories in the distribution
20 -SUBDIRS = src doc po util windows
21 +SUBDIRS = src doc intl po util windows
22  
23  # default target
24  all: libtool src/config.h Makefile $(SUBDIRS)
25 @@ -106,7 +106,7 @@
26  
27  # Install `.mo' files
28  install.mo:
29 -       cd po && $(MAKE) $(MAKEDEFS) $@
30 +       cd po && $(MAKE) $(MAKEDEFS) install
31  
32  # Regenerate libtool if ltconfig and/or ltmain are updated
33  libtool: $(LIBTOOL_DEPS)
34 --- wget-1.10/src/main.c.orig   2005-06-22 03:25:18.000000000 +0200
35 +++ wget-1.10/src/main.c        2005-06-22 03:25:48.000000000 +0200
36 @@ -43,11 +43,11 @@
37  #ifdef HAVE_SIGNAL_H
38  # include <signal.h>
39  #endif
40 -#ifdef HAVE_NLS
41 +#ifdef ENABLE_NLS
42  #ifdef HAVE_LOCALE_H
43  # include <locale.h>
44  #endif /* HAVE_LOCALE_H */
45 -#endif /* HAVE_NLS */
46 +#endif /* ENABLE_NLS */
47  #include <assert.h>
48  
49  #include <errno.h>
50 @@ -90,8 +90,8 @@
51  static void
52  i18n_initialize (void)
53  {
54 -  /* HAVE_NLS implies existence of functions invoked here.  */
55 -#ifdef HAVE_NLS
56 +  /* ENABLE_NLS implies existence of functions invoked here.  */
57 +#ifdef ENABLE_NLS
58    /* Set the current locale.  */
59    /* Where possible, sets only LC_MESSAGES and LC_CTYPE.  Other
60       categories, such as numeric, time, or collation, break code that
61 @@ -110,7 +110,7 @@
62    /* Set the text message domain.  */
63    bindtextdomain ("wget", LOCALEDIR);
64    textdomain ("wget");
65 -#endif /* HAVE_NLS */
66 +#endif /* ENABLE_NLS */
67  }
68  \f
69  /* Definition of command-line options. */
70 --- wget-1.10/src/wget.h.orig   2005-06-22 03:26:51.000000000 +0200
71 +++ wget-1.10/src/wget.h        2005-06-22 03:27:04.000000000 +0200
72 @@ -50,16 +50,16 @@
73  
74  /* `gettext (FOO)' is long to write, so we use `_(FOO)'.  If NLS is
75     unavailable, _(STRING) simply returns STRING.  */
76 -#ifdef HAVE_NLS
77 +#ifdef ENABLE_NLS
78  # define _(string) gettext (string)
79  # ifdef HAVE_LIBINTL_H
80  #  include <libintl.h>
81  # else  /* not HAVE_LIBINTL_H */
82     const char *gettext ();
83  # endif /* not HAVE_LIBINTL_H */
84 -#else  /* not HAVE_NLS */
85 +#else  /* not ENABLE_NLS */
86  # define _(string) (string)
87 -#endif /* not HAVE_NLS */
88 +#endif /* not ENABLE_NLS */
89  
90  /* A pseudo function call that serves as a marker for the automated
91     extraction of messages, but does not call gettext().  The run-time
This page took 0.02949 seconds and 3 git commands to generate.