[Bug 577951] Review Request: mingw32-wine-gecko - MinGW Gecko library required for Wine

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 5 05:19:56 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=577951

Stephen Kitt <steve at sk2.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steve at sk2.org

--- Comment #11 from Stephen Kitt <steve at sk2.org> 2010-08-05 01:19:54 EDT ---
Applying the following patch should fix the build (it truncates the last
component of the generated versions):

--- wine-gecko-1.0.0.orig/config/version_win.pl
+++ wine-gecko-1.0.0/config/version_win.pl
@@ -54,8 +54,8 @@ sub daysFromBuildID
     $d || die("Unrecognized buildid string.");

     my $secondstodays = 60 * 60 * 24;
-    return (POSIX::mktime(00, 00, 00, $d, $m - 1, $y - 1900) -
-            POSIX::mktime(00, 00, 00, 01, 00, 100)) / $secondstodays;
+    return int((POSIX::mktime(00, 00, 00, $d, $m - 1, $y - 1900) -
+            POSIX::mktime(00, 00, 00, 01, 00, 100)) / $secondstodays);
 }

 #Creates version resource file

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list