Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=16ce5a67799815511e02693c3deddcab77b04f47

commit 16ce5a67799815511e02693c3deddcab77b04f47
Author: Devil505 <devil505li...@gmail.com>
Date:   Mon Jun 6 07:45:42 2011 +0200

man-db-2.6.0.2-2-i686
* added patch to fix UTF-8

diff --git a/source/base/man-db/1361_1360.diff 
b/source/base/man-db/1361_1360.diff
new file mode 100644
index 0000000..c938569
--- /dev/null
+++ b/source/base/man-db/1361_1360.diff
@@ -0,0 +1,25 @@
+=== modified file 'src/straycats.c'
+--- src/straycats.c    2011-01-10 20:08:22 +0000
++++ src/straycats.c    2011-06-04 06:34:51 +0000
+@@ -177,6 +177,7 @@
+                       char *lang, *page_encoding;
+                       char *mandir_base;
+                       pipecmd *col_cmd;
++                      char *col_locale;
+                       char *fullpath;
+
+                       /* we have a straycat. Need to filter it and get
+@@ -226,6 +227,12 @@
+                       col_cmd = pipecmd_new_argstr
+                               (get_def_user ("col", COL));
+                       pipecmd_arg (col_cmd, "-bx");
++                      col_locale = find_charset_locale ("UTF-8");
++                      if (col_locale) {
++                              pipecmd_setenv (col_cmd, "LC_CTYPE",
++                                              col_locale);
++                              free (col_locale);
++                      }
+                       pipeline_command (decomp, col_cmd);
+
+                       fullpath = canonicalize_file_name (catdir);
+
diff --git a/source/base/man-db/FrugalBuild b/source/base/man-db/FrugalBuild
index ac1d199..5c5ba35 100644
--- a/source/base/man-db/FrugalBuild
+++ b/source/base/man-db/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=man-db
pkgver=2.6.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="A utility for reading man pages"
url="http://www.nongnu.org/man-db/";
depends=('bash' 'gdbm' 'zlib' 'groff' 'less' 'libpipeline')
@@ -16,17 +16,19 @@ backup=('etc/man_db.conf' 'etc/cron.daily/man-db' 
'etc/profile.d/man-colors.sh')
up2date="Flasttar http://download.savannah.gnu.org/releases/man-db/";
source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.gz \
man.sh man-colors.sh README.Frugalware \
-    convert-mans man-db.cron.daily)
+    convert-mans man-db.cron.daily 1361_1360.diff)
sha1sums=('864e79e9369f993bfce0934132d41f29a687a6f4' \
'33ed8d61d09f8711176fd18b7ae4e3a2d3354cf6' \
'b51fd2d450c7a0982e605e74010256a40a3fa05e' \
'3a1e22acd8931537d5c2694a536913c02e0d448e' \
'3c7a367d74f1e492033c6b7785b2a4cac7f0eeb1' \
-          'b180d7b4e4dd2323bd4058d9954dcd36b28df796')
+          'b180d7b4e4dd2323bd4058d9954dcd36b28df796' \
+          '211cf1ad12cafd8313c114074af3550aa77d6674')

build()
{
Fcd
+       Fpatchall
Fconf --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--with-db=gdbm --disable-setuid --enable-mandirs=GNU \
--with-sections="1 n l 8 3 0 2 5 4 9 6 7"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to