public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-shells/mksh/files: mksh-40f-etc-configurable.patch mksh-39c-urandom-write.patch
@ 2012-09-22 20:04 Christoph Junghans (ottxor)
  0 siblings, 0 replies; only message in thread
From: Christoph Junghans (ottxor) @ 2012-09-22 20:04 UTC (permalink / raw
  To: gentoo-commits

ottxor      12/09/22 20:04:21

  Added:                mksh-40f-etc-configurable.patch
  Removed:              mksh-39c-urandom-write.patch
  Log:
  added prefix support (bug #432262)
  
  (Portage version: 2.2.0_alpha131/cvs/Linux i686)

Revision  Changes    Path
1.1                  app-shells/mksh/files/mksh-40f-etc-configurable.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/mksh/files/mksh-40f-etc-configurable.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/mksh/files/mksh-40f-etc-configurable.patch?rev=1.1&content-type=text/plain

Index: mksh-40f-etc-configurable.patch
===================================================================
Index: sh.h
===================================================================
RCS file: /cvs/src/bin/mksh/sh.h,v
retrieving revision 1.579
retrieving revision 1.580
diff -u -r1.579 -r1.580
--- sh.h	24 Aug 2012 19:03:21 -0000	1.579
+++ sh.h	24 Aug 2012 19:09:34 -0000	1.580
@@ -959,15 +959,16 @@
 
 /* Determine the location of the system (common) profile */
 
-/* This is deliberately not configurable via CPPFLAGS */
+#ifndef MKSH_DEFAULT_PROFILEDIR
 #if defined(ANDROID)
-#define MKSH_ETC_LOCATION	"/system/etc"
+#define MKSH_DEFAULT_PROFILEDIR	"/system/etc"
 #else
-#define MKSH_ETC_LOCATION	"/etc"
+#define MKSH_DEFAULT_PROFILEDIR	"/etc"
+#endif
 #endif
 
-#define MKSH_SYSTEM_PROFILE	MKSH_ETC_LOCATION "/profile"
-#define MKSH_SUID_PROFILE	MKSH_ETC_LOCATION "/suid_profile"
+#define MKSH_SYSTEM_PROFILE	MKSH_DEFAULT_PROFILEDIR "/profile"
+#define MKSH_SUID_PROFILE	MKSH_DEFAULT_PROFILEDIR "/suid_profile"
 
 
 /* Used by v_evaluate() and setstr() to control action when error occurs */





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-22 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22 20:04 [gentoo-commits] gentoo-x86 commit in app-shells/mksh/files: mksh-40f-etc-configurable.patch mksh-39c-urandom-write.patch Christoph Junghans (ottxor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox