Index: head/misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h =================================================================== --- head/misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h (revision 566568) +++ head/misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h (nonexistent) @@ -1,10 +0,0 @@ ---- src/libs/vpatterndb/vpassmark.h.orig 2020-07-11 05:51:16 UTC -+++ src/libs/vpatterndb/vpassmark.h -@@ -30,6 +30,7 @@ - - #include - #include -+#include - - #include "vpiece.h" - #include "../vgeometry/vgeometrydef.h" Property changes on: head/misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h =================================================================== --- head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h (revision 566568) +++ head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h (revision 566569) @@ -1,16 +1,18 @@ +- bug#232485: fix build with powerpc* + --- src/libs/vmisc/debugbreak.h.orig 2020-07-11 05:51:16 UTC +++ src/libs/vmisc/debugbreak.h @@ -119,6 +119,13 @@ __inline__ static void trap_instruction(void) * The workaround is the same as ARM Thumb mode: use debugbreak-gdb.py * or manually jump over the instruction. */ } +#elif defined(__powerpc__) +enum { HAVE_TRAP_INSTRUCTION = 1 }; +__attribute__((gnu_inline, always_inline)) +__inline__ static void trap_instruction(void) +{ + __asm__ volatile(".4byte 0x7d821008"); +} #else #define DEBUG_BREAK_IMPL DEBUG_BREAK_USE_SIGTRAP #endif