Files
termux-packages/x11-packages/ibus/0001-bcopy.patch
termux-pacman-bot 10e271aef8 addpkg(x11/ibus): 1.5.33
Co-authored-by: Chongyun Lee <licy183@termux.dev>
2025-12-13 03:28:04 +00:00

15 lines
285 B
Diff

--- a/util/IMdkit/FrameMgr.c
+++ b/util/IMdkit/FrameMgr.c
@@ -31,6 +31,11 @@
#include <stdlib.h>
#include "FrameMgr.h"
+#ifdef __ANDROID__
+#include <string.h>
+#define bcopy(src,dest,n) memmove(dest,src,n)
+#endif
+
/* Convenient macro */
#define _UNIT(n) ((int)(n) & 0xFF)