View | Details | Raw Unified | Return to bug 232485
Collapse All | Expand All

(-)Makefile (-1 / +2 lines)
Lines 13-19 Link Here
13
LICENSE=	GPLv3
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/LICENSE_GPL.txt
14
LICENSE_FILE=	${WRKSRC}/LICENSE_GPL.txt
15
15
16
USES=		desktop-file-utils gmake qmake qt:5
16
USES=		compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5
17
USE_QT=		concurrent core gui network opengl printsupport svg widgets xml xmlpatterns buildtools_build linguisttools_build testlib_build
17
USE_QT=		concurrent core gui network opengl printsupport svg widgets xml xmlpatterns buildtools_build linguisttools_build testlib_build
18
USE_GL=		gl
18
USE_GL=		gl
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
Lines 33-37 Link Here
33
post-patch:
33
post-patch:
34
	@${REINPLACE_CMD} 's|DEFAULT_PREFIX = /usr|DEFAULT_PREFIX = ${PREFIX}|' ${WRKSRC}/common.pri
34
	@${REINPLACE_CMD} 's|DEFAULT_PREFIX = /usr|DEFAULT_PREFIX = ${PREFIX}|' ${WRKSRC}/common.pri
35
	@${REINPLACE_CMD} 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/src/app/valentina/valentina.pro ${WRKSRC}/src/app/tape/tape.pro
35
	@${REINPLACE_CMD} 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/src/app/valentina/valentina.pro ${WRKSRC}/src/app/tape/tape.pro
36
	@${REINPLACE_CMD} 's|g++ -dumpversion|g++${GCC_DEFAULT} -dumpversion|' ${WRKSRC}/Valentina.pro
36
37
37
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)files/patch-src_libs_vmisc_debugbreak.h (+16 lines)
Line 0 Link Here
1
--- src/libs/vmisc/debugbreak.h.orig	2018-10-20 17:36:33 UTC
2
+++ src/libs/vmisc/debugbreak.h
3
@@ -100,6 +100,13 @@ __inline__ static void trap_instruction(void)
4
      * 'aarch64_default_breakpoint' */
5
     __asm__ volatile(".inst 0xd4200000");
6
 }
7
+#elif defined(__powerpc__)
8
+enum { HAVE_TRAP_INSTRUCTION = 1 };
9
+__attribute__((gnu_inline, always_inline))
10
+__inline__ static void trap_instruction(void)
11
+{
12
+    __asm__ volatile(".4byte 0x7d821008");
13
+}
14
 #else
15
 enum { HAVE_TRAP_INSTRUCTION = 0 };
16
 #endif

Return to bug 232485