Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Brown (844c474b870b3864cb82e69728ec9ce6f6dffe2a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Brown (844c474b870b3864cb82e69728ec9ce6f6dffe2a)
  • Date: Thu, 13 Sep 2007 23:20:57 -0500

GIT changes to master grimoire by David Brown <dmlb2000 AT gmail.com>:

utils/util-linux/HISTORY | 4 ++++
utils/util-linux/PRE_BUILD | 6 ++++++
utils/util-linux/util-linux-ng-nls.patch | 12 ++++++++++++
3 files changed, 22 insertions(+)

New commits:
commit 844c474b870b3864cb82e69728ec9ce6f6dffe2a
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

util-linux enabled selinux for ng stuff and added a little patch for when
LC_ALL doesn't seem to be defined

diff --git a/utils/util-linux/HISTORY b/utils/util-linux/HISTORY
index a0a861f..e8c73c4 100644
--- a/utils/util-linux/HISTORY
+++ b/utils/util-linux/HISTORY
@@ -1,3 +1,7 @@
+2007-09-13 David Brown <dmlb2000 AT gmail.com>
+ * PRE_BUILD: added patch for nls and selinux enabled
+ * util-linux-ng-nls.patch: fix for a little thing with LC_ALL
undefined
+
2007-08-28 David Brown <dmlb2000 AT gmail.com>
* DETAILS: updated version to 2.13

diff --git a/utils/util-linux/PRE_BUILD b/utils/util-linux/PRE_BUILD
index f737d99..4a47774 100755
--- a/utils/util-linux/PRE_BUILD
+++ b/utils/util-linux/PRE_BUILD
@@ -30,4 +30,10 @@ if [ "$SELINUX" == "y" ]; then
message "${MESSAGE_COLOR} SELINUX is enabled ${DEFAULT_COLOR}"
fi

+else
+ patch -p1 < ${SCRIPT_DIRECTORY}/util-linux-ng-nls.patch
+
+ if [ "$SELINUX" == "y" ] ; then
+ OPTS="--with-selinux"
+ fi
fi
diff --git a/utils/util-linux/util-linux-ng-nls.patch
b/utils/util-linux/util-linux-ng-nls.patch
new file mode 100644
index 0000000..7908060
--- /dev/null
+++ b/utils/util-linux/util-linux-ng-nls.patch
@@ -0,0 +1,12 @@
+--- a/include/nls.h 2007-09-14 04:13:55.000000000 +0000
++++ b/include/nls.h 2007-09-14 04:14:19.000000000 +0000
+@@ -9,6 +9,9 @@
+
+ #ifdef ENABLE_NLS
+ # include <libintl.h>
++# ifndef LC_ALL
++# include <locale.h>
++# endif
+ # define _(Text) gettext (Text)
+ # ifdef gettext_noop
+ # define N_(String) gettext_noop (String)



  • [SM-Commit] GIT changes to master grimoire by David Brown (844c474b870b3864cb82e69728ec9ce6f6dffe2a), David Brown, 09/14/2007

Archive powered by MHonArc 2.6.24.

Top of Page