summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/openresolv/files/configure.patch')
-rw-r--r--net-dns/openresolv/files/configure.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-dns/openresolv/files/configure.patch b/net-dns/openresolv/files/configure.patch
new file mode 100644
index 0000000..dd6ab00
--- /dev/null
+++ b/net-dns/openresolv/files/configure.patch
@@ -0,0 +1,19 @@
+*** configure Fri Nov 5 08:35:16 2010
+--- configure_correct Wed Jan 5 20:47:05 2011
+***************
+*** 128,134 ****
+ if [ -z "$RESTARTCMD" ]; then
+ printf "Checking for OpenRC ... "
+ if [ -x /sbin/rc-service ]; then
+! RESTARTCMD="/sbin/rc-service -e \1 \&\& /sbin/rc-service \1 -Ds restart"
+ echo "yes"
+ else
+ echo "no"
+--- 128,134 ----
+ if [ -z "$RESTARTCMD" ]; then
+ printf "Checking for OpenRC ... "
+ if [ -x /sbin/rc-service ]; then
+! RESTARTCMD="/sbin/rc-service -e \1 \&\& /sbin/rc-service \1 -- -Ds restart"
+ echo "yes"
+ else
+ echo "no"