FreeBSD Bugzilla – Attachment 194325 Details for
Bug 224731
x11/xscreensaver: build fails without XFT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build without XFT
ports.x11.xscreensaver.pr224731.diff (text/plain), 1.98 KB, created by
Niclas Zeising
on 2018-06-17 09:06:06 UTC
(
hide
)
Description:
Fix build without XFT
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2018-06-17 09:06:06 UTC
Size:
1.98 KB
patch
obsolete
>Index: x11/xscreensaver/Makefile >=================================================================== >--- x11/xscreensaver/Makefile (revision 472595) >+++ x11/xscreensaver/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= xscreensaver > PORTVERSION= 5.39 >+PORTREVISION= 1 > CATEGORIES= x11 > MASTER_SITES= http://www.jwz.org/xscreensaver/ > >Index: x11/xscreensaver/files/patch-utils_xft.c >=================================================================== >--- x11/xscreensaver/files/patch-utils_xft.c (nonexistent) >+++ x11/xscreensaver/files/patch-utils_xft.c (working copy) >@@ -0,0 +1,21 @@ >+--- utils/xft.c.orig 2018-06-17 08:45:55 UTC >++++ utils/xft.c >+@@ -198,12 +198,12 @@ XftColorAllocValue (Display *dpy, >+ int green_shift, green_len; >+ int blue_shift, blue_len; >+ >+- red_shift = maskbase (visual->rgba_masks[0]); >+- red_len = masklen (visual->rgba_masks[0]); >+- green_shift = maskbase (visual->rgba_masks[1]); >+- green_len = masklen (visual->rgba_masks[1]); >+- blue_shift = maskbase (visual->rgba_masks[2]); >+- blue_len = masklen (visual->rgba_masks[2]); >++ red_shift = maskbase (visual->red_mask); >++ red_len = masklen (visual->red_mask); >++ green_shift = maskbase (visual->green_mask); >++ green_len = masklen (visual->green_mask); >++ blue_shift = maskbase (visual->blue_mask); >++ blue_len = masklen (visual->blue_mask); >+ result->pixel = (((color->red >> (16 - red_len)) << red_shift) | >+ ((color->green >> (16 - green_len)) << green_shift) | >+ ((color->blue >> (16 - blue_len)) << blue_shift)); > >Property changes on: x11/xscreensaver/files/patch-utils_xft.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 224731
:
189227
| 194325