rpms/slim/devel slim-1.3.1-remove.patch, NONE, 1.1 slim.spec, 1.13, 1.14

Anders F Björklund afb at fedoraproject.org
Sun Feb 22 10:01:33 UTC 2009


Author: afb

Update of /cvs/pkgs/rpms/slim/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7775

Modified Files:
	slim.spec 
Added Files:
	slim-1.3.1-remove.patch 
Log Message:
fix build with gcc 4.4

slim-1.3.1-remove.patch:

--- NEW FILE slim-1.3.1-remove.patch ---
diff -up slim-1.3.1/switchuser.cpp.orig slim-1.3.1/switchuser.cpp
diff -up slim-1.3.1/switchuser.h.orig slim-1.3.1/switchuser.h
--- slim-1.3.1/switchuser.h.orig	2008-09-26 02:54:15.000000000 +0200
+++ slim-1.3.1/switchuser.h	2009-02-22 10:55:51.000000000 +0100
@@ -13,6 +13,7 @@
 #define _SWITCHUSER_H_
 
 #include <stdlib.h>
+#include <stdio.h> /* remove */
 #include <unistd.h>
 #include <string.h>
 #include <pwd.h>


Index: slim.spec
===================================================================
RCS file: /cvs/pkgs/rpms/slim/devel/slim.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- slim.spec	4 Feb 2009 08:02:33 -0000	1.13
+++ slim.spec	22 Feb 2009 10:01:01 -0000	1.14
@@ -1,6 +1,6 @@
 Name:           slim
 Version:        1.3.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple Login Manager
 
 Group:          User Interface/X
@@ -18,6 +18,7 @@
 Patch1:         slim-1.3.1-usexwd.patch
 Patch2:         slim-1.3.1-fedora.patch
 Patch3:         slim-1.3.1-strtol.patch
+Patch4:         slim-1.3.1-remove.patch
 
 BuildRequires:  libXmu-devel libXft-devel libXrender-devel
 BuildRequires:  libpng-devel libjpeg-devel freetype-devel fontconfig-devel
@@ -47,6 +48,7 @@
 %patch1 -p1
 %patch2 -p1 -b .fedora
 %patch3 -p1 -b .gcc43
+%patch4 -p1 -b .gcc44
 cp -p %{SOURCE3} README.Fedora
 
 %build
@@ -98,6 +100,9 @@
 
 
 %changelog
+* Sun Feb 22 2009 Anders F Bjorklund <afb at users.sourceforge.net> 1.3.1-4
+- Add header for remove(3)
+
 * Wed Feb 04 2009 Anders F Bjorklund <afb at users.sourceforge.net> 1.3.1-3
 - use small "default_blue" background, instead of large compat "default"
 




More information about the scm-commits mailing list