summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-02 14:16:52 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-02 14:16:52 +0000
commit0acdf1cefa1987bedc202bdf387875a25200d973 (patch)
tree39e5f1cf6973fe563c87318eaeff8ea1910e2e8d /encap
parent193a8b1ade3a366b5d5f6711541566495e428943 (diff)
downloadbcfg2-0acdf1cefa1987bedc202bdf387875a25200d973.tar.gz
bcfg2-0acdf1cefa1987bedc202bdf387875a25200d973.tar.bz2
bcfg2-0acdf1cefa1987bedc202bdf387875a25200d973.zip
EncapPackages: Patch for runit to compile on Solaris
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3399 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/runit-1.7.2.ep20
1 files changed, 19 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/runit-1.7.2.ep b/encap/src/encap-profiles/runit-1.7.2.ep
index 9606edba0..4396608ae 100644
--- a/encap/src/encap-profiles/runit-1.7.2.ep
+++ b/encap/src/encap-profiles/runit-1.7.2.ep
@@ -50,7 +50,7 @@ subdir="admin/runit-1.7.2"
>
PLATFORM_IF_MATCH(aix)
-<patch options="-p0" from_dir="compile"><![CDATA[
+<patch options="-p0" from_dir="src"><![CDATA[
--- uw_tmp.h1 2007-06-25 01:17:00.000000000 -0400
+++ uw_tmp.h1 2007-06-25 01:17:23.000000000 -0400
@@ -3,7 +3,7 @@
@@ -64,6 +64,24 @@ PLATFORM_IF_MATCH(aix)
typedef struct utmp uw_tmp;
]]></patch>
+PLATFORM_ELSE_IF_MATCH(solaris)
+<patch options="-p0" from_dir="src"><![CDATA[
+--- Makefile 2007-07-02 10:09:24.000000000 -0400
++++ Makefile 2007-07-02 10:09:45.000000000 -0400
+@@ -6,10 +6,10 @@
+ ./check-local $(IT)
+
+ runit: load runit.o unix.a byte.a
+- ./load runit unix.a byte.a -static
++ ./load runit unix.a byte.a
+
+ runit-init: load runit-init.o unix.a byte.a
+- ./load runit-init unix.a byte.a -static
++ ./load runit-init unix.a byte.a
+
+ runsv: load runsv.o unix.a byte.a time.a
+ ./load runsv unix.a byte.a time.a
+]]></patch>
PLATFORM_ELSE
PLATFORM_ENDIF