[Debian-tex-commits] SVN CJK commit + diffs: r4088 - in cjk/trunk/debian: . patches

Danai Sae-Han danai-guest at alioth.debian.org
Sat Jul 11 23:09:22 UTC 2009


Author: danai-guest
Date: 2009-07-11 23:09:22 +0000 (Sat, 11 Jul 2009)
New Revision: 4088

Added:
   cjk/trunk/debian/patches/07_remove_unnecessary_C_libs.dpatch
Modified:
   cjk/trunk/debian/changelog
   cjk/trunk/debian/patches/00list
Log:
Add a patch to fix some of dpkg-shlibdeps' warnings.
Not yet applied.


Modified: cjk/trunk/debian/changelog
===================================================================
--- cjk/trunk/debian/changelog	2009-07-11 21:09:14 UTC (rev 4087)
+++ cjk/trunk/debian/changelog	2009-07-11 23:09:22 UTC (rev 4088)
@@ -50,6 +50,8 @@
      - add \newpage in the example files (?or just one?) before \end{CJK*}
        to solve \write issues when you
        include a ToC.  + extra comments.  [TODO]
+  * [patches/07_remove_unnecessary_C_libs.dpatch] Add but do not yet apply
+     this patch intended to fix some of the dpkg-shlibdeps warnings.
   * Add \newpage to the example files.  See
     http://lists.ffii.org/pipermail/cjk/2008-November/002353.html
   * [latex-cjk-common.docs] Add CJKnumb.txt to the list of documents.

Modified: cjk/trunk/debian/patches/00list
===================================================================
--- cjk/trunk/debian/patches/00list	2009-07-11 21:09:14 UTC (rev 4087)
+++ cjk/trunk/debian/patches/00list	2009-07-11 23:09:22 UTC (rev 4088)
@@ -3,3 +3,4 @@
 04_extend_examplefiles.dpatch
 05_fix_examplefiles.dpatch
 06_extend_JIS_example.dpatch
+#07_remove_unnecessary_C_libs.dpatch

Added: cjk/trunk/debian/patches/07_remove_unnecessary_C_libs.dpatch
===================================================================
--- cjk/trunk/debian/patches/07_remove_unnecessary_C_libs.dpatch	                        (rev 0)
+++ cjk/trunk/debian/patches/07_remove_unnecessary_C_libs.dpatch	2009-07-11 23:09:22 UTC (rev 4088)
@@ -0,0 +1,42 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 07_remove_unnecessary_C_libs.dpatch by <danai.sae-han at edpnet.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The upstream C files include extra libraries that are not
+## DP: used at all.  Given that dpkg-shlibdeps sends dozens of
+## DP: warnings about this, we will manually remove those includes.
+
+ at DPATCH@
+
+diff -Nbaurw old/utils/hbf2gf/hbf2gf.w.orig new/utils/hbf2gf/hbf2gf.w
+--- old/utils/hbf2gf/hbf2gf.w.orig	2009-07-11 23:37:20.684358053 +0200
++++ new/utils/hbf2gf/hbf2gf.w	2009-07-11 23:37:35.580358672 +0200
+@@ -411,7 +411,6 @@
+ 
+ @
+ @<Include files@>=
+-#include <ctype.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff -Nbaurw old/utils/hbf2gf/configure.orig new/utils/hbf2gf/configure
+--- old/utils/hbf2gf/configure.orig	2009-07-11 23:42:37.228357958 +0200
++++ new/utils/hbf2gf/configure	2009-07-11 23:43:07.932357964 +0200
+@@ -3368,7 +3368,6 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+-#include <ctype.h>
+ #include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+diff -Nbaurw old/utils/hbf2gf/hbf.c.orig new/utils/hbf2gf/hbf.c
+--- old/utils/hbf2gf/hbf.c.orig	2009-07-11 23:12:13.244359434 +0200
++++ new/utils/hbf2gf/hbf.c	2009-07-11 23:12:27.976357286 +0200
+@@ -60,7 +60,6 @@
+ #include <stddef.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <ctype.h>
+ #include <string.h>
+ #include "hbf.h"


Property changes on: cjk/trunk/debian/patches/07_remove_unnecessary_C_libs.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the Debian-tex-commits mailing list