diff options
author | JK Wood <joshuakwood@gmail.com> | 2013-01-13 15:38:56 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-01-20 09:03:04 -0500 |
commit | f757ebccbd9750755be813c8a1646540ed929fb1 (patch) | |
tree | e5c3a0152b5508640e6fa6cf0ee49fca2a6c790e /academic/tilem2/patches/tilem-2.0-64bit.patch | |
parent | 23af0556d2e0b2e1484e638f2c03b28024b1962f (diff) |
academic/tilem2: Added (TI-calculator emulator for linux).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/tilem2/patches/tilem-2.0-64bit.patch')
-rw-r--r-- | academic/tilem2/patches/tilem-2.0-64bit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/tilem2/patches/tilem-2.0-64bit.patch b/academic/tilem2/patches/tilem-2.0-64bit.patch new file mode 100644 index 0000000000000..33d56b87bf37a --- /dev/null +++ b/academic/tilem2/patches/tilem-2.0-64bit.patch @@ -0,0 +1,12 @@ +diff -ur tilem-2.0/gui/macro.c tilem-2.0-64bit/gui/macro.c +--- tilem-2.0/gui/macro.c 2011-11-26 21:47:07.000000000 +0100 ++++ tilem-2.0-64bit/gui/macro.c 2012-07-23 22:48:24.000000000 +0200 +@@ -134,7 +134,7 @@ + char * lengthchar = g_new0(char, 4); + int length = strlen(emu->macro->actions[i]->value); + fwrite("file=", 1, 5, fp); +- sprintf(lengthchar, "%04d", strlen(emu->macro->actions[i]->value)); ++ sprintf(lengthchar, "%04zd", strlen(emu->macro->actions[i]->value)); + fwrite(lengthchar, 1, sizeof(int), fp); + fwrite("-", 1, 1, fp); + fwrite(emu->macro->actions[i]->value, 1, length, fp); |