summaryrefslogtreecommitdiff
path: root/net/openradius/files/patch-common-misc.h
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2009-07-13 18:10:22 +0000
committerWesley Shields <wxs@FreeBSD.org>2009-07-13 18:10:22 +0000
commit47d004b8ef66e94552af0c1b57c9e2f10453a08a (patch)
treee55bb35279847260a23fe103312556cace21167b /net/openradius/files/patch-common-misc.h
parentUpdate to 4047 (diff)
- Unbreak build by renaming memchr() to memchr9()
- While here respect LOCALBASE in scripts/configure - Pass maintainer to submitter PR: ports/136434 Submitted by: Chris Rees <utisoft@gmail.com>
Diffstat (limited to 'net/openradius/files/patch-common-misc.h')
-rw-r--r--net/openradius/files/patch-common-misc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/openradius/files/patch-common-misc.h b/net/openradius/files/patch-common-misc.h
new file mode 100644
index 000000000000..121bf103513d
--- /dev/null
+++ b/net/openradius/files/patch-common-misc.h
@@ -0,0 +1,11 @@
+--- common/misc.h.orig 2009-07-07 18:15:47.000000000 +0100
++++ common/misc.h 2009-07-07 18:17:01.000000000 +0100
+@@ -90,7 +90,7 @@
+ * PROTOTYPES
+ */
+
+-char *memrchr(char *s, int c, ssize_t len);
++char *memrchr9(char *s, int c, ssize_t len);
+ void hex(char *buf, const char *src, ssize_t len);
+ void hmac_md5(char *out, char *in, META_ORD inl, char *key, META_ORD keyl);
+ void get_random_data(char *p, ssize_t len);