pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/haxm



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Aug 17 21:36:20 UTC 2023

Modified Files:
        pkgsrc/emulators/haxm: distinfo
Added Files:
        pkgsrc/emulators/haxm/patches: patch-platforms_netbsd_hax__entry.c

Log Message:
haxm: fix builds on NetBSD >= 9.99.96

Compile tested only. (This is not an ideal solution, and this package
seems to have other potential issues with it.)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/haxm/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/emulators/haxm/patches/patch-platforms_netbsd_hax__entry.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/haxm/distinfo
diff -u pkgsrc/emulators/haxm/distinfo:1.12 pkgsrc/emulators/haxm/distinfo:1.13
--- pkgsrc/emulators/haxm/distinfo:1.12 Sat Feb  5 03:25:56 2022
+++ pkgsrc/emulators/haxm/distinfo      Thu Aug 17 21:36:20 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2022/02/05 03:25:56 ryoon Exp $
+$NetBSD: distinfo,v 1.13 2023/08/17 21:36:20 gutteridge Exp $
 
 BLAKE2s (haxm-7.7.0.tar.gz) = 333ceb5de11037552de8b330ed90500ec0a8e96d48acd11d84ba2354b888ca79
 SHA512 (haxm-7.7.0.tar.gz) = 195bd0deb1b0c83ffbcff87a9f5f88029cf0169ef2bcb86219c4f1f4fa34ef4297b1b65376ffd44627f23794231a914d5c059acd17068554591ccd0c7aa0d74e
 Size (haxm-7.7.0.tar.gz) = 367425 bytes
 SHA1 (patch-include_netbsd_hax__netbsd.h) = d1210e10e0f425ea7fb08f9aa8485128bc55c64b
+SHA1 (patch-platforms_netbsd_hax__entry.c) = 7ce2042644a11c7aaabf51fec2e582db63053df1

Added files:

Index: pkgsrc/emulators/haxm/patches/patch-platforms_netbsd_hax__entry.c
diff -u /dev/null pkgsrc/emulators/haxm/patches/patch-platforms_netbsd_hax__entry.c:1.3
--- /dev/null   Thu Aug 17 21:36:20 2023
+++ pkgsrc/emulators/haxm/patches/patch-platforms_netbsd_hax__entry.c   Thu Aug 17 21:36:20 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-platforms_netbsd_hax__entry.c,v 1.3 2023/08/17 21:36:20 gutteridge Exp $
+
+Fix builds on NetBSD >= 9.99.96.
+
+--- platforms/netbsd/hax_entry.c.orig  2021-05-24 08:15:13.000000000 +0000
++++ platforms/netbsd/hax_entry.c
+@@ -32,6 +32,10 @@
+ #include <sys/types.h>
+ #include <sys/conf.h>
+ #include <sys/device.h>
++#if __NetBSD_Version__ >= 999009600
++/* Needs dv_xname from struct device */
++#include <sys/device_impl.h>
++#endif
+ #include <sys/module.h>
+ #include <sys/cpu.h>
+ 



Home | Main Index | Thread Index | Old Index