logo       

Re: [PATCH] base/util-linux: msg#00032

t2.devel

Subject: Re: [PATCH] base/util-linux

Hi,

On Monday 18 June 2007 20:23:11 you wrote:
> Config without NLS support not compile util-linux in stage3
> I create not right but worked patch :)
>
> --- ./configure 2007-06-19 00:11:14.704644531 +0400
> +++ ./configure 2007-06-19 00:10:00.000000000 +0400
> @@ -10466,7 +10466,7 @@
> }'
> fi
>
> -DEFS=-DHAVE_CONFIG_H
> +DEFS="-DHAVE_CONFIG_H -DLC_ALL=6 -DLC_NUMERIC=1"
>
> ac_libobjs=
> ac_ltlibobjs=
>

We applied a different solution:

Thomas Nilsson:
* fixed util-linux for building with NLS disabled

svn diff -c 24626
Index: package/base/util-linux/fix-nls-disabled.patch
===================================================================
--- package/base/util-linux/fix-nls-disabled.patch (revision 0)
+++ package/base/util-linux/fix-nls-disabled.patch (revision 24626)
@@ -0,0 +1,26 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../util-linux/fix-nls-disabled.patch
+# Copyright (C) 2007 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+--- util-linux-2.13-pre7/include/nls.h.orig 2007-06-19 08:31:42.000000000
+0200
++++ util-linux-2.13-pre7/include/nls.h 2007-06-19 08:30:49.000000000 +0200
+@@ -13,6 +13,7 @@
+ # define N_(String) (String)
+ # endif
+ #else
++# include <locale.h>
+ # undef bindtextdomain
+ # define bindtextdomain(Domain, Directory) /* empty */
+ # undef textdomain

Please feel free to comment if you see a particular drawback in this patch.

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise