openbsd-ports/textproc/gtkaml/patches/patch-src_gtkamlc_h

16 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_gtkamlc_h,v 1.5 2009/11/14 11:41:04 ajacoutot Exp $
Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
--- src/gtkamlc.h.orig Tue Nov 10 00:09:13 2009
+++ src/gtkamlc.h Sat Nov 14 12:37:38 2009
@@ -680,7 +680,7 @@ GtkamlImplicitsParameter* gtkaml_implicits_parameter_n
GtkamlImplicitsParameter* gtkaml_implicits_parameter_construct (GType object_type);
GType gtkaml_key_file_wrapper_get_type (void);
gboolean gtkaml_key_file_wrapper_has_key (GtkamlKeyFileWrapper* self, const char* group, const char* key);
-char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, int* result_length1);
+char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, gsize* result_length1);
GtkamlKeyFileWrapper* gtkaml_key_file_wrapper_new (void);
GtkamlKeyFileWrapper* gtkaml_key_file_wrapper_construct (GType object_type);
ValaReadOnlyList* gtkaml_implicits_store_get_implicits_dirs (GtkamlImplicitsStore* self);