aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2004-08-01 17:42:43 +0800
committerclive <clive@FreeBSD.org>2004-08-01 17:42:43 +0800
commit68c73d1967af97f8448f66d9ecac4e1c2a05c84d (patch)
tree64d2dde6a132eb103ddffdc2cc309a0a06c8fbbe /chinese
parent1aa341cac36be53284f98a50355ebd50ed3b2d4f (diff)
downloadfreebsd-ports-gnome-68c73d1967af97f8448f66d9ecac4e1c2a05c84d.tar.gz
freebsd-ports-gnome-68c73d1967af97f8448f66d9ecac4e1c2a05c84d.tar.zst
freebsd-ports-gnome-68c73d1967af97f8448f66d9ecac4e1c2a05c84d.zip
Post gcc 3.4.2 fixups.
Diffstat (limited to 'chinese')
-rw-r--r--chinese/zhcon/files/patch-src::display::fblinear24.cpp16
-rw-r--r--chinese/zhcon/files/patch-src::display::fblinear8.cpp11
2 files changed, 27 insertions, 0 deletions
diff --git a/chinese/zhcon/files/patch-src::display::fblinear24.cpp b/chinese/zhcon/files/patch-src::display::fblinear24.cpp
new file mode 100644
index 000000000000..abab0e40c044
--- /dev/null
+++ b/chinese/zhcon/files/patch-src::display::fblinear24.cpp
@@ -0,0 +1,16 @@
+--- src/display/fblinear24.cpp~ Sun Aug 1 17:22:19 2004
++++ src/display/fblinear24.cpp Sun Aug 1 17:27:33 2004
+@@ -203,11 +203,11 @@
+ d1 = (-(*cdat >> 3 & 1) & eorx) ^ bgx;
+ d2 = (-(*cdat >> 2 & 1) & eorx) ^ bgx;
+ fb_writel(d1 | (d2<<24), dest32++);
+- fb_writew(d2>>8, ((__u16*)dest32)++);
++ fb_writew(d2>>8, ((__u16*)dest32) + 1);
+ }
+ if (pFont->w & 1) {
+ d3 = (-(*cdat >> 1 & 1) & eorx) ^ bgx;
+- fb_writew(d3, ((__u16*)dest32)++);
++ fb_writew(d3, ((__u16*)dest32) + 1);
+ fb_writeb(d3>>16, (__u8*)dest32);
+ }
+ cdat++;
diff --git a/chinese/zhcon/files/patch-src::display::fblinear8.cpp b/chinese/zhcon/files/patch-src::display::fblinear8.cpp
new file mode 100644
index 000000000000..3cdf72ff7748
--- /dev/null
+++ b/chinese/zhcon/files/patch-src::display::fblinear8.cpp
@@ -0,0 +1,11 @@
+--- src/display/fblinear8.cpp~ Sun Aug 1 17:29:43 2004
++++ src/display/fblinear8.cpp Sun Aug 1 17:39:12 2004
+@@ -102,7 +102,7 @@
+ fb_writel((nibbletab_cfb8[*cdat >> 4] & eorx) ^ bgx, dest32++);
+ }
+ if (pFont->w & 2) {
+- fb_writew((nibbletab_cfb8[*cdat & 0xc] & eorx) ^ bgx, ((__u16*)dest32)++);
++ fb_writew((nibbletab_cfb8[*cdat & 0xc] & eorx) ^ bgx, ((__u16*)dest32) + 1);
+ }
+ if (pFont->w & 1) {
+ fb_writeb((*cdat & 2) ? fg : bg, (__u8*)dest32);