summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortoshii <toshii@pkgsrc.org>2001-01-01 07:51:09 +0000
committertoshii <toshii@pkgsrc.org>2001-01-01 07:51:09 +0000
commit82de705ea0bd73641a4da0b9b168869a6272900d (patch)
tree94d607c82fd5aa3beed36a0ab3cfea000105b85b /graphics
parent8d81b900cbb15deaa027dc25fab720782de6113d (diff)
downloadpkgsrc-82de705ea0bd73641a4da0b9b168869a6272900d.tar.gz
Make this package work on arches where char is signed.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/clanlib/files/patch-sum4
-rw-r--r--graphics/clanlib/patches/patch-aj14
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/clanlib/files/patch-sum b/graphics/clanlib/files/patch-sum
index 7782b35e7e3..726d17020cd 100644
--- a/graphics/clanlib/files/patch-sum
+++ b/graphics/clanlib/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.10 2000/12/15 07:31:36 mycroft Exp $
+$NetBSD: patch-sum,v 1.11 2001/01/01 07:51:09 toshii Exp $
MD5 (patch-aa) = 7d4da0626e8296e6c23941dd92b6e6fa
MD5 (patch-ab) = eb18fa66909286b953564dc7449f9428
@@ -9,4 +9,4 @@ MD5 (patch-af) = 842cb79cd277fa65e0e51942b5135189
MD5 (patch-ag) = d45e2460769ba37f8bfe5c6a24df04ee
MD5 (patch-ah) = cd4f0248f95095820b1aba403633bd7f
MD5 (patch-ai) = 37ec8ef4fa913adf359dcd60cfc77107
-MD5 (patch-aj) = 9c1829c7996b478c42220ccd1f0c536d
+MD5 (patch-aj) = f5f32e82fa0058dd31939b753d73e9e2
diff --git a/graphics/clanlib/patches/patch-aj b/graphics/clanlib/patches/patch-aj
index 53d5955b985..56295c6c645 100644
--- a/graphics/clanlib/patches/patch-aj
+++ b/graphics/clanlib/patches/patch-aj
@@ -1,7 +1,7 @@
-$NetBSD: patch-aj,v 1.3 2000/12/15 07:31:22 mycroft Exp $
+$NetBSD: patch-aj,v 1.4 2001/01/01 07:51:10 toshii Exp $
---- Sources/Core/SurfaceProviders/provider_pcx.cpp.orig Sun Apr 9 12:18:02 2000
-+++ Sources/Core/SurfaceProviders/provider_pcx.cpp Fri Dec 15 07:27:49 2000
+--- Sources/Core/SurfaceProviders/provider_pcx.cpp.orig Sun Apr 9 21:18:02 2000
++++ Sources/Core/SurfaceProviders/provider_pcx.cpp
@@ -113,10 +113,14 @@
datafile->seek(4, CL_InputSource::seek_set);
@@ -10,13 +10,13 @@ $NetBSD: patch-aj,v 1.3 2000/12/15 07:31:22 mycroft Exp $
- short ymin = datafile->read_short16();
- short xmax = datafile->read_short16();
- short ymax = datafile->read_short16();
-+ short xmin = datafile->read_char8() |
++ short xmin = datafile->read_uchar8() |
+ (datafile->read_char8() << 8);
-+ short ymin = datafile->read_char8() |
++ short ymin = datafile->read_uchar8() |
+ (datafile->read_char8() << 8);
-+ short xmax = datafile->read_char8() |
++ short xmax = datafile->read_uchar8() |
+ (datafile->read_char8() << 8);
-+ short ymax = datafile->read_char8() |
++ short ymax = datafile->read_uchar8() |
+ (datafile->read_char8() << 8);
pitch = xmax - xmin + 1;