[MacPorts] #26303: Alien Arena port request

MacPorts noreply at macports.org
Wed Sep 1 06:27:20 PDT 2010


#26303: Alien Arena port request
------------------------------------+---------------------------------------
 Reporter:  xingmaster90@…          |       Owner:  macports-tickets@…                   
     Type:  request                 |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:  alienarena                           
------------------------------------+---------------------------------------

Comment(by ryandesign@…):

 Here's my port attempt so far, based on that forum thread and some of my
 own patches. The port compiles and installs. Run "crx" to try it out.

  * It can't find OpenAL, so it disables sound. The fix probably begins
 with changing the line `const char libopenal_name[] = "libopenal.so.1";`
 in source/unix/qal_unix.c. The MacPorts OpenAL port does not compile, but
 we should be able to use the OpenAL Apple provides as part of Mac OS X.
  * It crashes with a segmentation fault right after you start it.
  * I removed calls to "round_page" in source/unix/q_shunix.c because that
 function doesn't seem to exist on Mac OS X. This is probably a problem,
 and may be the cause of the crash above. We should find a Mac OS X
 equivalent of round_page, or alternately an equivalent of mremap, but I
 have not been able to do so after a bit of Google searching.
  * game.dylib has the wrong install_name. We should also move it into
 LIBDIR.

 All my tests have been on Snow Leopard x86_64.

 Note the distfile is 361 MiB so it may take some time to download.

-- 
Ticket URL: <http://trac.macports.org/ticket/26303#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list