]> git.pld-linux.org Git - packages/genius.git/blame - genius-term_mpfr_fix.patch
- %post shouldn't fail if no rw permission to /usr
[packages/genius.git] / genius-term_mpfr_fix.patch
CommitLineData
8c9b5774 1diff -urN aa/genius-0.7.2/src/genius.c genius-0.7.2/src/genius.c
2--- aa/genius-0.7.2/src/genius.c 2004-12-22 02:44:15.000000000 +0100
3+++ genius-0.7.2/src/genius.c 2005-02-04 19:22:08.764857664 +0100
4@@ -35,18 +35,6 @@
5 #include <stdio.h>
6 #include <locale.h>
7
8-#ifdef USE_NCURSES
9-#ifdef INC_NCURSES
10-#include <ncurses/curses.h>
11-#include <ncurses/term.h>
12-#else
13-#include <curses.h>
14-#include <term.h>
15-#endif
16-#else
17-#include <termcap.h>
18-#endif
19-
20 #include "calc.h"
21 #include "eval.h"
22 #include "util.h"
23@@ -62,6 +50,18 @@
24 #include <readline/readline.h>
25 #include <readline/history.h>
26
27+#ifdef USE_NCURSES
28+#ifdef INC_NCURSES
29+#include <ncurses/curses.h>
30+#include <ncurses/term.h>
31+#else
32+#include <curses.h>
33+#include <term.h>
34+#endif
35+#else
36+#include <termcap.h>
37+#endif
38+
39 /*Globals:*/
40
41 /*calculator state*/
This page took 0.034406 seconds and 4 git commands to generate.