summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-23 20:49:49 +0000
committerjoerg <joerg>2006-02-23 20:49:49 +0000
commit1d693a7b1747cc4ca2401ec075fd3f0a1709e69d (patch)
tree9fc1a7cd5e9da7f6b99049de8c7553f1f24b0a0d
parenta36cd5b0771d5153aeae859a774ca1fd3b519726 (diff)
downloadpkgsrc-1d693a7b1747cc4ca2401ec075fd3f0a1709e69d.tar.gz
Fix errno. Add missing prototype.
-rw-r--r--graphics/magicpoint/distinfo5
-rw-r--r--graphics/magicpoint/patches/patch-ak13
-rw-r--r--graphics/magicpoint/patches/patch-al12
-rw-r--r--graphics/magicpoint/patches/patch-am13
4 files changed, 42 insertions, 1 deletions
diff --git a/graphics/magicpoint/distinfo b/graphics/magicpoint/distinfo
index c953375eca3..d53380e1302 100644
--- a/graphics/magicpoint/distinfo
+++ b/graphics/magicpoint/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2005/04/07 23:11:56 hira Exp $
+$NetBSD: distinfo,v 1.15 2006/02/23 20:49:49 joerg Exp $
SHA1 (magicpoint-1.10a.tar.gz) = 7510ee965316cb52eac7a430f0e19a87a337fe5c
RMD160 (magicpoint-1.10a.tar.gz) = 167bf8b57bd4bb98c8f4fdba82a5733dda1f8a6a
@@ -13,3 +13,6 @@ SHA1 (patch-ag) = 02e53e3e498b150d528349c9712978f164e8836f
SHA1 (patch-ah) = 2cd87d9697be2ebd9d7c0a936d49583286de62d3
SHA1 (patch-ai) = 809b2cf509bab0ee1bed1fecb2cf2d8df912ce8b
SHA1 (patch-aj) = 07ed5e995bf35dcbe65fc7c0ab800d1b8905e004
+SHA1 (patch-ak) = bb1364f9fec905e09eb7453a4bc0a8cab557b3b3
+SHA1 (patch-al) = a0956fc353d38f937d3829fa0e6cd70c9cb60faa
+SHA1 (patch-am) = ba255a9e749f627d777cebbd29521b8c368d69dc
diff --git a/graphics/magicpoint/patches/patch-ak b/graphics/magicpoint/patches/patch-ak
new file mode 100644
index 00000000000..f20cb2c0c17
--- /dev/null
+++ b/graphics/magicpoint/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2006/02/23 20:49:49 joerg Exp $
+
+--- mng.c.orig 2006-02-23 20:22:29.000000000 +0000
++++ mng.c
+@@ -43,6 +43,8 @@ typedef struct {
+ mng_uint32 delay; /* ticks to wait before resuming decode */
+ } mngstuff;
+
++void mng_window_setup(mngstuff *, int, int, int, int);
++
+ /* callbacks for the mng decoder */
+
+ /* memory allocation; data must be zeroed */
diff --git a/graphics/magicpoint/patches/patch-al b/graphics/magicpoint/patches/patch-al
new file mode 100644
index 00000000000..0a5674d0546
--- /dev/null
+++ b/graphics/magicpoint/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.1 2006/02/23 20:49:49 joerg Exp $
+
+--- image/imagetypes.c.orig 2006-02-23 20:28:04.000000000 +0000
++++ image/imagetypes.c
+@@ -50,7 +50,6 @@ static struct imagetypes {
+ };
+ /* SUPPRESS 560 */
+
+-extern int errno;
+ extern int findImage(char *, char *);
+
+ /* load a named image
diff --git a/graphics/magicpoint/patches/patch-am b/graphics/magicpoint/patches/patch-am
new file mode 100644
index 00000000000..b2c9267e685
--- /dev/null
+++ b/graphics/magicpoint/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2006/02/23 20:49:49 joerg Exp $
+
+--- image/path.c.orig 2006-02-23 20:30:55.000000000 +0000
++++ image/path.c
+@@ -24,8 +24,6 @@
+ /* SUPPRESS 530 */
+ /* SUPPRESS 560 */
+
+-extern int errno;
+-
+ /*static*/ unsigned int NumPaths= 0;
+ static unsigned int NumExts= 0;
+ /*static*/ char *Paths[BUFSIZ];