# HG changeset patch # User Michael Schloh von Bennewitz # Date 1343716682 -7200 # Node ID 45a2e4f038b14a16cd2541e148c986c7cf8bc9c5 # Parent 0ae439deb6c238139c94323fc257a55c4ee3d775 Correct istream.h:23:8: error: redefinition of 'struct file_handle'. diff -r 0ae439deb6c2 -r 45a2e4f038b1 w3m/w3m.spec --- a/w3m/w3m.spec Tue Jul 31 08:36:21 2012 +0200 +++ b/w3m/w3m.spec Tue Jul 31 08:38:02 2012 +0200 @@ -32,7 +32,7 @@ Group: Web License: BSD Version: 0.5.3 -Release: 20110115 +Release: 20120800 # list of sources Source0: http://switch.dl.sourceforge.net/sourceforge/w3m/w3m-%{version}.tar.gz @@ -61,6 +61,9 @@ %prep %setup -q %patch -p0 + %{l_shtool} subst \ + -e 's;file_handle;file_handle_loc;g' \ + istream.{c,h} %build CC="%{l_cc}" \