From 3bd9a68c403b356790d786396e94e7aceb80d9d5 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Mon, 22 Jan 2007 02:45:35 +0000 Subject: [PATCH] - Fix broken caused by devel/libuninum upgrade. - bump PORTREVISION --- textproc/msort/Makefile | 1 + textproc/msort/files/patch-info.c | 10 ++++++++++ textproc/msort/files/patch-msort.c | 18 ++++++++++++++++++ textproc/msort/files/patch-unicode.h | 7 +++++++ 4 files changed, 36 insertions(+) create mode 100644 textproc/msort/files/patch-info.c create mode 100644 textproc/msort/files/patch-msort.c create mode 100644 textproc/msort/files/patch-unicode.h diff --git a/textproc/msort/Makefile b/textproc/msort/Makefile index c5187d58de8b..5b2fba9af4f1 100644 --- a/textproc/msort/Makefile +++ b/textproc/msort/Makefile @@ -7,6 +7,7 @@ PORTNAME= msort PORTVERSION= 8.35 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://billposer.org/Software/Downloads/ EXTRACT_SUFX= .tgz diff --git a/textproc/msort/files/patch-info.c b/textproc/msort/files/patch-info.c new file mode 100644 index 000000000000..43178afe7b2c --- /dev/null +++ b/textproc/msort/files/patch-info.c @@ -0,0 +1,10 @@ +--- info.c.orig Tue Jan 9 10:35:41 2007 ++++ info.c Mon Jan 22 09:39:59 2007 +@@ -21,6 +21,7 @@ + + #include + #include ++#include "unicode.h" + #include + #ifdef LOCALE_GETTEXT + #include diff --git a/textproc/msort/files/patch-msort.c b/textproc/msort/files/patch-msort.c new file mode 100644 index 000000000000..60f369e9168a --- /dev/null +++ b/textproc/msort/files/patch-msort.c @@ -0,0 +1,18 @@ +--- msort.c.orig Fri Jan 12 08:21:54 2007 ++++ msort.c Mon Jan 22 10:32:56 2007 +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include "unicode.h" + #include + #include + +@@ -58,7 +59,6 @@ + typedef unsigned long ULongLong; + #endif + +-#include "unicode.h" + #include "exitcode.h" + #include "retcodes.h" + #include "input.h" diff --git a/textproc/msort/files/patch-unicode.h b/textproc/msort/files/patch-unicode.h new file mode 100644 index 000000000000..7593d781a241 --- /dev/null +++ b/textproc/msort/files/patch-unicode.h @@ -0,0 +1,7 @@ +--- unicode.h.orig Mon Jan 8 03:33:05 2007 ++++ unicode.h Mon Jan 22 09:29:08 2007 +@@ -1,3 +1,4 @@ ++typedef unsigned short UTF16; + typedef unsigned long UTF32; /* at least 32 bits */ + typedef unsigned char UTF8; /* 8 bits */ + typedef unsigned char Boolean; /* 0 or 1 */