[3dprinter-general] Bug#869644: slic3r-prusa: Fix for the ppc64el FTBFS

Adrian Bunk bunk at debian.org
Tue Jul 25 09:54:50 UTC 2017

Source: slic3r-prusa
Version: 1.36.0+dfsg-1
Severity: important
Tags: patch

A fix for the ppc64el FTBFS is attached.
-------------- next part --------------
Description: Use __linux__ instead of __linux to fix ppc64el FTBFS
 On PowerPC __linux is not defined with -std=c++11
Author: Adrian Bunk <bunk at debian.org>

--- slic3r-prusa-1.36.0+dfsg.orig/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
+++ slic3r-prusa-1.36.0+dfsg/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
@@ -5,9 +5,9 @@
 #include <fstream>
 #include <iostream>
-#ifdef __linux
+#ifdef __linux__
 #include <strings.h>
-#endif /* __linux */
+#endif /* __linux__ */
 #ifdef _MSC_VER 
 #define strcasecmp _stricmp

More information about the 3dprinter-general mailing list