aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2001-09-20 07:54:27 +0800
committerjmz <jmz@FreeBSD.org>2001-09-20 07:54:27 +0800
commit66fa75e5ab0f1710d02e524218ac7a039a324f5c (patch)
tree45ab9bb05bd95f27fb3924b50f37fbcda2155ad6
parent2885e583535c7c4faee6af7ac27aa87a5894b8b3 (diff)
downloadfreebsd-ports-gnome-66fa75e5ab0f1710d02e524218ac7a039a324f5c.tar.gz
freebsd-ports-gnome-66fa75e5ab0f1710d02e524218ac7a039a324f5c.tar.zst
freebsd-ports-gnome-66fa75e5ab0f1710d02e524218ac7a039a324f5c.zip
Staticise an inline in order to avoid a conflict between libXt.a and libXp.a.
PR: ports/30652 Submitted by: bsd
-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));
+