From 09c1cab880d3f7ac6c94bea0fa2f21cfa034cef2 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Fri, 9 Nov 2012 07:43:49 -0600 Subject: [PATCH] Fix FTBFS. --- gource-0.38-boost.patch | 11 +++++++++++ gource.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 gource-0.38-boost.patch diff --git a/gource-0.38-boost.patch b/gource-0.38-boost.patch new file mode 100644 index 0000000..07244b3 --- /dev/null +++ b/gource-0.38-boost.patch @@ -0,0 +1,11 @@ +--- src/logmill.cpp~ 2012-04-19 20:52:29.000000000 -0500 ++++ src/logmill.cpp 2012-11-09 07:35:18.407176102 -0600 +@@ -176,7 +176,7 @@ + logfile = repo_path.string(); + } + } +- } catch(boost::filesystem3::filesystem_error& error) { ++ } catch(boost::filesystem::filesystem_error& error) { + } + } + diff --git a/gource.spec b/gource.spec index 5f4b1bb..434e2bc 100644 --- a/gource.spec +++ b/gource.spec @@ -6,6 +6,7 @@ URL: http://gource.googlecode.com/ Source: https://gource.googlecode.com/files/%{name}-%{version}.tar.gz Patch1: gource-build-fix.patch +Patch2: gource-0.38-boost.patch License: GPLv3+ Group: Applications/Productivity @@ -21,6 +22,7 @@ BuildRequires: libGLU-devel BuildRequires: glew-devel BuildRequires: freetype-devel BuildRequires: glm-devel +BuildRequires: boost-devel Requires: gnu-free-sans-fonts @@ -35,6 +37,7 @@ files and directories. %prep %setup -q #% patch1 -p1 +%patch2 -p0 sed -i.cp -e 's|cp |cp -p |' Makefile.in %build