summaryrefslogtreecommitdiff
path: root/news/pan2/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-11 16:23:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-11 16:23:44 +0000
commit4f0e364f53a7337ec3385fa4e3ac8d5f2b065845 (patch)
treebf30331fa3b3e7eb67c9b9c7c39a5e8eb4851dd4 /news/pan2/files
parentfix package: (diff)
Update to 0.10.0.90.
Notes
Notes: svn path=/head/; revision=47690
Diffstat (limited to '')
-rw-r--r--news/pan2/files/patch-gmime::gmime-utils.c31
-rw-r--r--news/pan2/files/patch-pan::message-send.c36
-rw-r--r--news/pan2/files/patch-po::Makefile.in.in14
3 files changed, 14 insertions, 67 deletions
diff --git a/news/pan2/files/patch-gmime::gmime-utils.c b/news/pan2/files/patch-gmime::gmime-utils.c
deleted file mode 100644
index 95e92d4731f6..000000000000
--- a/news/pan2/files/patch-gmime::gmime-utils.c
+++ /dev/null
@@ -1,31 +0,0 @@
-
-$FreeBSD$
-
---- gmime/gmime-utils.c 2001/08/22 18:22:18 1.1
-+++ gmime/gmime-utils.c 2001/08/22 18:35:26
-@@ -32,7 +32,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
--#include <langinfo.h>
-+#include <locale.h>
-
- #define d(x)
-
-@@ -128,11 +128,12 @@
- get_codeset (void)
- {
- const gchar * codeset;
-+ gchar *s;
-
-- codeset = nl_langinfo (CODESET);
-- if (!codeset || !*codeset)
-- codeset = DEFAULT_CODESET;
--
-+ codeset = DEFAULT_CODESET;
-+ if ((s = setlocale(LC_CTYPE, NULL)) != NULL)
-+ if ((s = strchr(s, '.')) != NULL)
-+ codeset = s + 1;
- return codeset;
- }
-
diff --git a/news/pan2/files/patch-pan::message-send.c b/news/pan2/files/patch-pan::message-send.c
deleted file mode 100644
index 05816edf0e70..000000000000
--- a/news/pan2/files/patch-pan::message-send.c
+++ /dev/null
@@ -1,36 +0,0 @@
-
-$FreeBSD$
-
---- pan/message-send.c 2001/08/22 18:36:41 1.1
-+++ pan/message-send.c 2001/08/22 18:36:50
-@@ -25,7 +25,7 @@
- #include <string.h>
- #include <sys/types.h>
-
--#include <langinfo.h>
-+#include <locale.h>
-
- #include <glib.h>
-
-@@ -75,6 +75,7 @@
- gboolean force_new_message_id)
- {
- gchar * tmp;
-+ gchar * s;
- const gchar * pch;
- debug_enter ("build_nntp_header");
-
-@@ -153,9 +154,10 @@
-
- /* Add mime header, charset type, encoding type */
- g_string_append (postme, "Mime-Version: 1.0\r\n");
-- pch = nl_langinfo (CODESET);
-- if (!is_nonempty_string (pch))
-- pch = "ISO-8859-1";
-+ pch = "ISO-8859-1";
-+ if ((s = setlocale(LC_CTYPE, NULL)) != NULL)
-+ if ((s = strchr(s, '.')) != NULL)
-+ pch = s + 1;
- g_string_sprintfa (postme, "Content-Type: text/plain; charset=%s\r\n", pch);
- g_string_append (postme, "Content-Transfer-Encoding: 8bit\r\n");
-
diff --git a/news/pan2/files/patch-po::Makefile.in.in b/news/pan2/files/patch-po::Makefile.in.in
new file mode 100644
index 000000000000..216e106f2297
--- /dev/null
+++ b/news/pan2/files/patch-po::Makefile.in.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- po/Makefile.in.in 2001/09/11 16:16:39 1.1
++++ po/Makefile.in.in 2001/09/11 16:16:49
+@@ -106,7 +106,7 @@
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
++ lang=`echo $$cat | sed 's/\.mo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ if test -r $$cat; then \