FreeBSD Bugzilla – Attachment 179115 Details for
Bug 216300
x11-drivers/xf86-video-neomagic: call the correct (f)abs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch x11-drivers/xf86-video-neomagic
x11-drivers_xf86-video-neomagic.patch (text/plain), 1.11 KB, created by
Matthew Rezny
on 2017-01-19 22:28:09 UTC
(
hide
)
Description:
patch x11-drivers/xf86-video-neomagic
Filename:
MIME Type:
Creator:
Matthew Rezny
Created:
2017-01-19 22:28:09 UTC
Size:
1.11 KB
patch
obsolete
>Index: x11-drivers/xf86-video-neomagic/files/patch-src_neo__driver.c >=================================================================== >--- x11-drivers/xf86-video-neomagic/files/patch-src_neo__driver.c (nonexistent) >+++ x11-drivers/xf86-video-neomagic/files/patch-src_neo__driver.c (working copy) >@@ -0,0 +1,13 @@ >+# Double in, double out; use fabs >+# >+--- src/neo_driver.c.orig 2016-11-25 03:32:57 UTC >++++ src/neo_driver.c >+@@ -2952,7 +2952,7 @@ neoCalcVCLK(ScrnInfoPtr pScrn, long freq >+ for (n = 0; n <= MAX_N; n++) >+ for (d = 1; d <= MAX_D; d++) { >+ f_out = (n+1.0)/((d+1.0)*(1<<f))*REF_FREQ; >+- f_diff = abs(f_out-f_target); >++ f_diff = fabs(f_out-f_target); >+ if (f_diff < f_best_diff) { >+ f_best_diff = f_diff; >+ n_best = n; > >Property changes on: x11-drivers/xf86-video-neomagic/files/patch-src_neo__driver.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216300
: 179115