rpms/yadex/devel yadex-1.7.0.bareelif.patch, NONE, 1.1 yadex.spec, 1.10, 1.11

Caolan McNamara caolanm at fedoraproject.org
Sat Feb 28 12:53:16 UTC 2009


Author: caolanm

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

Modified Files:
	yadex.spec 
Added Files:
	yadex-1.7.0.bareelif.patch 
Log Message:
fix base elif

yadex-1.7.0.bareelif.patch:

--- NEW FILE yadex-1.7.0.bareelif.patch ---
diff -ru yadex-1.7.0.orig/src/gfx.cc yadex-1.7.0/src/gfx.cc
--- yadex-1.7.0.orig/src/gfx.cc	2009-02-28 12:44:44.000000000 +0000
+++ yadex-1.7.0/src/gfx.cc	2009-02-28 12:45:10.000000000 +0000
@@ -310,7 +310,7 @@
     win_vis_id    = vis_info->visualid;
 #if defined _cplusplus || defined __cplusplus
     win_vis_class = vis_info->c_class;
-#elif
+#else
     win_vis_class = vis_info->class;
 #endif
     win_ncolours  = vis_info->colormap_size;


Index: yadex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yadex/devel/yadex.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- yadex.spec	25 Feb 2009 18:01:53 -0000	1.10
+++ yadex.spec	28 Feb 2009 12:52:45 -0000	1.11
@@ -1,6 +1,6 @@
 Name:           yadex
 Version:        1.7.0
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Doom level editor
 
 Group:          Amusements/Graphics
@@ -15,6 +15,7 @@
 Patch3:         yadex-1.7.0-destdir.patch
 Patch4:         yadex-1.7.0-datadir.patch
 Patch5:         yadex-1.7.0-gcc41.patch
+Patch6:         yadex-1.7.0.bareelif.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -43,6 +44,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 
 %build
@@ -99,6 +101,9 @@
 
 
 %changelog
+* Sat Feb 28 2009 Caolán McNamara - 1.7.0-12
+- fix bare #elif
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list