pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/libretro-mupen64plus



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Jun 17 19:42:03 UTC 2017

Modified Files:
        pkgsrc/emulators/libretro-mupen64plus: distinfo
Added Files:
        pkgsrc/emulators/libretro-mupen64plus/patches:
            patch-mupen64plus-video-angrylion_n64video.c

Log Message:
Fix some C99 compat issues.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-mupen64plus/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-mupen64plus/patches/patch-mupen64plus-video-angrylion_n64video.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-mupen64plus/distinfo
diff -u pkgsrc/emulators/libretro-mupen64plus/distinfo:1.4 pkgsrc/emulators/libretro-mupen64plus/distinfo:1.5
--- pkgsrc/emulators/libretro-mupen64plus/distinfo:1.4  Tue Nov  3 20:30:59 2015
+++ pkgsrc/emulators/libretro-mupen64plus/distinfo      Sat Jun 17 19:42:03 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 20:30:59 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/06/17 19:42:03 joerg Exp $
 
 SHA1 (mupen64plus-libretro-20150204.zip) = 85599e878094348163d68fdd704c5bc7edf78e44
 RMD160 (mupen64plus-libretro-20150204.zip) = 6c08b86834a8f6d548c85eaa34ca38e779b6a0d2
@@ -6,3 +6,4 @@ SHA512 (mupen64plus-libretro-20150204.zi
 Size (mupen64plus-libretro-20150204.zip) = 3286777 bytes
 SHA1 (patch-glide2gl_src_Glide64_Util.h) = d3bceef0ba895af8309bfe9435d701d76ca31a27
 SHA1 (patch-libretro_libco_armeabi.c) = dbce5604b0a160dfbdae82506957e2c852d4ca9d
+SHA1 (patch-mupen64plus-video-angrylion_n64video.c) = 7781b2aaa5efb2d0c670438130ad9ef59aa711fc

Added files:

Index: pkgsrc/emulators/libretro-mupen64plus/patches/patch-mupen64plus-video-angrylion_n64video.c
diff -u /dev/null pkgsrc/emulators/libretro-mupen64plus/patches/patch-mupen64plus-video-angrylion_n64video.c:1.1
--- /dev/null   Sat Jun 17 19:42:03 2017
+++ pkgsrc/emulators/libretro-mupen64plus/patches/patch-mupen64plus-video-angrylion_n64video.c  Sat Jun 17 19:42:03 2017
@@ -0,0 +1,95 @@
+$NetBSD: patch-mupen64plus-video-angrylion_n64video.c,v 1.1 2017/06/17 19:42:03 joerg Exp $
+
+C99's inline has different semantic.
+
+--- mupen64plus-video-angrylion/n64video.c.orig        2017-06-16 12:04:46.824147448 +0000
++++ mupen64plus-video-angrylion/n64video.c
+@@ -218,7 +218,7 @@ static void compute_cvg_flip(INT32 scanl
+ STRICTINLINE UINT32 z_decompress(UINT32 rawz);
+ STRICTINLINE UINT32 dz_decompress(UINT32 compresseddz);
+ STRICTINLINE UINT32 dz_compress(UINT32 value);
+-INLINE void z_build_com_table(void);
++void z_build_com_table(void);
+ static void precalc_cvmask_derivatives(void);
+ STRICTINLINE UINT16 decompress_cvmask_frombyte(UINT8 byte);
+ STRICTINLINE void lookup_cvmask_derivatives(UINT32 mask, UINT8* offx, UINT8* offy, UINT32* curpixel_cvg, UINT32* curpixel_cvbit);
+@@ -698,7 +698,7 @@ INLINE void SET_SUBA_RGB_INPUT(INT32 **i
+     }
+ }
+ 
+-INLINE void SET_SUBB_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
++void SET_SUBB_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
+ {
+     switch (code & 0xf)
+     {
+@@ -717,7 +717,7 @@ INLINE void SET_SUBB_RGB_INPUT(INT32 **i
+     }
+ }
+ 
+-INLINE void SET_MUL_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
++void SET_MUL_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
+ {
+     switch (code & 0x1f)
+     {
+@@ -745,7 +745,7 @@ INLINE void SET_MUL_RGB_INPUT(INT32 **in
+     }
+ }
+ 
+-INLINE void SET_ADD_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
++void SET_ADD_RGB_INPUT(INT32 **input_r, INT32 **input_g, INT32 **input_b, int code)
+ {
+     switch (code & 0x7)
+     {
+@@ -760,7 +760,7 @@ INLINE void SET_ADD_RGB_INPUT(INT32 **in
+     }
+ }
+ 
+-INLINE void SET_SUB_ALPHA_INPUT(INT32 **input, int code)
++void SET_SUB_ALPHA_INPUT(INT32 **input, int code)
+ {
+     switch (code & 0x7)
+     {
+@@ -775,7 +775,7 @@ INLINE void SET_SUB_ALPHA_INPUT(INT32 **
+     }
+ }
+ 
+-INLINE void SET_MUL_ALPHA_INPUT(INT32 **input, int code)
++void SET_MUL_ALPHA_INPUT(INT32 **input, int code)
+ {
+     switch (code & 0x7)
+     {
+@@ -1129,7 +1129,7 @@ static void precalculate_everything(void
+     return;
+ }
+ 
+-INLINE void SET_BLENDER_INPUT(int cycle, int which, INT32 **input_r, INT32 **input_g, INT32 **input_b, INT32 **input_a, int a, int b)
++void SET_BLENDER_INPUT(int cycle, int which, INT32 **input_r, INT32 **input_g, INT32 **input_b, INT32 **input_a, int a, int b)
+ {
+ 
+     switch (a & 0x3)
+@@ -5837,7 +5837,7 @@ STRICTINLINE UINT32 z_decompress(UINT32 
+     return (z_complete_dec_table[zb >> 2]);
+ }
+ 
+-INLINE void z_build_com_table(void)
++void z_build_com_table(void)
+ {
+     register int z;
+     UINT16 altmem = 0;
+@@ -6220,14 +6220,14 @@ STRICTINLINE INT32 CLIP(INT32 value,INT3
+         return value;
+ }
+ 
+-INLINE void calculate_clamp_diffs(UINT32 i)
++void calculate_clamp_diffs(UINT32 i)
+ {
+     tile[i].f.clampdiffs = ((tile[i].sh >> 2) - (tile[i].sl >> 2)) & 0x3ff;
+     tile[i].f.clampdifft = ((tile[i].th >> 2) - (tile[i].tl >> 2)) & 0x3ff;
+ }
+ 
+ 
+-INLINE void calculate_tile_derivs(UINT32 i)
++void calculate_tile_derivs(UINT32 i)
+ {
+     tile[i].f.clampens = tile[i].cs || !tile[i].mask_s;
+     tile[i].f.clampent = tile[i].ct || !tile[i].mask_t;



Home | Main Index | Thread Index | Old Index