pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48252: x11/rxvt-unicode invalid assembly macro for sparc



The following reply was made to PR pkg/48252; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48252: x11/rxvt-unicode invalid assembly macro for sparc
Date: Sat, 23 May 2020 15:19:25 -0500 (CDT)

 The following commit to "devel/libev":
 
   http://mail-index.netbsd.org/pkgsrc-changes/2020/05/23/msg214389.html
 
 (or a version of it) also applies to "x11/rxvt-unicode", eliminating
 the need for my local patches.
 
 Tested on NetBSD/sparc-9.0_STABLE.
 
 +Index: x11/rxvt-unicode/Makefile
 +===================================================================
 +RCS file: /cvsroot/pkgsrc/x11/rxvt-unicode/Makefile,v
 +retrieving revision 1.61
 +diff -u -p -r1.61 Makefile
 +--- x11/rxvt-unicode/Makefile	11 Aug 2019 13:25:18 -0000	1.61
 ++++ x11/rxvt-unicode/Makefile	23 May 2020 20:17:58 -0000
 +@@ -25,6 +25,13 @@ INSTALLATION_DIRS+=	share/doc/rxvt-unico
 + 
 + LIBS.SunOS+=	-lnsl -lsocket
 + 
 ++.include "../../mk/bsd.prefs.mk"
 ++
 ++.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
 ++# Prevent libev/ev.c from using v9 memory barrier instructions
 ++CPPFLAGS+=     -D__sparc_v8__=1
 ++.endif
 ++
 + post-install:
 + 	${INSTALL_DATA} ${WRKSRC}/README.FAQ \
 + 		${DESTDIR}${PREFIX}/share/doc/rxvt-unicode
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index