summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2011-03-04 13:03:47 +0000
committertsutsui <tsutsui@pkgsrc.org>2011-03-04 13:03:47 +0000
commit4ff6a6990cb6f019df30b2786ea39ea1c0f33ce9 (patch)
tree03e2c353afcec6575bed7a5323e159405c0beeb4 /emulators/qemu
parent608a498f5beaa9637f548d7e135abc07d2a2da34 (diff)
downloadpkgsrc-4ff6a6990cb6f019df30b2786ea39ea1c0f33ce9.tar.gz
Fix botch in patch-ej rev 1.1. PR pkg/44680
Also note about change in rev 1.2.
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/distinfo4
-rw-r--r--emulators/qemu/patches/patch-ej34
2 files changed, 20 insertions, 18 deletions
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index 8ef05ccf1f4..7b47ab6d2bf 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2010/12/27 12:33:32 adam Exp $
+$NetBSD: distinfo,v 1.64 2011/03/04 13:03:47 tsutsui Exp $
SHA1 (qemu-0.13.0.tar.gz) = 250bba1fdb505a787c48331b6b02f54282edfc76
RMD160 (qemu-0.13.0.tar.gz) = 4a6faaf38d5616fb7bedc1a6408de1dbb3ec360c
@@ -14,7 +14,7 @@ SHA1 (patch-ef) = 0e1c2b364cc52aa9a7295e0e025b53498082d4a7
SHA1 (patch-eg) = f511730d3b5640f10973d70b891e28bf140beb3c
SHA1 (patch-eh) = 008c648dd74b273bd920521f7e01da5928c7c775
SHA1 (patch-ei) = aee213dc347808f7aabedd7a8ce9f9477b12b9f0
-SHA1 (patch-ej) = 2276235ac35ebe7ab29eac45c087ad55cd0a726b
+SHA1 (patch-ej) = e4226a53a314f02012f188d65765ab2f2de08176
SHA1 (patch-ek) = a4bfeb9887c5caddaf660fecaaa59f7468eec2ed
SHA1 (patch-el) = c8ab982a32e2c47deba9bd8a5b574d83fb80234d
SHA1 (patch-em) = 4993ef668321e38ce63014494cb2ddb447637eb8
diff --git a/emulators/qemu/patches/patch-ej b/emulators/qemu/patches/patch-ej
index 8c7a3f89c3d..420083bf3b8 100644
--- a/emulators/qemu/patches/patch-ej
+++ b/emulators/qemu/patches/patch-ej
@@ -1,4 +1,4 @@
-$NetBSD: patch-ej,v 1.2 2010/12/27 12:33:32 adam Exp $
+$NetBSD: patch-ej,v 1.3 2011/03/04 13:03:48 tsutsui Exp $
1) bswap_NN() variants are not available in CONFIG_MACHINE_BSWAP_H case
(fixed in upstream master but not in stable-0.13 branch)
@@ -14,8 +14,10 @@ http://git.qemu.org/qemu.git/commit/?id=aee474ebc62686ae8827747b0b1aed85b8122979
http://git.qemu.org/qemu.git/commit/?id=d167f9bc06a577d6c85b8ed6991c1efe175aae7d
http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
---- ui/vnc-enc-tight.c.orig 2010-07-28 10:55:42.000000000 +0900
-+++ ui/vnc-enc-tight.c 2010-08-08 17:14:17.000000000 +0900
+4) include <sys/types.h> to fix build on Mac OS X
+
+--- ui/vnc-enc-tight.c.orig 2010-10-15 20:56:09.000000000 +0000
++++ ui/vnc-enc-tight.c
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <jpeglib.h>
@@ -24,7 +26,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
#include "qemu-common.h"
-@@ -209,7 +209,7 @@
+@@ -209,7 +210,7 @@
d < w - x - VNC_TIGHT_DETECT_SUBROW_WIDTH; d++) { \
pix = ((uint##bpp##_t *)buf)[(y+d)*w+x+d]; \
if (endian) { \
@@ -33,7 +35,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
} \
for (c = 0; c < 3; c++) { \
left[c] = (int)(pix >> shift[c] & max[c]); \
-@@ -218,7 +218,7 @@
+@@ -218,7 +219,7 @@
dx++) { \
pix = ((uint##bpp##_t *)buf)[(y+d)*w+x+d+dx]; \
if (endian) { \
@@ -42,7 +44,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
} \
sum = 0; \
for (c = 0; c < 3; c++) { \
-@@ -281,7 +281,7 @@
+@@ -281,7 +282,7 @@
return 0;
}
@@ -51,7 +53,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
if (w * h < VNC_TIGHT_JPEG_MIN_RECT_SIZE) {
return 0;
}
-@@ -294,7 +294,7 @@
+@@ -294,7 +295,7 @@
if (vs->clientds.pf.bytes_per_pixel == 4) {
if (vs->tight.pixel24) {
errors = tight_detect_smooth_image24(vs, w, h);
@@ -60,7 +62,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
return (errors < tight_conf[quality].jpeg_threshold24);
}
return (errors < tight_conf[compression].gradient_threshold24);
-@@ -443,7 +443,7 @@
+@@ -443,7 +444,7 @@
* Should never happen, but don't break everything \
* if it does, use the first color instead \
*/ \
@@ -69,7 +71,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
idx = 0; \
} \
while (rep >= 0) { \
-@@ -608,7 +608,7 @@
+@@ -608,7 +609,7 @@
for (x = 0; x < w; x++) { \
pix = *buf; \
if (endian) { \
@@ -78,7 +80,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
} \
diff = 0; \
for (c = 0; c < 3; c++) { \
-@@ -628,7 +628,7 @@
+@@ -628,7 +629,7 @@
<< shift[c]; \
} \
if (endian) { \
@@ -87,7 +89,7 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
} \
*buf++ = diff; \
} \
-@@ -1469,6 +1469,8 @@
+@@ -1469,6 +1470,8 @@
ret = send_mono_rect(vs, x, y, w, h, bg, fg);
} else if (colors <= 256) {
ret = send_palette_rect(vs, x, y, w, h, palette);
@@ -96,16 +98,16 @@ http://git.qemu.org/qemu.git/commit/?id=ad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
}
return ret;
}
-@@ -1500,6 +1502,8 @@
- ret = send_jpeg_rect(vs, x, y, w, h, quality);
+@@ -1501,6 +1504,8 @@
} else {
ret = send_palette_rect(vs, x, y, w, h, palette);
-+ } else {
-+ ret = 0;
}
++ } else {
++ ret = 0;
}
return ret;
-@@ -1522,7 +1526,7 @@
+ }
+@@ -1522,7 +1527,7 @@
colors = tight_fill_palette(vs, x, y, w * h, &fg, &bg, &palette);
#ifdef CONFIG_VNC_JPEG