work around broken gcc(?) on alpha

This commit is contained in:
sturm 2005-12-18 21:53:18 +00:00
parent e526e362f9
commit 64f1be3535
11 changed files with 122 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.38 2005/11/05 23:47:58 naddy Exp $
# $OpenBSD: Makefile,v 1.39 2005/12/18 21:53:18 sturm Exp $
COMMENT= "GNU gettext"
DISTNAME= gettext-0.14.5
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgattrib_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgattrib.c.orig Sun Dec 18 11:55:24 2005
+++ gettext-tools/src/msgattrib.c Sun Dec 18 11:56:06 2005
@@ -69,7 +69,7 @@ enum
static int to_change;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "clear-fuzzy", no_argument, NULL, CHAR_MAX + 8 },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgcat_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgcat.c.orig Sun Dec 18 11:57:28 2005
+++ gettext-tools/src/msgcat.c Sun Dec 18 11:57:40 2005
@@ -53,7 +53,7 @@ static int force_po;
static const char *to_code;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgcomm_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgcomm.c.orig Sun Dec 18 11:57:59 2005
+++ gettext-tools/src/msgcomm.c Sun Dec 18 11:58:10 2005
@@ -55,7 +55,7 @@ static int force_po;
static const char *to_code;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgconv_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgconv.c.orig Sun Dec 18 11:58:30 2005
+++ gettext-tools/src/msgconv.c Sun Dec 18 11:58:40 2005
@@ -52,7 +52,7 @@ static int force_po;
static const char *to_code;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgen_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgen.c.orig Sun Dec 18 11:58:59 2005
+++ gettext-tools/src/msgen.c Sun Dec 18 11:59:09 2005
@@ -48,7 +48,7 @@
static int force_po;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgfilter_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgfilter.c.orig Sun Dec 18 11:59:28 2005
+++ gettext-tools/src/msgfilter.c Sun Dec 18 11:59:38 2005
@@ -97,7 +97,7 @@ static char **sub_argv;
static int sub_argc;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msggrep_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msggrep.c.orig Sun Dec 18 12:00:32 2005
+++ gettext-tools/src/msggrep.c Sun Dec 18 12:00:44 2005
@@ -81,7 +81,7 @@ struct grep_task {
static struct grep_task grep_task[3];
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "comment", no_argument, NULL, 'C' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msgmerge_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msgmerge.c.orig Sun Dec 18 12:01:04 2005
+++ gettext-tools/src/msgmerge.c Sun Dec 18 12:01:15 2005
@@ -84,7 +84,7 @@ static const char *version_control_strin
static const char *backup_suffix_string;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "backup", required_argument, NULL, CHAR_MAX + 1 },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_msguniq_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/msguniq.c.orig Sun Dec 18 12:01:40 2005
+++ gettext-tools/src/msguniq.c Sun Dec 18 12:01:51 2005
@@ -52,7 +52,7 @@ static int force_po;
static const char *to_code;
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-location", no_argument, &line_comment, 1 },
{ "directory", required_argument, NULL, 'D' },

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gettext-tools_src_xgettext_c,v 1.1 2005/12/18 21:53:18 sturm Exp $
--- gettext-tools/src/xgettext.c.orig Sun Dec 18 12:02:56 2005
+++ gettext-tools/src/xgettext.c Sat Dec 17 05:43:18 2005
@@ -176,7 +176,7 @@ iconv_t xgettext_current_source_iconv;
#endif
/* Long options. */
-static const struct option long_options[] =
+static struct option long_options[] =
{
{ "add-comments", optional_argument, NULL, 'c' },
{ "add-location", no_argument, &line_comment, 1 },