pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/9term/patches Add forgotten patches.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4af3250fd050
branches: trunk
changeset: 603369:4af3250fd050
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 04 20:13:48 2012 +0000
description:
Add forgotten patches.
diffstat:
x11/9term/patches/patch-libtext_text.c | 23 +++++++++++++++++++++++
x11/9term/patches/patch-libtext_text.h | 11 +++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)
diffs (42 lines):
diff -r ab5eb5882e45 -r 4af3250fd050 x11/9term/patches/patch-libtext_text.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/9term/patches/patch-libtext_text.c Fri May 04 20:13:48 2012 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-libtext_text.c,v 1.1 2012/05/04 20:13:48 joerg Exp $
+
+--- libtext/text.c.orig 1994-12-15 15:01:45.000000000 +0000
++++ libtext/text.c
+@@ -4,7 +4,10 @@
+ #include <frame.h>
+ #include <text.h>
+
++#ifndef MAX
+ #define MAX(x, y) ((x > y) ? x : y)
++#endif
++
+ #define BUTTON(n) (1<<(n-1))
+
+ static Menu edit;
+@@ -47,6 +50,7 @@ textalloc(Bitmap *b, Rectangle r, Font *
+ berror("textalloc: calloc");
+ t->length = 0;
+ t->base = 0;
++ t->end = 0;
+ t->p0 = 0;
+ t->p1 = 0;
+ t->pout = 0;
diff -r ab5eb5882e45 -r 4af3250fd050 x11/9term/patches/patch-libtext_text.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/9term/patches/patch-libtext_text.h Fri May 04 20:13:48 2012 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-libtext_text.h,v 1.1 2012/05/04 20:13:48 joerg Exp $
+
+--- libtext/text.h.orig 2012-04-28 21:27:52.000000000 +0000
++++ libtext/text.h
+@@ -87,5 +87,6 @@ ulong _backnl(Text *, long, ulong);
+
+ ulong texttoutf(char *, Rune *, Rune *);
+ ulong utftotext(Rune *, char *, char *);
++int alnum(int);
+
+ #endif
Home |
Main Index |
Thread Index |
Old Index