-diff -ruw vilistextum-2.6.7/CHANGES vilistextum-2.6.8-devel/CHANGES
+diff -uwr vilistextum-2.6.7/CHANGES vilistextum-2.6.7-gentoo/CHANGES
--- vilistextum-2.6.7/CHANGES 2004-12-20 00:05:47.000000000 +0100
-+++ vilistextum-2.6.8-devel/CHANGES 2004-12-23 03:11:52.000000000 +0100
-@@ -1,9 +1,14 @@
-+2.6.8-devel: (??.??.2005)
++++ vilistextum-2.6.7-gentoo/CHANGES 2005-01-02 09:14:58.000000000 +0100
+@@ -1,9 +1,15 @@
++2.6.7-gentoo: (02.01.2005)
+
++ - configure fixed to correctly process --disable-multibyte
+ - configure falls back to standard iconv() if no libiconv is found
+ - BUGFIX: three off-by-one error in get_attr found by Ewald Dieterich
+
2.6.6: (24.08.2004)
-diff -ruw vilistextum-2.6.7/config.h.in vilistextum-2.6.8-devel/config.h.in
+diff -uwr vilistextum-2.6.7/INSTALL vilistextum-2.6.7-gentoo/INSTALL
+--- vilistextum-2.6.7/INSTALL 2004-04-20 12:10:18.000000000 +0200
++++ vilistextum-2.6.7-gentoo/INSTALL 2004-12-22 21:49:20.000000000 +0100
+@@ -11,7 +11,7 @@
+ Multibyte/Unicode version
+ =========================
+
+-./configure --enable && make && make install
++./configure --enable-multibyte && make && make install
+
+ The multibyte version needs libiconv.
+ http://www.gnu.org/software/libiconv
+diff -uwr vilistextum-2.6.7/config.h.in vilistextum-2.6.7-gentoo/config.h.in
--- vilistextum-2.6.7/config.h.in 2004-12-20 00:05:48.000000000 +0100
-+++ vilistextum-2.6.8-devel/config.h.in 2004-12-23 03:11:52.000000000 +0100
++++ vilistextum-2.6.7-gentoo/config.h.in 2005-01-02 09:14:59.000000000 +0100
@@ -3,6 +3,9 @@
/* Define to 1 if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-diff -ruw vilistextum-2.6.7/configure vilistextum-2.6.8-devel/configure
+diff -uwr vilistextum-2.6.7/configure vilistextum-2.6.7-gentoo/configure
--- vilistextum-2.6.7/configure 2004-12-20 00:05:32.000000000 +0100
-+++ vilistextum-2.6.8-devel/configure 2004-12-23 03:11:42.000000000 +0100
++++ vilistextum-2.6.7-gentoo/configure 2005-01-02 09:13:56.000000000 +0100
+@@ -846,7 +846,7 @@
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-dependency-tracking Speeds up one-time builds
+ --enable-dependency-tracking Do not reject slow dependency extractors
+- --enable-multibyte Enable multibyte support. Needs libiconv.
++ --enable-multibyte Enable multibyte support.
+
+ Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1541,7 +1541,7 @@
# Define the identity of the package.
PACKAGE=vilistextum
- VERSION=2.6.7
-+ VERSION=2.6.8-devel
++ VERSION=2.6.7-gentoo
cat >>confdefs.h <<_ACEOF
cat >>confdefs.h <<_ACEOF
-#define RELEASEDATE "19.12.2004"
-+#define RELEASEDATE "??.??.2005"
++#define RELEASEDATE "02.01.2005"
_ACEOF
-@@ -3631,6 +3631,153 @@
+@@ -3615,13 +3615,14 @@
+ # Check whether --enable-multibyte or --disable-multibyte was given.
+ if test "${enable_multibyte+set}" = set; then
+ enableval="$enable_multibyte"
+- multibyte="yes"
++ use_multibyte=$enableval
+ else
+- multibyte="no"
++ use_multibyte=no
+ fi;
+-echo "$as_me:$LINENO: result: $multibyte" >&5
+-echo "${ECHO_T}$multibyte" >&6
+-if test "$multibyte" = "yes"; then
++echo "$as_me:$LINENO: result: $use_multibyte" >&5
++echo "${ECHO_T}$use_multibyte" >&6
++
++if test "$use_multibyte" = "yes"; then
- if test "$multibyte" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define MULTIBYTE 1
+@@ -3629,7 +3630,154 @@
+ fi
+
+-if test "$multibyte" = "yes"; then
++if test "$use_multibyte" = "yes"; then
++
+for ac_header in iconv.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+done
+
+
-+
+
echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
- if test "${ac_cv_lib_iconv_iconv+set}" = set; then
-@@ -3693,9 +3840,8 @@
+@@ -3693,9 +3841,8 @@
LIBS="-liconv $LIBS"
else
fi
-diff -ruw vilistextum-2.6.7/configure.in vilistextum-2.6.8-devel/configure.in
+diff -uwr vilistextum-2.6.7/configure.in vilistextum-2.6.7-gentoo/configure.in
--- vilistextum-2.6.7/configure.in 2004-12-20 00:05:14.000000000 +0100
-+++ vilistextum-2.6.8-devel/configure.in 2004-12-23 03:08:53.000000000 +0100
++++ vilistextum-2.6.7-gentoo/configure.in 2005-01-02 09:13:30.000000000 +0100
@@ -1,11 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/debug.h)
-AM_INIT_AUTOMAKE(vilistextum, 2.6.7)
-+AM_INIT_AUTOMAKE(vilistextum, 2.6.8-devel)
++AM_INIT_AUTOMAKE(vilistextum, 2.6.7-gentoo)
AM_CONFIG_HEADER(config.h)
dnl Set current date
-AC_DEFINE_UNQUOTED(RELEASEDATE, "19.12.2004", "Release date of the program")
-+AC_DEFINE_UNQUOTED(RELEASEDATE, "??.??.2005", "Release date of the program")
++AC_DEFINE_UNQUOTED(RELEASEDATE, "02.01.2005", "Release date of the program")
dnl Checks for programs.
AC_PROG_CC
-@@ -36,8 +36,11 @@
+@@ -27,17 +27,21 @@
+ dnl checking for options
+ AC_MSG_CHECKING(if --enable-multibyte specified)
+ AC_ARG_ENABLE(multibyte,
+- [ --enable-multibyte Enable multibyte support. Needs libiconv.],
+- [multibyte="yes"], [multibyte="no"])
+-AC_MSG_RESULT($multibyte)
+-if test "$multibyte" = "yes"; then
++ AC_HELP_STRING([--enable-multibyte], [Enable multibyte support.]),
++ [use_multibyte=$enableval], [use_multibyte=no])
++AC_MSG_RESULT($use_multibyte)
++
++if test "$use_multibyte" = "yes"; then
+ AC_DEFINE(MULTIBYTE, 1, "Enable multibyte support (e.g. unicode, shift_jis)")
+ fi
dnl Checks for libraries.
- if test "$multibyte" = "yes"; then
+-if test "$multibyte" = "yes"; then
++if test "$use_multibyte" = "yes"; then
+AC_CHECK_HEADERS(iconv.h,,
+ AC_MSG_ERROR(Need libiconv or iconv.h for multibyte support))
+
dnl setting INTERNAL_LOCALE
AC_MSG_CHECKING(for unicode locale)
-diff -ruw vilistextum-2.6.7/INSTALL vilistextum-2.6.8-devel/INSTALL
---- vilistextum-2.6.7/INSTALL 2004-04-20 12:10:18.000000000 +0200
-+++ vilistextum-2.6.8-devel/INSTALL 2004-12-22 21:49:20.000000000 +0100
-@@ -11,7 +11,7 @@
- Multibyte/Unicode version
- =========================
-
--./configure --enable && make && make install
-+./configure --enable-multibyte && make && make install
-
- The multibyte version needs libiconv.
- http://www.gnu.org/software/libiconv
-diff -ruw vilistextum-2.6.7/src/fileio.c vilistextum-2.6.8-devel/src/fileio.c
+diff -uwr vilistextum-2.6.7/src/fileio.c vilistextum-2.6.7-gentoo/src/fileio.c
--- vilistextum-2.6.7/src/fileio.c 2004-12-19 22:08:08.000000000 +0100
-+++ vilistextum-2.6.8-devel/src/fileio.c 2004-12-22 21:29:34.000000000 +0100
++++ vilistextum-2.6.7-gentoo/src/fileio.c 2004-12-22 21:29:34.000000000 +0100
@@ -27,11 +27,6 @@
#ifdef MULTIBYTE
#include <iconv.h>
else if (fehlernr==EINVAL) { fprintf(stderr, "errno==EINVAL\n"); }
output[DEF_STR_LEN-outsize] = '\0';
-diff -ruw vilistextum-2.6.7/src/html.c vilistextum-2.6.8-devel/src/html.c
+diff -uwr vilistextum-2.6.7/src/html.c vilistextum-2.6.7-gentoo/src/html.c
--- vilistextum-2.6.7/src/html.c 2004-12-19 22:08:17.000000000 +0100
-+++ vilistextum-2.6.8-devel/src/html.c 2004-12-22 17:19:37.000000000 +0100
++++ vilistextum-2.6.7-gentoo/src/html.c 2004-12-22 17:19:37.000000000 +0100
@@ -95,9 +95,8 @@
while ((ch!='=') && (ch!='>')) {
ch=read_char();
}
uppercase_str(attr_name);
-diff -ruw vilistextum-2.6.7/src/html_tag.c vilistextum-2.6.8-devel/src/html_tag.c
+diff -uwr vilistextum-2.6.7/src/html_tag.c vilistextum-2.6.7-gentoo/src/html_tag.c
--- vilistextum-2.6.7/src/html_tag.c 2004-12-19 22:08:20.000000000 +0100
-+++ vilistextum-2.6.8-devel/src/html_tag.c 2004-12-22 17:23:09.000000000 +0100
++++ vilistextum-2.6.7-gentoo/src/html_tag.c 2004-12-22 17:23:09.000000000 +0100
@@ -52,12 +52,10 @@
/* read html tag */
while ((ch!='>') && (ch!=' ') && (ch!=13) && (ch!=10))
else { if (errorlevel>=2) { print_error("tag ignored: ", str);} }
}
-diff -ruw vilistextum-2.6.7/src/main.c vilistextum-2.6.8-devel/src/main.c
+diff -uwr vilistextum-2.6.7/src/main.c vilistextum-2.6.7-gentoo/src/main.c
--- vilistextum-2.6.7/src/main.c 2004-12-19 22:08:30.000000000 +0100
-+++ vilistextum-2.6.8-devel/src/main.c 2004-12-22 17:16:05.000000000 +0100
++++ vilistextum-2.6.7-gentoo/src/main.c 2004-12-22 17:16:05.000000000 +0100
@@ -253,7 +253,7 @@
case 's':
shrink_lines = atoi(argument); if (shrink_lines==0) { shrink_lines = 1; } break;
case 'i':
#ifdef MULTIBYTE
convert_string(argument, user_image);
-diff -ruw vilistextum-2.6.7/src/text.c vilistextum-2.6.8-devel/src/text.c
+diff -uwr vilistextum-2.6.7/src/text.c vilistextum-2.6.7-gentoo/src/text.c
--- vilistextum-2.6.7/src/text.c 2004-12-19 22:08:41.000000000 +0100
-+++ vilistextum-2.6.8-devel/src/text.c 2004-12-22 15:43:26.000000000 +0100
++++ vilistextum-2.6.7-gentoo/src/text.c 2004-12-22 15:43:26.000000000 +0100
@@ -249,10 +249,12 @@
if (!palm)