Update Upstream lines for Gargoyle things
[gentoo-interactive-fiction.git] / dev-games / cheapglk / files / cheapglk-0.9.0-garglk-extensions.patch
blob022b233c7b465f31acb82483a51b3a12c7cf3f24
1 Source: dleverton
2 Upstream: Gentoo-specific hack
3 Reason: allows Glk apps to use Gargoyle extensions without breaking
4 compatibility with other Glk libraries
6 --- cheapglk/cgmisc.c~ 2004-11-28 05:08:27.000000000 +0000
7 +++ cheapglk/cgmisc.c 2007-12-18 15:37:34.000000000 +0000
8 @@ -214,6 +214,22 @@
9 /* Don't make me laugh. */
12 +void garglk_set_program_name(const char *name)
16 +void garglk_set_program_info(const char *info)
20 +void garglk_set_story_name(const char *name)
24 +void garglk_set_config(const char *name)
28 void gidispatch_set_object_registry(
29 gidispatch_rock_t (*regi)(void *obj, glui32 objclass),
30 void (*unregi)(void *obj, glui32 objclass, gidispatch_rock_t objrock))
31 --- cheapglk/cgfref.c~ 2004-11-24 03:14:08.000000000 +0000
32 +++ cheapglk/cgfref.c 2007-12-18 15:37:46.000000000 +0000
33 @@ -305,6 +305,11 @@
34 unlink(fref->filename);
37 +char* garglk_fileref_get_name(fileref_t *fref)
39 + return fref->filename;
42 /* This should only be called from startup code. */
43 void glkunix_set_base_file(char *filename)