svn commit: r326121 - in head/misc/magicpoint: . files
Dirk Meyer
dinoex at FreeBSD.org
Tue Sep 3 05:00:33 UTC 2013
Author: dinoex
Date: Tue Sep 3 05:00:32 2013
New Revision: 326121
URL: http://svnweb.freebsd.org/changeset/ports/326121
Log:
- fix segfault on 64bit with option XFT
Added:
head/misc/magicpoint/files/patch-draw.c (contents, props changed)
Modified:
head/misc/magicpoint/Makefile
Modified: head/misc/magicpoint/Makefile
==============================================================================
--- head/misc/magicpoint/Makefile Tue Sep 3 04:41:30 2013 (r326120)
+++ head/misc/magicpoint/Makefile Tue Sep 3 05:00:32 2013 (r326121)
@@ -3,7 +3,7 @@
PORTNAME= magicpoint
PORTVERSION= 1.13a
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES?= misc
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
Added: head/misc/magicpoint/files/patch-draw.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/magicpoint/files/patch-draw.c Tue Sep 3 05:00:32 2013 (r326121)
@@ -0,0 +1,17 @@
+--- draw.c.orig 2008-01-24 16:43:17.000000000 +0100
++++ draw.c 2013-09-03 06:48:44.000000000 +0200
+@@ -5471,12 +5471,12 @@
+ XFT_FAMILY, XftTypeString, font,
+ XFT_ENCODING, XftTypeString, registry,
+ XFT_STYLE, XftTypeString, style,
+- XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
++ XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, NULL);
+ } else {
+ xftfont = XftFontOpen(display, screen,
+ XFT_FAMILY, XftTypeString, font,
+ XFT_ENCODING, XftTypeString, registry,
+- XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
++ XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, NULL);
+ }
+ if (xftfont == 0) {
+ free(xfont);
More information about the svn-ports-head
mailing list