HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #406

Ticket #406: gemrb-0.6-git.patch

File gemrb-0.6-git.patch, 1.3 KB (added by michaelvoliveira, 5 years ago)

Patch to get rid of the last #pragma, since that this is the only file that was not accepted into official repository

  • gemrb/plugins/BIKPlayer/BIKPlayer.cpp

    diff -Naur gemrb-0.6-git/gemrb/plugins/BIKPlayer/BIKPlayer.cpp gemrb-0.6-git-haiku/gemrb/plugins/BIKPlayer/BIKPlayer.cpp
    old new  
    13631363        const uint8_t *scan; 
    13641364        const uint32_t *quant; 
    13651365        int xoff, yoff; 
     1366#if !defined(__HAIKU__) 
    13661367#pragma pack(push,16) 
     1368#endif 
    13671369        DCTELEM block[64]; 
     1370#if !defined(__HAIKU__) 
    13681371#pragma pack(pop) 
     1372#endif 
    13691373 
    13701374        int bits = data_size*8; 
    13711375        v_gb.init_get_bits((uint8_t *) data, bits); 
  • gemrb/plugins/BIKPlayer/BIKPlayer.h

    diff -Naur gemrb-0.6-git/gemrb/plugins/BIKPlayer/BIKPlayer.h gemrb-0.6-git-haiku/gemrb/plugins/BIKPlayer/BIKPlayer.h
    old new  
    176176        bool s_audio; 
    177177        int s_stream;  //openal stream handle 
    178178 
     179#if !defined(__HAIKU__) 
    179180#pragma pack(push,16) 
     181#endif 
    180182        FFTSample s_coeffs[BINK_BLOCK_MAX_SIZE]; 
    181183        short s_previous[BINK_BLOCK_MAX_SIZE / 16];  ///< coeffs from previous audio block 
     184#if !defined(__HAIKU__) 
    182185#pragma pack(pop) 
     186#endif 
    183187 
    184188        float *s_coeffs_ptr[MAX_CHANNELS]; ///< pointers to the coeffs arrays for float_to_int16_interleave 
    185189 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/