summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-25 05:24:58 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-25 05:24:58 +0000
commitd4196cdef84408c2a5e1829b7d1bb8d76910e851 (patch)
treec4f078797590789b59bcb8b45be46b63f02667f1 /encap
parent53176e0716ae91751bc25be44f5711de9397ab1d (diff)
downloadbcfg2-d4196cdef84408c2a5e1829b7d1bb8d76910e851.tar.gz
bcfg2-d4196cdef84408c2a5e1829b7d1bb8d76910e851.tar.bz2
bcfg2-d4196cdef84408c2a5e1829b7d1bb8d76910e851.zip
EncapPackages: patch runit to work on AIX
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3353 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/runit-1.7.2.ep18
1 files changed, 18 insertions, 0 deletions
diff --git a/encap/src/encap-profiles/runit-1.7.2.ep b/encap/src/encap-profiles/runit-1.7.2.ep
index 7a8be86f4..4330dd1c5 100644
--- a/encap/src/encap-profiles/runit-1.7.2.ep
+++ b/encap/src/encap-profiles/runit-1.7.2.ep
@@ -42,6 +42,24 @@ use_objdir="no"
subdir="admin/runit-1.7.2"
>
+PLATFORM_IF_MATCH(aix)
+<patch options="-p0" from_dir="admin/runit-1.7.2/compile"><![CDATA[
+--- uw_tmp.h 2007-06-25 01:17:00.000000000 -0400
++++ uw_tmp.h 2007-06-25 01:17:23.000000000 -0400
+@@ -3,7 +3,7 @@
+
+ /* sysdep: -utmpx */
+
+-#define UW_TMP_UFILE _PATH_UTMP
+-#define UW_TMP_WFILE _PATH_WTMP
++#define UW_TMP_UFILE UTMP_FILE
++#define UW_TMP_WFILE WTMP_FILE
+
+ typedef struct utmp uw_tmp;
+]]></patch>
+PLATFORM_ELSE
+PLATFORM_ENDIF
+
<configure type="unset" />
<build>