--- /dev/null
+--- lms/daemon/modules/parser/lib/tscript_parser.y~ 2006-07-31 10:32:22.000000000 +0200
++++ lms/daemon/modules/parser/lib/tscript_parser.y 2013-05-17 12:09:12.547241774 +0200
+@@ -30,6 +30,7 @@
+ *****************************************************************************/
+
+ %{
++ #include <stdio.h>
+ #include <stdlib.h>
+ #include "tscript_ast.h"
+
Summary(pl.UTF-8): System Zarządzania Siecią Lokalną
Name: lms
Version: %{lmsver}.%{lmssubver}
-Release: 6
+Release: 7
License: GPL v2
Group: Networking/Utilities
Source0: http://www.lms.org.pl/download/%{lmsver}/%{name}-%{version}.tar.gz
Patch0: %{name}-PLD.patch
Patch1: %{name}-amd64.patch
Patch2: %{name}-smarty.patch
+Patch3: build.patch
URL: http://www.lms.org.pl/
BuildRequires: bison
BuildRequires: flex
%patch1 -p1
%endif
%patch2 -p1
+%patch3 -p1
mkdir smarty-plugins
%{__mv} \