pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/bochs
Module Name: pkgsrc
Committed By: nia
Date: Tue May 13 15:48:55 UTC 2025
Modified Files:
pkgsrc/emulators/bochs: distinfo
Added Files:
pkgsrc/emulators/bochs/patches: patch-iodev_display_voodoo__func.h
Log Message:
bochs: Fix big endian build.
BX_BIG_ENDIAN is defined without a value, so the correct thing for this to
build properly on big endian is to use #ifdef and not #if.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/emulators/bochs/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/bochs/patches/patch-iodev_display_voodoo__func.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/bochs/distinfo
diff -u pkgsrc/emulators/bochs/distinfo:1.38 pkgsrc/emulators/bochs/distinfo:1.39
--- pkgsrc/emulators/bochs/distinfo:1.38 Thu Feb 20 22:42:14 2025
+++ pkgsrc/emulators/bochs/distinfo Tue May 13 15:48:55 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2025/02/20 22:42:14 nia Exp $
+$NetBSD: distinfo,v 1.39 2025/05/13 15:48:55 nia Exp $
BLAKE2s (bochs-2.7.tar.gz) = f1681035d10c7f8f2d2b40c43c27b6af00ba6a3f0db3c29c38af7a6092673814
SHA512 (bochs-2.7.tar.gz) = d43bd557316dc370ba1c317f5c3292f724460515db01316614b2d585b2760120cadd1d27a286083ac3e6f57466ed889959abd7fe960c219c149dab9a053c6967
@@ -8,6 +8,7 @@ SHA1 (patch-Makefile.in) = ca8d485a9f490
SHA1 (patch-configure) = aff62a847311bf2afad27445813656ff081bb93b
SHA1 (patch-gui_Makefile.in) = fb5e2ba02533c39169ea95101b9acaa6e33f6392
SHA1 (patch-gui_textconfig.cc) = 8bbb1d4019d985bea8216175ad0d3dee6ff4e7e0
+SHA1 (patch-iodev_display_voodoo__func.h) = 157fe1bd40177054a76b2a8aff50c423e9847779
SHA1 (patch-iodev_network_eth__socket.cc) = 4baa4cd0c7c004e6e48d57327ab2eff550efb924
SHA1 (patch-iodev_network_slirp_compat_cc) = a48d112daac6049c0ee8076eb012ab2f44740889
SHA1 (patch-iodev_sound_soundosx.cc) = 285cdfc87803082847e6492031df7e33a389c2fa
Added files:
Index: pkgsrc/emulators/bochs/patches/patch-iodev_display_voodoo__func.h
diff -u /dev/null pkgsrc/emulators/bochs/patches/patch-iodev_display_voodoo__func.h:1.1
--- /dev/null Tue May 13 15:48:55 2025
+++ pkgsrc/emulators/bochs/patches/patch-iodev_display_voodoo__func.h Tue May 13 15:48:55 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-iodev_display_voodoo__func.h,v 1.1 2025/05/13 15:48:55 nia Exp $
+
+BX_BIG_ENDIAN is defined without a value, so the correct thing for this to
+build properly on big endian is to use #ifdef.
+
+--- iodev/display/voodoo_func.h.orig 2025-05-13 15:47:17.688415163 +0000
++++ iodev/display/voodoo_func.h
+@@ -1627,7 +1627,7 @@ void voodoo2_bitblt_cpu_to_screen(Bit32u
+ if (rgbfmt & 1) {
+ BX_ERROR(("Voodoo bitBLT: color order other than RGB not supported yet"));
+ }
+-#if BX_BIG_ENDIAN
++#ifdef BX_BIG_ENDIAN
+ data = bx_bswap32(data);
+ #endif
+ src_ptr = (Bit8u*)&data;
Home |
Main Index |
Thread Index |
Old Index