Summary says it all. Patch is attached. Reproducible: Always
Created attachment 207559 [details, diff] libXxf86vm-1.1.0 compatibility patch
The problem with that patch is that the header is not present in earlier versions of libXxf86vm. Have you contacted upstream about this problem?
Patch worked for me.
Patch worked for me as well.
I'm trying this with 190.42 (unmasked due to xorg-server-1.7.1 going ~arch) - can't get the patch to apply - how are you guys going about it here?
(In reply to comment #5) > I'm trying this with 190.42 (unmasked due to xorg-server-1.7.1 going ~arch) - > can't get the patch to apply - how are you guys going about it here? It worked fine for me. I will attach the modified ebuild I've put in my local overlay: just put it in '/usr/local/portage/media-video/nvidia-settings/', put the above patch in '/usr/local/portage/media-video/nvidia-settings/files/' and copy the 'icon' folder from /usr/portage/media-video/nvidia-settings/files/' to '/usr/local/portage/media-video/nvidia-settings/files/' (I'm not even sure this last step is really necessary). Then run (as root) 'ebuild /usr/local/portage/media-video/nvidia-settings/nvidia-settings-190.42.ebuild manifest' and you're good to go emerging nvidia-settings from your local overlay.
Created attachment 208516 [details] ebuild modified to apply the patch
(In reply to comment #7) > Created an attachment (id=208516) [details] > ebuild modified to apply the patch > Thanks, that's worked.
(In reply to comment #8) > (In reply to comment #7) > > Created an attachment (id=208516) [details] [details] > > ebuild modified to apply the patch > > > > Thanks, that's worked. > Thanks, that's worked for me too
update upstream and commit to tree please? Thanks.
(In reply to comment #7) > Created an attachment (id=208516) [details] > ebuild modified to apply the patch > Works here also.
*** Bug 290885 has been marked as a duplicate of this bug. ***
Created attachment 208926 [details, diff] libXxf86vm-1.1.0 compatibility patch (rev. b) Sorry for my late reply but I have been very busy lately w/ life. :-( This patch should work w/ both newer and older libXxf86vm versions. I have not yet informed upstream about this because of my lack of time. But my guess is they already know and will have a fix of their own in the next release.
FYI, upstream says not their fault... :-( <http://www.nvnews.net/vbulletin/showthread.php?t=140139>
Oops. Fixed this first without looking at this bug, but updated the patch now to reflect the latest attached one. Thanks!
*** Bug 291433 has been marked as a duplicate of this bug. ***
*** Bug 291482 has been marked as a duplicate of this bug. ***
This patch breaks build against stable xorg. I have x11-libs/libXxf86vm-1.0.2 installed. It does not have the proto header and thus won't build x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -Wall -O -DNDEBUG -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c -o .objs/NvCtrlAttributesGlx.o src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:32:40: error: X11/extensions/xf86vmproto.h: No such file or directory
(In reply to comment #18) > src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:32:40: error: > X11/extensions/xf86vmproto.h: No such file or directory > I've solved this problem for me by creating symlink: # ls -l xf86vmproto.h lrwxrwxrwx 1 root root 11 Nov 3 15:10 xf86vmproto.h -> xf86vmode.h # pwd /usr/include/X11/extensions It's a temporary way, sure
@ comment #19, thanks for the temporary fix by symlinking.