diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-01-16 01:55:48 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-01-16 01:57:23 +0000 |
commit | 2d13526e29e5f2e386621fec6cde9115b5e85413 (patch) | |
tree | 3b7763c65a627c4fde23676b691d420832b2ef0b /community/astyle/fix-ppc64le-build.patch | |
parent | fd86c6fa83e21ee448fce7e70f6fbfbc7a27fdc7 (diff) | |
download | aports-2d13526e29e5f2e386621fec6cde9115b5e85413.tar.bz2 aports-2d13526e29e5f2e386621fec6cde9115b5e85413.tar.xz |
community/astyle: fix ppc64le build
On systems without glibc, you might lack definition of
PATH_MAX. This patch adds the limits.h header to solve this issue.
PS: I will send this patch upstream latter
Diffstat (limited to 'community/astyle/fix-ppc64le-build.patch')
-rw-r--r-- | community/astyle/fix-ppc64le-build.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/astyle/fix-ppc64le-build.patch b/community/astyle/fix-ppc64le-build.patch new file mode 100644 index 0000000000..048dd82c1f --- /dev/null +++ b/community/astyle/fix-ppc64le-build.patch @@ -0,0 +1,10 @@ +--- a/src/astyle_main.cpp ++++ b/src/astyle_main.cpp +@@ -41,6 +41,7 @@ + #include <cstdlib> + #include <fstream> + #include <sstream> ++#include <limits.h> + + // includes for recursive getFileNames() function + #ifdef _WIN32 |