From 2caab71aa13f2e16e70bea8ce2df58ea1ff8828e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Feb 07 2011 13:46:07 +0000 Subject: gcc46 fix(es) --- diff --git a/lyx-2.0.0beta3-gcc46.patch b/lyx-2.0.0beta3-gcc46.patch new file mode 100644 index 0000000..eb25bf7 --- /dev/null +++ b/lyx-2.0.0beta3-gcc46.patch @@ -0,0 +1,11 @@ +diff -up lyx-2.0.0beta3/src/support/unicode.h.gcc46 lyx-2.0.0beta3/src/support/unicode.h +--- lyx-2.0.0beta3/src/support/unicode.h.gcc46 2010-03-11 00:50:43.000000000 -0600 ++++ lyx-2.0.0beta3/src/support/unicode.h 2011-02-07 07:45:09.693198552 -0600 +@@ -15,6 +15,7 @@ + + #include "support/strfwd.h" + ++#include + #include + + diff --git a/lyx.spec b/lyx.spec index 879d597..cbc1de5 100644 --- a/lyx.spec +++ b/lyx.spec @@ -30,6 +30,8 @@ Source10: lyx.desktop ## upstreamable patches # submitted, but upstream rejected it. we currently agree to disagree. Patch50: lyx-2.0.0beta3-xdg_open.patch +# gcc46 fix(es) (stddef includes mostly) +Patch51: lyx-2.0.0beta3-gcc46.patch %if 0%{?autotools} BuildRequires: automake libtool @@ -141,6 +143,7 @@ A collection of Math symbol fonts for %{name}. %setup -q -n %{name}-%{version}%{?pre} %patch50 -p1 -b .xdg_open +%patch51 -p1 -b .gcc46 %build