I've modified the xfree-drm portage script to build and install the dristat tool. Useful for diagnostics. Reproducible: Always Steps to Reproduce:
Created attachment 10222 [details] The new portage script
Created attachment 10223 [details] The modified changelog
thanks, will update.
Cool. Well was kind of lazzy when changing the portage script: Just applied the changes I needed to build dristat from CVS, but didn't test it. So I didn't realize dristat.c needs some files to compile not included in drm-trunk.tar.gz. Don't know how you create that file. Therefore I just copied the files from CVS and created a patch merging those files and adjusting dristat.c. Whilest being in the portage script I've also adjusted it to read a DRI_MODULES enviroment variable for the modules to build. If not set a warning is displayed and Makefile.linux is scanned for modules available. Btw, why does the Makefile patch strike out gamma.o tdfx.o for x86? Also fixed: You have to pass MODS to the make if you do not want it to build all modules during installation. Fixed. My ebuild didn't show up in portage yet, so it's ok to stick with -r2, I guess.
Created attachment 10265 [details] The fixed portage script * apply xfree-drm-4.3.0-dristat-fixup.patch * DRI_MODULES * passing MODS=${DRI_MODULES) to "make install"
Created attachment 10266 [details] Another changelog
Created attachment 10267 [details, diff] Merges the files needed to build dristat, patches dristat.c to use them
Created attachment 10268 [details] insopts -m0755 forgot "insopts -m0755" for dristat
Created attachment 10269 [details] The portage script again. The portage script again: Adds "insopts -m0755" for "dristat". 10268 just is the digest file (drag-n-drop sux ;-)
-r1 is ppc only. the other one is x86 only
I've added dristat to xfree-drm-4.3.0-r2
is xfree-drm-4.3.0-r2 more what you expected?