pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/melonds
Module Name: pkgsrc
Committed By: joerg
Date: Sun Dec 22 22:25:21 UTC 2019
Modified Files:
pkgsrc/emulators/melonds: distinfo
Added Files:
pkgsrc/emulators/melonds/patches: patch-src_libui__sdl_OSD.cpp
Log Message:
Fix C++ narrowing rule violation.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/melonds/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/melonds/patches/patch-src_libui__sdl_OSD.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/melonds/distinfo
diff -u pkgsrc/emulators/melonds/distinfo:1.1 pkgsrc/emulators/melonds/distinfo:1.2
--- pkgsrc/emulators/melonds/distinfo:1.1 Fri Sep 13 10:12:07 2019
+++ pkgsrc/emulators/melonds/distinfo Sun Dec 22 22:25:21 2019
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2019/09/13 10:12:07 nia Exp $
+$NetBSD: distinfo,v 1.2 2019/12/22 22:25:21 joerg Exp $
SHA1 (melonDS-0.8.3.tar.gz) = 9c1a71a05bfa041b727effe6180f6f7b590713a5
RMD160 (melonDS-0.8.3.tar.gz) = d0753d1a8e959b76f77eac31babbc2b32b2940c4
SHA512 (melonDS-0.8.3.tar.gz) = 4fed77abd231812d2f9ddb19a7fe6e808fb8e92035bb2fea220032b7c0a98671b4fd79ef0f7c7c559e92f3d1875ea119afaa581be2edacaa10f4437620eecd76
Size (melonDS-0.8.3.tar.gz) = 965501 bytes
SHA1 (patch-src_libui__sdl_LAN__PCap.cpp) = 1fd806b6b446622e5d214091e96aac3d6eec8490
+SHA1 (patch-src_libui__sdl_OSD.cpp) = 34c386cd5babf0f7dfb82f29b3f7255039ce7e15
Added files:
Index: pkgsrc/emulators/melonds/patches/patch-src_libui__sdl_OSD.cpp
diff -u /dev/null pkgsrc/emulators/melonds/patches/patch-src_libui__sdl_OSD.cpp:1.1
--- /dev/null Sun Dec 22 22:25:21 2019
+++ pkgsrc/emulators/melonds/patches/patch-src_libui__sdl_OSD.cpp Sun Dec 22 22:25:21 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_libui__sdl_OSD.cpp,v 1.1 2019/12/22 22:25:21 joerg Exp $
+
+--- src/libui_sdl/OSD.cpp.orig 2019-12-22 21:44:07.741122541 +0000
++++ src/libui_sdl/OSD.cpp
+@@ -419,8 +419,8 @@ void Update(bool opengl, uiAreaDrawParam
+ item.DrawBitmapLoaded = true;
+ }
+
+- uiRect rc_src = {0, 0, item.Width, item.Height};
+- uiRect rc_dst = {kOSDMargin, y, item.Width, item.Height};
++ uiRect rc_src = {0, 0, (int)item.Width, (int)item.Height};
++ uiRect rc_dst = {kOSDMargin, (int)y, (int)item.Width, (int)item.Height};
+
+ uiDrawBitmapDraw(params->Context, item.DrawBitmap, &rc_src, &rc_dst, 0);
+ }
Home |
Main Index |
Thread Index |
Old Index