From ca0133d56b4de811295b0b5a2f4dc63648723cd9 Mon Sep 17 00:00:00 2001
From: Mason Hock <mason@masonhock.com>
Date: Fri, 6 Dec 2019 11:05:13 -0800
Subject: [PATCH] fix i386 build error

---
 helpers/make-mplayer | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helpers/make-mplayer b/helpers/make-mplayer
index 3d8e8eb5d..fd036cae2 100644
--- a/helpers/make-mplayer
+++ b/helpers/make-mplayer
@@ -32,6 +32,9 @@ sed -i 's/\(--disable-arts \\\)/\1\n\t--disable-qtx \\/' debian/rules
 sed -i 's/\(--disable-arts \\\)/\1\n\t--disable-xanim \\/' debian/rules 
 sed -i 's/\(--disable-arts \\\)/\1\n\t--disable-real \\/' debian/rules 
 
+# fix https://trac.mplayerhq.hu/ticket/2343
+sed -i 's/.*\#include.*/\#define _GNU_SOURCE\n\n&/' cpudetect.c
+
 changelog "Removed references to non-free stuff"
 
 compile
-- 
GitLab