rpms/freeciv/devel freeciv-2.0.9-open.patch, NONE, 1.1 freeciv.spec, 1.27, 1.28

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Sun Sep 16 19:40:06 UTC 2007


Author: bpepple

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

Modified Files:
	freeciv.spec 
Added Files:
	freeciv-2.0.9-open.patch 
Log Message:
* Sun Sep 16 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.0.9-4
- Add patch to fix open function build bug.


freeciv-2.0.9-open.patch:

--- NEW FILE freeciv-2.0.9-open.patch ---
diff -ur freeciv-2.0.9.OLD/client/connectdlg_common.c freeciv-2.0.9/client/connectdlg_common.c
--- freeciv-2.0.9.OLD/client/connectdlg_common.c	2007-02-09 21:08:04.000000000 -0500
+++ freeciv-2.0.9/client/connectdlg_common.c	2007-09-16 15:15:44.000000000 -0400
@@ -266,7 +266,7 @@
 
     /* include the port to avoid duplication */
     if (logfile) {
-      fd = open(logfile, O_WRONLY | O_CREAT);
+      fd = open(logfile, O_WRONLY | O_CREAT,0644);
 
       if (fd != 1) {
         dup2(fd, 1);


Index: freeciv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freeciv/devel/freeciv.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- freeciv.spec	21 Aug 2007 21:50:36 -0000	1.27
+++ freeciv.spec	16 Sep 2007 19:39:34 -0000	1.28
@@ -1,6 +1,6 @@
 Name:           freeciv
 Version:        2.0.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The Freeciv multi-player strategy game
 
 Group:          Amusements/Games
@@ -12,6 +12,7 @@
 Source3:	%{name}.xpm
 Patch1:		%{name}-desktop.patch
 Patch2:		%{name}-aifill.patch
+Patch3:		%{name}-%{version}-open.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel
@@ -37,6 +38,7 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1 -b .desktop
 %patch2 -p0 -b .aifill
+%patch3 -p1 -b .open
 
 
 %build
@@ -95,6 +97,9 @@
 
 
 %changelog
+* Sun Sep 16 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.0.9-4
+- Add patch to fix open function build bug.
+
 * Tue Aug 21 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.0.9-3
 - Rebuild.
 




More information about the fedora-extras-commits mailing list