From 96b6d5777cbbf3850531e864e9abf7c0447432bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
Date: Sat, 14 Oct 2006 21:08:04 +0000
Subject: [PATCH] goom is patched on win32 too

---
 extras/contrib/src/Makefile                      | 4 ++--
 extras/contrib/src/Patches/goom2k4-0-nommx.patch | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 31ea5c8ad4..52aa3f7250 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1121,13 +1121,13 @@ goom: goom$(GOOM2k4_VERSION).tar.gz
 ifdef HAVE_DARWIN_OS
 	patch -p 0 < Patches/goom.patch
 	patch -p 0 < Patches/goom2k4-0-mmx.patch
+else
+	patch -p 0 < Patches/goom2k4-0-nommx.patch
 endif
 ifdef HAVE_WIN32
 	(cd $@; dos2unix configure.in)
 	patch -p 0 <Patches/goom2k4-0-win32.patch
 endif
-ifndef HAVE_DARWIN_OS
-	(cd goom; patch -p 0 <../Patches/goom2k4-0-nommx.patch; cd -)
 endif
 
 .goom2k4: goom
diff --git a/extras/contrib/src/Patches/goom2k4-0-nommx.patch b/extras/contrib/src/Patches/goom2k4-0-nommx.patch
index 169377eaff..af0cd3876f 100644
--- a/extras/contrib/src/Patches/goom2k4-0-nommx.patch
+++ b/extras/contrib/src/Patches/goom2k4-0-nommx.patch
@@ -1,5 +1,5 @@
---- configure.in.orig	2006-07-13 17:23:23.000000000 +0200
-+++ configure.in	2006-07-13 17:23:37.000000000 +0200
+--- goom.orig/configure.in	2005-02-07 14:46:41.000000000 +0100
++++ goom/configure.in	2006-10-14 22:59:48.000000000 +0200
 @@ -58,7 +58,7 @@
  dnl ARCH
  case "$host" in
-- 
2.25.4