rpms/slim/devel slim-1.3.0-strtol.patch,NONE,1.1 slim.spec,1.5,1.6

Anders F Björklund (afb) fedora-extras-commits at redhat.com
Fri Feb 22 14:33:03 UTC 2008


Author: afb

Update of /cvs/pkgs/rpms/slim/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17872

Modified Files:
	slim.spec 
Added Files:
	slim-1.3.0-strtol.patch 
Log Message:
fix building with gcc43

slim-1.3.0-strtol.patch:

--- NEW FILE slim-1.3.0-strtol.patch ---
--- slim-1.3.0/cfg.cpp.orig	2007-07-15 16:09:28.000000000 +0200
+++ slim-1.3.0/cfg.cpp	2008-02-22 15:03:42.000000000 +0100
@@ -11,6 +11,7 @@
 #include <fstream>
 #include <string>
 #include <iostream>
+#include <stdlib.h> /* strtol */
 #include <unistd.h>
 
 #include <sys/types.h>


Index: slim.spec
===================================================================
RCS file: /cvs/pkgs/rpms/slim/devel/slim.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- slim.spec	18 Feb 2008 18:52:56 -0000	1.5
+++ slim.spec	22 Feb 2008 14:32:27 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           slim
 Version:        1.3.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple Login Manager
 
 Group:          User Interface/X
@@ -17,6 +17,7 @@
 Patch0:         slim-1.3.0-make.patch
 Patch1:         slim-1.2.6-usexwd.patch
 Patch2:         slim-1.2.6-fedora.patch
+Patch3:         slim-1.3.0-strtol.patch
 
 BuildRequires:  libXmu-devel libXft-devel libXrender-devel
 BuildRequires:  libpng-devel libjpeg-devel freetype-devel fontconfig-devel
@@ -44,6 +45,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1 -b .fedora
+%patch3 -p1 -b .gcc43
 sed -e 's@/usr/X11R6/bin@%{_bindir}@g' -i.orig slim.conf
 cp -p %{SOURCE3} README.Fedora
 
@@ -96,6 +98,9 @@
 
 
 %changelog
+* Fri Feb 22 2008 Anders F Bjorklund <afb at users.sourceforge.net> 1.3.0-4
+- add header for strtol(3)
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.3.0-3
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list