diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-29 16:02:54 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 7d7ef4b6a3d3becdbf91353f291c1a24750c14f4 (patch) | |
tree | d761a773c16b8f082d7929e61305dee6c27a0bfb /development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch | |
parent | 4cbe56e524e76048be3e343d5724eee65cccd0ae (diff) | |
download | slackbuilds-7d7ef4b6a3d3becdbf91353f291c1a24750c14f4.tar.gz |
development/ucblogo: Fixed build with gcc-5.3.0.
Moved /usr/lib/logo to /usr/share/logo.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch')
-rw-r--r-- | development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch b/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch new file mode 100644 index 0000000000..47e6efb567 --- /dev/null +++ b/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch @@ -0,0 +1,34 @@ +diff -upr ucblogo-6.0.orig/coms.c ucblogo-6.0/coms.c +--- ucblogo-6.0.orig/coms.c 2008-08-23 22:51:14.000000000 +0300 ++++ ucblogo-6.0/coms.c 2015-09-09 19:48:45.375415764 +0300 +@@ -24,10 +24,11 @@ + extern int check_wx_stop(int force_yield); + #endif + ++#include <math.h> ++ + #define WANT_EVAL_REGS 1 + #include "logo.h" + #include "globals.h" +-#include <math.h> + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif +diff -upr ucblogo-6.0.orig/graphics.c ucblogo-6.0/graphics.c +--- ucblogo-6.0.orig/graphics.c 2008-09-03 20:58:13.000000000 +0300 ++++ ucblogo-6.0/graphics.c 2015-09-09 19:49:04.289294029 +0300 +@@ -22,11 +22,12 @@ + #ifdef WIN32 + #include <windows.h> + #endif /* WIN32 */ +- ++ ++#include <math.h> ++ + #define WANT_EVAL_REGS 1 + #include "logo.h" + /* #include "globals.h" has been moved further down */ +-#include <math.h> + + #ifdef HAVE_WX + #include "wxGraphics.h" |