Staticise an inline in order to avoid a conflict between libXt.a and libXp.a.
PR: ports/30652 Submitted by: bsd
This commit is contained in:
parent
40ba400958
commit
933fe67cd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47995
1 changed files with 11 additions and 0 deletions
11
x11/XFree86-4/files/patch-k
Normal file
11
x11/XFree86-4/files/patch-k
Normal file
|
@ -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));
|
||||
|
Loading…
Reference in a new issue