termux-packages/x11-packages/fltk/fltk-1.3.4_src_Fl_Native_File_Chooser_GTK.cxx.patch
2022-04-18 14:08:05 +05:30

12 lines
441 B
Diff

--- ./src/Fl_Native_File_Chooser_GTK.cxx 2015-12-13 15:56:09.000000000 +0530
+++ ../Fl_Native_File_Chooser_GTK.cxx 2017-04-30 12:20:01.391541825 +0530
@@ -684,7 +684,7 @@
return;
}
- char *pc_dl_error; // used to report errors by the GET_SYM macro...
+ const char *pc_dl_error; // used to report errors by the GET_SYM macro...
// items we need from GLib
GET_SYM(g_free, ptr_glib);
GET_SYM(g_slist_nth_data, ptr_glib);