Advertisement
Guest User

patches to quake3 for raspberry pi, not working

a guest
Jul 1st, 2012
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.60 KB | None | 0 0
  1. *** quake3/build.sh     2012-06-30 15:14:47.926361944 +0000
  2. --- quake3/build-dpj.sh 2012-06-30 22:49:15.796593026 +0000
  3. ***************
  4. *** 5,11 ****
  5.  
  6.   # directory containing the ARM shared libraries (rootfs, lib/ of SD card)
  7.   # specifically libEGL.so and libGLESv2.so
  8. ! ARM_LIBS=/opt/bcm-rootfs/opt/vc/lib
  9.   SDL_LIB=lib
  10.  
  11.   # directory containing baseq3/ containing .pk3 files - baseq3 on CD
  12. --- 5,11 ----
  13.  
  14.   # directory containing the ARM shared libraries (rootfs, lib/ of SD card)
  15.   # specifically libEGL.so and libGLESv2.so
  16. ! ARM_LIBS=/opt/vc/lib
  17.   SDL_LIB=lib
  18.  
  19.   # directory containing baseq3/ containing .pk3 files - baseq3 on CD
  20. ***************
  21. *** 13,22 ****
  22.  
  23.   # directory to find khronos linux make files (with include/ containing
  24.   # headers! Make needs them.)
  25. ! INCLUDES="-I/opt/bcm-rootfs/opt/vc/include -I/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads"
  26. !
  27.   # prefix of arm cross compiler installed
  28. ! CROSS_COMPILE=bcm2708-
  29.  
  30.   # clean
  31.   if [ $# -ge 1 ] && [ $1 = clean ]; then
  32. --- 13,22 ----
  33.  
  34.   # directory to find khronos linux make files (with include/ containing
  35.   # headers! Make needs them.)
  36.  
  37. ! INCLUDES="-I/opt/bcm-rootfs/opt/vc/include -I/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads"
  38. !  
  39.   # prefix of arm cross compiler installed
  40. ! CROSS_COMPILE=bcm2708-
  41.  
  42.   # clean
  43.   if [ $# -ge 1 ] && [ $1 = clean ]; then
  44. --- 13,22 ----
  45.  
  46.   # directory to find khronos linux make files (with include/ containing
  47.   # headers! Make needs them.)
  48. ! INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads"
  49. !  
  50.   # prefix of arm cross compiler installed
  51. ! # CROSS_COMPILE=bcm2708-
  52.  
  53.   # clean
  54.   if [ $# -ge 1 ] && [ $1 = clean ]; then
  55. 1383c1383
  56. <              $(B)/client/es_gamma.o $(B)/client/es_snd.o, \
  57. ---
  58. >              $(B)/client/sdl_gamma.o $(B)/client/sdl_snd.o, \
  59. 1387c1387
  60. <              $(B)/client/es_input.o, \
  61. ---
  62. >              $(B)/client/sdl_input.o, \
  63. *** quake3/code/client/snd_dma.c~       2012-06-30 15:14:48.000000000 +0000
  64. --- quake3/code/client/snd_dma.c        2012-06-30 20:15:49.763384372 +0000
  65. ***************
  66. *** 391,398 ****
  67.   */
  68.   void S_Base_BeginRegistration( void ) {
  69.      // XXX hacked to disable sound
  70. !       //s_soundMuted = qfalse;                // we can play again
  71. !    s_soundMuted = 1;
  72.  
  73.         if (s_numSfx == 0) {
  74.                 SND_setup();
  75. --- 391,398 ----
  76.   */
  77.   void S_Base_BeginRegistration( void ) {
  78.      // XXX hacked to disable sound
  79. !    s_soundMuted = qfalse;             // we can play again
  80. !    // s_soundMuted = 1;
  81.  
  82.         if (s_numSfx == 0) {
  83.                 SND_setup();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement