openbsd-ports/textproc/gtkaml/patches/patch-src_gtkamlc_h
2010-05-16 08:09:05 +00:00

16 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_gtkamlc_h,v 1.6 2010/05/16 08:09:05 ajacoutot Exp $
Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
--- src/gtkamlc.h.orig Fri May 14 13:47:03 2010
+++ src/gtkamlc.h Sun May 16 09:53:28 2010
@@ -681,7 +681,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);
ValaList* gtkaml_implicits_store_get_implicits_dirs (GtkamlImplicitsStore* self);