From 59d394e107400da17c512f7f05d5ba41391a312a Mon Sep 17 00:00:00 2001 From: Trond Danielsen Date: Apr 08 2007 08:05:26 +0000 Subject: Adding patch to fix error in sdccman.lyx that makes lyx fail when building documentation. --- diff --git a/sdcc-2.6.0-sdccman.lyx.patch b/sdcc-2.6.0-sdccman.lyx.patch new file mode 100644 index 0000000..200b568 --- /dev/null +++ b/sdcc-2.6.0-sdccman.lyx.patch @@ -0,0 +1,14 @@ +--- sdcc/doc/sdccman.lyx 2006-07-10 23:34:39.000000000 +0200 ++++ sdcc_/doc/sdccman.lyx 2007-04-07 17:21:15.000000000 +0200 +@@ -20209,9 +20209,9 @@ + * by default to STREAM_USER */ + \layout LyX-Code + +- printf (�This is a printf test ++ printf ("This is a printf test + \backslash +-n�); ++n"); + \layout LyX-Code + + } diff --git a/sdcc.spec b/sdcc.spec index 77bc7ea..6b608db 100644 --- a/sdcc.spec +++ b/sdcc.spec @@ -1,6 +1,6 @@ Name: sdcc Version: 2.6.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Small Device C Compiler Group: Applications/Engineering @@ -9,6 +9,7 @@ URL: http://sdcc.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz Source1: README.fedora Patch0: sdcc-2.6.0-configure.diff +Patch1: sdcc-2.6.0-sdccman.lyx.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex @@ -38,7 +39,8 @@ if you want to modify the C library or as reference of how it works. %prep %setup -q -n sdcc -%patch -p1 +%patch0 -p1 +%patch1 -p1 find -name '*.[ch]' -exec chmod -x '{}' \; # Extract %%__os_install_post into os_install_post~ @@ -111,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/lib/*/*.asm %changelog +* Sat Apr 07 2007 Trond Danielsen - 2.6.0-10 +- Added patch to fix a problem with sdccman.lyx that caused lyx to fail. + * Fri Mar 23 2007 Trond Danielsen - 2.6.0-9 - Removed symlinks, added scripts (solves bug #233385).