OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Torsten Homeyer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Mar-2004 10:04:02
Branch: HEAD Handle: 2004032409040200
Added files:
openpkg-src/file file.patch
Modified files:
openpkg-src/file file.spec
Log:
upgrading package: file 4.07 -> 4.08
Summary:
Revision Changes Path
1.2 +45 -0 openpkg-src/file/file.patch
1.44 +4 -2 openpkg-src/file/file.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/file/file.patch
============================================================================
$ cvs diff -u -r0 -r1.2 file.patch
--- /dev/null 2004-03-24 10:04:02.000000000 +0100
+++ file.patch 2004-03-24 10:04:02.000000000 +0100
@@ -0,0 +1,45 @@
+--- config.h.in.orig 2004-03-24 08:47:38.000000000 +0100
++++ config.h.in 2004-03-24 08:51:39.000000000 +0100
+@@ -200,3 +200,9 @@
+
+ /* Define to `unsigned' if <sys/types.h> does not define. */
+ #undef size_t
++
++/* Define to 1 if you have the `mbrtowc' function. */
++#undef HAVE_MBRTOWC
++
++/* Define to 1 if you have the `wcwidth' function. */
++#undef HAVE_WCWIDTH
+--- configure.in.orig 2004-03-24 08:35:36.000000000 +0100
++++ configure.in 2004-03-24 08:36:13.000000000 +0100
+@@ -97,7 +97,7 @@
+ AC_CHECK_SIZEOF_STDC_HEADERS(uint64_t, 0)
+
+ dnl Checks for functions
+-AC_CHECK_FUNCS(mmap strerror strtoul mkstemp getopt_long utimes utime)
++AC_CHECK_FUNCS(mmap strerror strtoul mkstemp getopt_long utimes utime mbrtowc
wcwidth)
+
+ dnl Checks for libraries
+ AC_CHECK_LIB(z,gzopen)
+--- configure.orig 2004-03-24 09:42:17.000000000 +0100
++++ configure 2004-03-24 09:42:44.000000000 +0100
+@@ -7612,7 +7612,7 @@
+
+
+
+-for ac_func in mmap strerror strtoul mkstemp getopt_long utimes utime
++for ac_func in mmap strerror strtoul mkstemp getopt_long utimes utime mbrtowc
wcwidth
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+--- src/file.c.orig 2004-03-24 09:22:13.000000000 +0100
++++ src/file.c 2004-03-24 09:22:48.000000000 +0100
+@@ -453,7 +453,7 @@
+ size_t
+ file_mbswidth(const char *s)
+ {
+-#ifdef HAVE_WCHAR_H
++#if (defined(HAVE_WCHAR_H) && defined (HAVE_MBRTOWC) && defined (HAVE_WCWIDTH))
+ size_t bytesconsumed, old_n, n, width = 0;
+ mbstate_t state;
+ wchar_t nextchar;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/file/file.spec
============================================================================
$ cvs diff -u -r1.43 -r1.44 file.spec
--- openpkg-src/file/file.spec 7 Feb 2004 17:54:49 -0000 1.43
+++ openpkg-src/file/file.spec 24 Mar 2004 09:04:02 -0000 1.44
@@ -33,11 +33,12 @@
Class: BASE
Group: Filesystem
License: BSD
-Version: 4.07
-Release: 20040207
+Version: 4.08
+Release: 20040324
# list of sources
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
+Patch0: file.patch
# build information
Prefix: %{l_prefix}
@@ -62,6 +63,7 @@
%prep
%setup -q
+ %patch -p0
%build
%{l_shtool} subst \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]