]> git.draconx.ca Git - gentoo-draconx.git/blobdiff - net-nds/ypbind/files/ypbind-1.38-flexible-bindingdir.patch
Add ebuilds for ypbind.
[gentoo-draconx.git] / net-nds / ypbind / files / ypbind-1.38-flexible-bindingdir.patch
diff --git a/net-nds/ypbind/files/ypbind-1.38-flexible-bindingdir.patch b/net-nds/ypbind/files/ypbind-1.38-flexible-bindingdir.patch
new file mode 100644 (file)
index 0000000..c21a3af
--- /dev/null
@@ -0,0 +1,24 @@
+From 3c58ce7fbca6cbd9934015a32ca4ddf918c1186f Mon Sep 17 00:00:00 2001
+From: Nick Bowler <nbowler@draconx.ca>
+
+---
+ src/local.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/local.h b/src/local.h
+index 29db8505b1e8..74528d0d8e01 100644
+--- a/src/local.h
++++ b/src/local.h
+@@ -1,7 +1,9 @@
+ #ifndef _LOCAL_H
+ #define _LOCAL_H 1
++#ifndef BINDINGDIR
+ #define BINDINGDIR "/var/yp/binding"
++#endif
+ extern int broken_server;
+ extern int ping_interval;
+-- 
+2.16.4
+