summaryrefslogtreecommitdiff
path: root/dev-scheme/scm/files/scm-5.6.4-ncurses.patch
blob: 7d9ec878d2686d45ef730642c3caab5d516e92ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/557322
This is only way to make this compile with C99 and up:
Force cast one opaque pointer type to another.
--- a/crs.c
+++ b/crs.c
@@ -69,8 +69,8 @@
   bwaddch,
   bwaddstr,
   bwwrite,
-  wrefresh,
-  wgetch,
+  (int (*)(FILE *))wrefresh,
+  (int (*)(FILE *))wgetch,
   freewindow};
 
 SCM mkwindow(win)