summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-14 11:21:43 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-14 11:21:43 +0000
commit01462e9e9c47196f54bde2f50090271ccc48fa5b (patch)
treec6c98701f10b6e6f59f7639085c0629e1e24dced /print
parent5fe2ff7a6f9c2f96b894cd739b4527dd3f3722c5 (diff)
downloadpkgsrc-01462e9e9c47196f54bde2f50090271ccc48fa5b.tar.gz
Don't use malloc.h.
Diffstat (limited to 'print')
-rw-r--r--print/libpaper/distinfo3
-rw-r--r--print/libpaper/patches/patch-ab19
2 files changed, 21 insertions, 1 deletions
diff --git a/print/libpaper/distinfo b/print/libpaper/distinfo
index dff3d0e7188..bae8b1373cd 100644
--- a/print/libpaper/distinfo
+++ b/print/libpaper/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/09/04 20:10:12 drochner Exp $
+$NetBSD: distinfo,v 1.2 2007/09/14 11:21:43 joerg Exp $
SHA1 (libpaper_1.1.22.tar.gz) = b811b432b25ae699c5ea5583841703460f793b88
RMD160 (libpaper_1.1.22.tar.gz) = c889d2cdd843f3ce9e553369c82a292208789b1b
Size (libpaper_1.1.22.tar.gz) = 351106 bytes
SHA1 (patch-aa) = 389af838d6d1d532227b63fb1cf93bbb889d4abd
+SHA1 (patch-ab) = 2d62d160c7f64b1ab4d12bf38632fcf433f4dd4c
diff --git a/print/libpaper/patches/patch-ab b/print/libpaper/patches/patch-ab
new file mode 100644
index 00000000000..2f1796326a9
--- /dev/null
+++ b/print/libpaper/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1 2007/09/14 11:21:43 joerg Exp $
+
+--- lib/paper.c.orig 2007-09-14 11:04:32.000000000 +0000
++++ lib/paper.c
+@@ -14,13 +14,12 @@
+ #include <sys/stat.h>
+
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
+
+ #include <unistd.h>
+
+-#include <stdlib.h>
+
+ #include "paper.h"
+