From b18fd9529030ce71756926c205e7d00db5b868fd Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Dec 04 2016 20:29:46 +0000 Subject: Fix gcc error (missing include) --- diff --git a/pcsxr-1.9.94-missinginclude.patch b/pcsxr-1.9.94-missinginclude.patch new file mode 100644 index 0000000..0bebc8a --- /dev/null +++ b/pcsxr-1.9.94-missinginclude.patch @@ -0,0 +1,10 @@ +--- a/gui/GtkGui.c ++++ b/gui/GtkGui.c +@@ -33,6 +33,7 @@ + + #include "../libpcsxcore/plugins.h" + #include "../libpcsxcore/cheat.h" ++#include "../libpcsxcore/cdrom.h" + + #include "MemcardDlg.h" + #include "ConfDlg.h" diff --git a/pcsxr.spec b/pcsxr.spec index 1b30626..91ceb2b 100644 --- a/pcsxr.spec +++ b/pcsxr.spec @@ -16,6 +16,9 @@ Url: http://pcsxr.codeplex.com/ Source: https://pcsxr.codeplex.com/downloads/get/756488#/%{name}-%{svnversion}.zip #Patch for appdata Patch0: %{name}-appdata.patch +#Missing include, bug filed upstream: +#https://pcsxr.codeplex.com/workitem/12408 +Patch1: %{name}-%{version}-missinginclude.patch BuildRequires: SDL2-devel BuildRequires: gtk3-devel