summaryrefslogtreecommitdiff
path: root/package/xorg-server/patches/patch-fb_fb_h
blob: 9118bec68a151a9a234fdea243583409c3c5400d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	Fix for xf86-video-siliconmotion in 16bpp with XAA, see:
	http://groups.google.com/group/loongson-dev/browse_thread/thread/570549e3d7894fef/5f04b3d9370adfd2
--- xorg-server-1.12.2.orig/fb/fb.h	2012-05-29 22:04:19.000000000 +0200
+++ xorg-server-1.12.2/fb/fb.h	2013-04-30 10:33:00.000000000 +0200
@@ -70,7 +70,7 @@
 #define FBPREFIX(x) fb##x
 #define WRITE(ptr, val) (*(ptr) = (val))
 #define READ(ptr) (*(ptr))
-#define MEMCPY_WRAPPED(dst, src, size) memcpy((dst), (src), (size))
+#define MEMCPY_WRAPPED(dst, src, size) memmove((dst), (src), (size))
 #define MEMSET_WRAPPED(dst, val, size) memset((dst), (val), (size))
 
 #endif