Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | Fix an issue where parseEmbedded is not defined, but is still used. |
| 2 | |
| 3 | Upstream-Status: Submitted [RPM5 maintainer] |
| 4 | |
| 5 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
| 6 | |
| 7 | Index: rpm/rpmio/macro.c |
| 8 | =================================================================== |
| 9 | --- rpm.orig/rpmio/macro.c |
| 10 | +++ rpm/rpmio/macro.c |
| 11 | @@ -1616,8 +1616,6 @@ exit: |
| 12 | * @retval *avp invocation args |
| 13 | * @return script string |
| 14 | */ |
| 15 | -#if defined(WITH_AUGEAS) || defined(WITH_FICL) || defined(WITH_MOZJS) || defined(WITH_JNIEMBED) || defined(WITH_PERLEMBED) || defined(WITH_PYTHONEMBED) || defined(WITH_RUBYEMBED) || defined(WITH_MRUBY_EMBED) || defined(WITH_SQLITE) || defined(WITH_SQUIRREL) || defined(WITH_TCL) |
| 16 | - |
| 17 | static char _FIXME_embedded_interpreter_eval_returned_null[] = |
| 18 | "FIXME: embedded interpreter eval returned null."; |
| 19 | |
| 20 | @@ -1668,7 +1666,6 @@ bingo: |
| 21 | script[nb] = '\0'; |
| 22 | return script; |
| 23 | } |
| 24 | -#endif |
| 25 | |
| 26 | /** |
| 27 | * The main macro recursion loop. |