summaryrefslogtreecommitdiff
path: root/x11/XFree86-4
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-09-19 23:54:27 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-09-19 23:54:27 +0000
commit933fe67cd2026fd287afc5c9c6d434096a831658 (patch)
tree990cadb09911848ae6fc97e6f9e39158cdd09d9c /x11/XFree86-4
parentBump cpdup rev to 1.03. 1.03 fixes a double-free() in hardlink failure (diff)
Staticise an inline in order to avoid a conflict between libXt.a and libXp.a.
PR: ports/30652 Submitted by: bsd
Notes
Notes: svn path=/head/; revision=47995
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r--x11/XFree86-4/files/patch-k11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/XFree86-4/files/patch-k b/x11/XFree86-4/files/patch-k
new file mode 100644
index 000000000000..9c25165d1c71
--- /dev/null
+++ b/x11/XFree86-4/files/patch-k
@@ -0,0 +1,11 @@
+--- include/Xos_r.h.orig Tue Sep 18 10:46:06 2001
++++ include/Xos_r.h Tue Sep 18 10:46:26 2001
+@@ -249,7 +249,7 @@
+ */
+
+ #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+-__inline__ void _Xpw_copyPasswd(_Xgetpwparams p)
++static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p)
+ {
+ memcpy(&(p).pws, (p).pwp, sizeof(struct passwd));
+