diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-05-09 16:48:19 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-05-09 16:48:19 +0000 |
commit | 027a533f1145e53c366f489ebfcf4e41c35d5717 (patch) | |
tree | 7ee874483cba85db980b586a5ab05a4a223390c6 /audio/aylet/files/patch-ui.c | |
parent | New port: databases/mongodb34-rocks. (diff) |
Update GTK interface from GTK 1.2 to GTK 2.0
Obtained from: gentoo portage
Notes
Notes:
svn path=/head/; revision=440505
Diffstat (limited to 'audio/aylet/files/patch-ui.c')
-rw-r--r-- | audio/aylet/files/patch-ui.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/aylet/files/patch-ui.c b/audio/aylet/files/patch-ui.c new file mode 100644 index 000000000000..22fc3b533b3d --- /dev/null +++ b/audio/aylet/files/patch-ui.c @@ -0,0 +1,23 @@ +--- ui.c.orig 2003-11-27 19:42:47 UTC ++++ ui.c +@@ -5,7 +5,9 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> ++#include <stdlib.h> + #include <sys/types.h> + #include <signal.h> + #include <curses.h> +@@ -188,8 +190,8 @@ if(need_update) + { + need_update=0; + draw_frame(); +- draw_status(ay_filenames[ay_file],aydata.miscstr,aydata.authorstr, +- ay_track+1,aydata.tracks[ay_track].namestr); ++ draw_status(ay_filenames[ay_file],(char *)aydata.miscstr, (char *)aydata.authorstr, ++ ay_track+1, (char *)aydata.tracks[ay_track].namestr); + } + + /* update time display */ |