summaryrefslogtreecommitdiff
path: root/source/x/x11/patch/xorg-server
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/patch/xorg-server')
-rw-r--r--source/x/x11/patch/xorg-server/xorg-server.fb.fbpict.c.mod.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/x/x11/patch/xorg-server/xorg-server.fb.fbpict.c.mod.diff b/source/x/x11/patch/xorg-server/xorg-server.fb.fbpict.c.mod.diff
new file mode 100644
index 00000000..f8abdccb
--- /dev/null
+++ b/source/x/x11/patch/xorg-server/xorg-server.fb.fbpict.c.mod.diff
@@ -0,0 +1,11 @@
+--- ./fb/fbpict.c.orig 2010-03-11 22:38:21.000000000 -0600
++++ ./fb/fbpict.c 2010-04-29 14:14:52.000000000 -0500
+@@ -37,7 +37,7 @@
+ #include "mipict.h"
+ #include "fbpict.h"
+
+-#define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-a) % (b))
++#define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-(a)) % (b))
+
+ void
+ fbWalkCompositeRegion (CARD8 op,