]> git.pld-linux.org Git - packages/avifile.git/commitdiff
- fixed xft problems during compilation
authoraflinta <aflinta@pld-linux.org>
Wed, 8 Jan 2003 11:43:17 +0000 (11:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avifile-xft.patch -> 1.1

avifile-xft.patch [new file with mode: 0644]

diff --git a/avifile-xft.patch b/avifile-xft.patch
new file mode 100644 (file)
index 0000000..0d71320
--- /dev/null
@@ -0,0 +1,17 @@
+diff -urN avifile0.7-0.7.24.orig/lib/video/renderer.cpp avifile0.7-0.7.24/lib/video/renderer.cpp
+--- avifile0.7-0.7.24.orig/lib/video/renderer.cpp      Tue Jan  7 23:33:55 2003
++++ avifile0.7-0.7.24/lib/video/renderer.cpp   Wed Jan  8 12:30:09 2003
+@@ -1125,11 +1125,11 @@
+           if (slen && xftfont)
+           {
+               XGlyphInfo extents;
+-              XftTextExtents8(dpy, xftfont, sub, slen, &extents);
++              XftTextExtents8(dpy, xftfont, (_Xconst FcChar8*)sub, slen, &extents);
+               int fm_width_sub = extents.xOff;
+               XftDrawString8(xftdraw, xftcolor, xftfont,
+                              (pic_w - fm_width_sub) / 2,
+-                             draw_h, sub, slen);
++                             draw_h, (_Xconst FcChar8*)sub, slen);
+           }
+ #endif /* HAVE_LIBXFT */
+           if (slen && font)
This page took 0.043412 seconds and 4 git commands to generate.