003-libint-stub.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --- elfutils-0.160/libelf/libelfP.h.old 2014-11-06 01:47:55.420116984 -0200
  2. +++ elfutils-0.160/libelf/libelfP.h 2014-11-06 01:48:33.368116980 -0200
  3. @@ -43,6 +43,9 @@
  4. #include <string.h>
  5. +#ifdef _ /* fix libintl-stub */
  6. +#undef _
  7. +#endif
  8. /* gettext helper macros. */
  9. #define _(Str) dgettext ("elfutils", Str)
  10. --- elfutils-0.160/libdw/libdwP.h.old 2014-11-06 02:27:12.628116703 -0200
  11. +++ elfutils-0.160/libdw/libdwP.h 2014-11-06 02:27:39.816116700 -0200
  12. @@ -36,7 +36,9 @@
  13. #include <libdw.h>
  14. #include <dwarf.h>
  15. -
  16. +#ifdef _ /* fix libintl-stub */
  17. +#undef _
  18. +#endif
  19. /* gettext helper macros. */
  20. #define _(Str) dgettext ("elfutils", Str)
  21. --- elfutils-0.160/libdwfl/libdwflP.h.old 2014-11-06 02:31:20.112116673 -0200
  22. +++ elfutils-0.160/libdwfl/libdwflP.h 2014-11-06 02:33:00.548116661 -0200
  23. @@ -46,6 +46,9 @@
  24. typedef struct Dwfl_Process Dwfl_Process;
  25. +#ifdef _ /* fix libintl-stub */
  26. +#undef _
  27. +#endif
  28. /* gettext helper macros. */
  29. #define _(Str) dgettext ("elfutils", Str)
  30. --- elfutils-0.160/libasm/libasmP.h.old 2014-11-06 02:31:32.064116672 -0200
  31. +++ elfutils-0.160/libasm/libasmP.h 2014-11-06 02:33:08.656116660 -0200
  32. @@ -33,6 +33,9 @@
  33. #include <libasm.h>
  34. +#ifdef _ /* fix libintl-stub */
  35. +#undef _
  36. +#endif
  37. /* gettext helper macros. */
  38. #define _(Str) dgettext ("elfutils", Str)