git: Bump revision after enabling pcre
[termux-packages] / packages / mathomatic / fix-tmp_file.patch
1 diff -uNr mathomatic-16.0.5/am.h mathomatic-16.0.5.mod/am.h
2 --- mathomatic-16.0.5/am.h 2012-08-19 17:42:52.000000000 +0300
3 +++ mathomatic-16.0.5.mod/am.h 2017-09-14 14:36:31.112860259 +0300
4 @@ -57,7 +57,7 @@
5 #define TEXT_ROWS STANDARD_SCREEN_ROWS /* number of lines per page in the symbolic math library */
6 #define TEXT_COLUMNS STANDARD_SCREEN_COLUMNS /* default number of columns per page in the symbolic math library */
7
8 -#define TMP_FILE "/tmp/mathomatic.XXXXXX" /* temporary file template for mkstemp(3) */
9 +#define TMP_FILE "@TERMUX_PREFIX@/tmp/mathomatic.XXXXXX" /* temporary file template for mkstemp(3) */
10
11 #define PROMPT_STR "-> " /* user interface main prompt strings, preceded by the current equation number */
12 #define HTML_PROMPT_STR "−> " /* main prompt in HTML output mode, should be same number of columns as above */