0001-posix-openpt.patch 503 B

12345678910111213141516171819
  1. Suggested workaround to build with recent gcc versions
  2. Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792
  3. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
  4. Index: xapp_luit-1.1.1/sys.c
  5. ===================================================================
  6. --- xapp_luit-1.1.1.orig/sys.c
  7. +++ xapp_luit-1.1.1/sys.c
  8. @@ -20,6 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWAR
  9. THE SOFTWARE.
  10. */
  11. +#define _XOPEN_SOURCE 600
  12. +
  13. #ifdef HAVE_CONFIG_H
  14. # include "config.h"
  15. #endif