Ar an dara lá is fiche de mí na Samhain, scríobh robert delius royar:
I get a compilation failure below:
[...]
font-mgr.c: In function 'Ffc_pattern_get':
font-mgr.c:443: error: incompatible type for argument 1 of '__gmpz_get_si'
make[1]: *** [font-mgr.o] Error 1
make: *** [src] Error 2
Found the error and fixed it, thank you Robert!
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1290621297 0
# Node ID 17c381a2f377655bd241d72fda5fca656fa67104
# Parent c096d8051f893c2a283f1c7f306a8340e470ed45
Fix my last change when both --with-union-type and --with-xft, thanks Robert.
2010-11-24 Aidan Kehoe <kehoea(a)parhasard.net>
* font-mgr.c (Ffc_pattern_get): Fix my last change when both
--with-union-type and --with-xft are specified, thank you Robert
Delius Royar!
diff -r c096d8051f89 -r 17c381a2f377 src/ChangeLog
--- a/src/ChangeLog Sat Nov 20 16:49:11 2010 +0000
+++ b/src/ChangeLog Wed Nov 24 17:54:57 2010 +0000
@@ -1,3 +1,9 @@
+2010-11-24 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * font-mgr.c (Ffc_pattern_get): Fix my last change when both
+ --with-union-type and --with-xft are specified, thank you Robert
+ Delius Royar!
+
2010-11-20 Aidan Kehoe <kehoea(a)parhasard.net>
* abbrev.c (Fexpand_abbrev):
diff -r c096d8051f89 -r 17c381a2f377 src/font-mgr.c
--- a/src/font-mgr.c Sat Nov 20 16:49:11 2010 +0000
+++ b/src/font-mgr.c Wed Nov 24 17:54:57 2010 +0000
@@ -440,7 +440,7 @@
{
#ifdef HAVE_BIGNUM
check_integer_range (id, Qzero, make_integer (INT_MAX));
- int_id = BIGNUMP (id) ? bignum_to_int (id) : XINT (id);
+ int_id = BIGNUMP (id) ? bignum_to_int (XBIGNUM_DATA (id)) : XINT (id);
#else
check_integer_range (id, Qzero, make_integer (EMACS_INT_MAX));
int_id = XINT (id);
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches