Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Sadly cmake is broken. If it sees this reference and ansidecl is present, it will add a |
| 2 | dependency upon it, even if HAVE_ANSIDEC_H is never set. |
| 3 | |
| 4 | The easiest solution is to remove these lines, otherwise recipes like libzypp can have a |
| 5 | dependency on the ansidecl.h header via cmake. This can lead to odd results if the |
| 6 | header is removed (clean binutils) and then the code is recompiled. |
| 7 | |
| 8 | RP 2012/7/10 |
| 9 | |
| 10 | Upstream-Status: Inappropriate [its really a cmake bug] |
| 11 | |
| 12 | Index: libxml2-2.8.0/include/libxml/xmlversion.h.in |
| 13 | =================================================================== |
| 14 | --- libxml2-2.8.0.orig/include/libxml/xmlversion.h.in 2012-07-10 11:51:52.460750573 +0000 |
| 15 | +++ libxml2-2.8.0/include/libxml/xmlversion.h.in 2012-07-10 11:52:41.436749397 +0000 |
| 16 | @@ -401,9 +401,6 @@ |
| 17 | #endif |
| 18 | |
| 19 | #ifdef __GNUC__ |
| 20 | -#ifdef HAVE_ANSIDECL_H |
| 21 | -#include <ansidecl.h> |
| 22 | -#endif |
| 23 | |
| 24 | /** |
| 25 | * ATTRIBUTE_UNUSED: |