rpms/bmpx/F-8 bmpx-constcastfix.patch,NONE,1.1 bmpx.spec,1.2,1.3

Alexander Kahl (akahl) fedora-extras-commits at redhat.com
Thu Nov 29 16:50:57 UTC 2007


Author: akahl

Update of /cvs/pkgs/rpms/bmpx/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1839

Modified Files:
	bmpx.spec 
Added Files:
	bmpx-constcastfix.patch 
Log Message:
added patch for gtk_check_version on gtk2-2.2.12

bmpx-constcastfix.patch:

--- NEW FILE bmpx-constcastfix.patch ---
diff -up bmpx-0.40.13/src/sanity.cc.constcastfix bmpx-0.40.13/src/sanity.cc
--- bmpx-0.40.13/src/sanity.cc.constcastfix	2007-10-18 19:17:08.000000000 +0200
+++ bmpx-0.40.13/src/sanity.cc	2007-11-29 16:05:38.000000000 +0100
@@ -72,9 +72,9 @@ C_FUNCTION
 gchar *
 sanity_check_gtk (void)
 {
-  return gtk_check_version (GTK_REQUIRED_MAJOR_VER,
-                            GTK_REQUIRED_MINOR_VER,
-                            GTK_REQUIRED_MICRO_VER);
+  return const_cast<gchar *>(gtk_check_version (GTK_REQUIRED_MAJOR_VER,
+						GTK_REQUIRED_MINOR_VER,
+						GTK_REQUIRED_MICRO_VER));
 }
 
 static gchar *


Index: bmpx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bmpx/F-8/bmpx.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bmpx.spec	29 Nov 2007 14:17:31 -0000	1.2
+++ bmpx.spec	29 Nov 2007 16:50:24 -0000	1.3
@@ -1,12 +1,13 @@
 Summary:	Beep Media Player eXperimental
 Name:		bmpx
 Version:	0.40.13
-Release:	5%{?dist}
+Release:	6%{?dist}
 
 License:	GPLv2
 Group:		Applications/Multimedia
 URL:		http://www.beep-media-player.org/
 Source:		http://files.beep-media-player.org/releases/0.40/%{name}-%{version}.tar.bz2
+Patch0:         bmpx-constcastfix.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gcc-c++
@@ -69,7 +70,7 @@
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .constcastfix
 
 %build
 %configure \
@@ -167,6 +168,9 @@
 
 
 %changelog
+* Thu Nov 29 2007 Alexander Kahl <akahl at iconmobile.com> - 0.40.13-6
+- added patch for gtk_check_version on gtk2-2.2.12
+
 * Thu Nov 29 2007 Alexander Kahl <akahl at iconmobile.com> - 0.40.13-5
 - bump for firefox 2.0.0.10
 




More information about the fedora-extras-commits mailing list