FreeBSD Bugzilla – Attachment 198414 Details for
Bug 232485
misc/valentina: fix build with powerpc*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
valentina.patch (text/plain), 1.96 KB, created by
Piotr Kubaj
on 2018-10-20 19:13:03 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-10-20 19:13:03 UTC
Size:
1.96 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 482463) >+++ Makefile (working copy) >@@ -13,7 +13,7 @@ > 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 @@ > 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 <bsd.port.mk> >Index: files/patch-src_libs_vmisc_debugbreak.h >=================================================================== >--- files/patch-src_libs_vmisc_debugbreak.h (nonexistent) >+++ files/patch-src_libs_vmisc_debugbreak.h (working copy) >@@ -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 > >Property changes on: files/patch-src_libs_vmisc_debugbreak.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232485
: 198414