From 2eb2767c209e818150277c38304d7317080a52c6312b3ea603a086eebe903828 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 31 Aug 2010 06:34:12 +0000 Subject: [PATCH] - fixed build failure on factory (vte 0.25.90) using -UVTE_SEAL_ENABLE as CFLAG OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=33 --- lxterminal.changes | 6 ++++++ lxterminal.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lxterminal.changes b/lxterminal.changes index 5e0ac6c..6fb0bfe 100644 --- a/lxterminal.changes +++ b/lxterminal.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 31 06:32:07 UTC 2010 - andrea@opensuse.org + +- fixed build failure on factory (vte 0.25.90) using + -UVTE_SEAL_ENABLE as CFLAG + ------------------------------------------------------------------- Thu Jul 29 08:30:55 UTC 2010 - andrea@opensuse.org diff --git a/lxterminal.spec b/lxterminal.spec index 9078d87..4d3ebcb 100644 --- a/lxterminal.spec +++ b/lxterminal.spec @@ -59,8 +59,11 @@ of the LXDE project %patch3 -p1 %build +%if %suse_version > 1130 +export CFLAGS="$RPM_OPT_FLAGS -UVTE_SEAL_ENABLE" +%else export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" +%endif %configure --enable-man %__make %{?jobs:-j%jobs}