Kaydet (Commit) 76a28511 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix build on ppc

Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
üst 42925ee1
...@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,langtag,\ ...@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,langtag,\
liblangtag/liblangtag-0.4.0-reg2xml-encoding-problem.patch \ liblangtag/liblangtag-0.4.0-reg2xml-encoding-problem.patch \
liblangtag/liblangtag-0.4.0-windows2.patch \ liblangtag/liblangtag-0.4.0-windows2.patch \
liblangtag/liblangtag-0.4.0-msvcprojects.patch \ liblangtag/liblangtag-0.4.0-msvcprojects.patch \
liblangtag/liblangtag-0.4.0-ppc.patch \
)) ))
endif endif
......
--- misc/liblangtag-0.4.0/liblangtag/lt-macros.h
+++ misc/build/liblangtag-0.4.0/liblangtag/lt-macros.h
@@ -203,6 +203,7 @@
LT_STMT_START {__asm__ __volatile__ ("bpt");} LT_STMT_END
#else
+# include <signal.h>
# define LT_BREAKPOINT() \
LT_STMT_START {raise(SIGTRAP);} LT_STMT_END
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment