From owner-svn-ports-all@freebsd.org Sat Oct 20 22:07:06 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBB7FFF80D2; Sat, 20 Oct 2018 22:07:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81AE08CBF0; Sat, 20 Oct 2018 22:07:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7CB8524156; Sat, 20 Oct 2018 22:07:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9KM76pk056682; Sat, 20 Oct 2018 22:07:06 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9KM76UE056681; Sat, 20 Oct 2018 22:07:06 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810202207.w9KM76UE056681@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 20 Oct 2018 22:07:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482630 - in head/misc/valentina: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc/valentina: . files X-SVN-Commit-Revision: 482630 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 22:07:07 -0000 Author: yuri Date: Sat Oct 20 22:07:05 2018 New Revision: 482630 URL: https://svnweb.freebsd.org/changeset/ports/482630 Log: misc/valentina: fix build with powerpc* PR: 232485 Submitted by: Piotr Kubaj Added: head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h (contents, props changed) Modified: head/misc/valentina/Makefile Modified: head/misc/valentina/Makefile ============================================================================== --- head/misc/valentina/Makefile Sat Oct 20 21:59:00 2018 (r482629) +++ head/misc/valentina/Makefile Sat Oct 20 22:07:05 2018 (r482630) @@ -13,7 +13,7 @@ COMMENT= Sewing pattern drafting tool aiming to remake LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE_GPL.txt -USES= desktop-file-utils gmake qmake qt:5 +USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 USE_QT= concurrent core gui network opengl printsupport svg widgets xml xmlpatterns buildtools_build linguisttools_build testlib_build USE_GL= gl USE_LDCONFIG= yes @@ -33,5 +33,6 @@ WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_CO post-patch: @${REINPLACE_CMD} 's|DEFAULT_PREFIX = /usr|DEFAULT_PREFIX = ${PREFIX}|' ${WRKSRC}/common.pri @${REINPLACE_CMD} 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/src/app/valentina/valentina.pro ${WRKSRC}/src/app/tape/tape.pro + @${REINPLACE_CMD} 's|g++ -dumpversion|g++${GCC_DEFAULT} -dumpversion|' ${WRKSRC}/Valentina.pro .include Added: head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h Sat Oct 20 22:07:05 2018 (r482630) @@ -0,0 +1,16 @@ +--- src/libs/vmisc/debugbreak.h.orig 2018-10-20 17:36:33 UTC ++++ src/libs/vmisc/debugbreak.h +@@ -100,6 +100,13 @@ __inline__ static void trap_instruction(void) + * 'aarch64_default_breakpoint' */ + __asm__ volatile(".inst 0xd4200000"); + } ++#elif defined(__powerpc__) ++enum { HAVE_TRAP_INSTRUCTION = 1 }; ++__attribute__((gnu_inline, always_inline)) ++__inline__ static void trap_instruction(void) ++{ ++ __asm__ volatile(".4byte 0x7d821008"); ++} + #else + enum { HAVE_TRAP_INSTRUCTION = 0 }; + #endif