summaryrefslogtreecommitdiff
path: root/security/amap/files/patch-amap.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-02 10:22:39 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-02 10:22:39 +0000
commit230d79dbbce8cab1c5b6dda3199fb6f94f1a4fb7 (patch)
tree745d4f492daafd52ea15ba52526a61885cd7d5af /security/amap/files/patch-amap.c
parentNew port: games/tetris, taken from OpenBSD's base (diff)
New port: security/amap - application mapper
This is amap- the application mapper. It tries to identify applications that do not run on thier default port. PR: ports/50218 Submitted by: Yonatan@xpert.com <Yonatan@xpert.com>
Diffstat (limited to 'security/amap/files/patch-amap.c')
-rw-r--r--security/amap/files/patch-amap.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/amap/files/patch-amap.c b/security/amap/files/patch-amap.c
new file mode 100644
index 000000000000..06968d259e7e
--- /dev/null
+++ b/security/amap/files/patch-amap.c
@@ -0,0 +1,12 @@
+--- amap.c.orig Sun Mar 23 15:42:07 2003
++++ amap.c Sun Mar 23 16:01:36 2003
+@@ -64,7 +64,8 @@
+ char banner_string[256];
+
+ // where are my appdefs files?
+-char *searchpath[12] = { "./", "/etc/", "/usr/etc", "/usr/local/etc/",
++char *searchpath[13] = { "./", "PREFIX/share/amap/", "/etc/", "/usr/etc",
++ "/usr/local/etc/",
+ "/opt/etc/", "/usr/local/amap/", "/opt/amap/",
+ "/usr/local/lib/", "/usr/local/lib/amap/",
+ "/usr/lib/amap/", "/usr/local/bin/", NULL };