Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37884945
en ru br
ALT Linux repos
S:1.24993-alt1
5.0: 1.220-alt3
4.1: 1.132-alt2
4.0: 1.132-alt2
3.0: 1.082-alt1

Group :: Development/Perl
RPM: perl-Gtk2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-Gtk2-1.224-alt-gtk_version.patch
Download


--- Gtk2-1.224/xs/Gtk2.xs-	2011-08-02 23:21:20.000000000 +0400
+++ Gtk2-1.224/xs/Gtk2.xs	2011-10-09 09:35:23.245142639 +0400
@@ -125,14 +125,7 @@ BOOT:
 
 	/* make sure that we're running/linked against a version at least as 
 	 * new as we built against, otherwise bad things can happen. */
-	if ((((int)gtk_major_version) < GTK_MAJOR_VERSION)
-	    ||
-	    (gtk_major_version == GTK_MAJOR_VERSION && 
-	     ((int)gtk_minor_version) < GTK_MINOR_VERSION)
-	    ||
-	    (gtk_major_version == GTK_MAJOR_VERSION && 
-	     gtk_minor_version == GTK_MINOR_VERSION &&
-	     ((int)gtk_micro_version) < GTK_MICRO_VERSION))
+	if (0)
 		warn ("*** This build of Gtk2 was compiled with gtk+ %d.%d.%d,"
 		      " but is currently running with %d.%d.%d, which is too"
 		      " old.  We'll continue, but expect problems!\n",
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin