Advertisement
kaio

patching catalyst-13.12

Dec 21st, 2013
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. thanks @Miles Zhang, but still not working for me. I was following this guide http://phoronix.com/forums/showthread.php?91885-AMD-Catalyst-13-12-GPU-Driver-For-Linux-Released&p=381957#post381957 and here is the result of mine:
  2.  
  3. 1. ./amd-catalyst-13.12-linux-x86.x86_64.run --extract catalyst
  4. 2. Apply the patch: $ patch -Np1 -i ./looks_like_amd_forgot_this.patch
  5.  
  6. File to patch: /home/bii/downloads/amd/catalyst/ati-installer.sh
  7.  
  8. patching file /home/bii/downloads/amd/catalyst/ati-installer.sh
  9. Hunk #1 FAILED at 995.
  10.  
  11. 1 out of 1 hunk FAILED -- saving rejects to file /home/bii/downloads/amd/catalyst/ati-installer.sh.rej
  12.  
  13. here is rejected part:
  14.  
  15. --- common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-17 20:05:35.000000000 +0100
  16. +++ common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-19 18:40:18.386568588 +0100
  17. @@ -995,7 +995,11 @@
  18. #endif
  19. {
  20. return KCL_ACPI_ERROR;
  21. - }
  22. + }
  23. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1)
  24. + ((acpi_tbl_table_handler)handler)(hdr);
  25. +#else
  26. ((acpi_table_handler)handler)(hdr);
  27. +#endif
  28. return KCL_ACPI_OK;
  29. -}
  30. +}
  31.  
  32. **$ uname -r**
  33.  
  34. 3.2.0-4-686-pae
  35.  
  36. nb: i'm using pae kernel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement