diff --git a/www/amaya/browser/Makefile b/www/amaya/browser/Makefile index 929a9a3c309..b19197a46fd 100644 --- a/www/amaya/browser/Makefile +++ b/www/amaya/browser/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2002/10/29 01:30:41 naddy Exp $ +# $OpenBSD: Makefile,v 1.10 2003/06/17 15:03:54 avsm Exp $ # # Many variables moved to ../Makefile.inc @@ -6,7 +6,7 @@ COMMENT= "test-bed browser/authoring tool of the W3C" AMAYA_VERSION= 5.1 DISTNAME= amaya-src-${AMAYA_VERSION} -PKGNAME= amaya-${AMAYA_VERSION} +PKGNAME= amaya-${AMAYA_VERSION}p1 HOMEPAGE= http://www.w3.org/Amaya/ diff --git a/www/amaya/browser/patches/patch-Amaya_thotlib_dialogue_input_c b/www/amaya/browser/patches/patch-Amaya_thotlib_dialogue_input_c new file mode 100644 index 00000000000..51e82e6c91a --- /dev/null +++ b/www/amaya/browser/patches/patch-Amaya_thotlib_dialogue_input_c @@ -0,0 +1,84 @@ +$OpenBSD: patch-Amaya_thotlib_dialogue_input_c,v 1.1 2003/06/17 15:03:54 avsm Exp $ +--- Amaya/thotlib/dialogue/input.c.orig Tue Jun 17 15:49:22 2003 ++++ Amaya/thotlib/dialogue/input.c Tue Jun 17 15:51:33 2003 +@@ -1252,7 +1252,7 @@ ThotTranslations InitTranslations ( + /* FnCopy la premiere ligne du fichier (#override, ou #...) */ + strcpy (text, "#override\n"); + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + do + { + /* Initialisations */ +@@ -1277,7 +1277,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* Lecture enventuelle d'un deuxieme modifieur */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + } + else + { +@@ -1295,7 +1295,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* Lecture de la cle */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + } + else if (!strcasecmp (ch, "alt") || !strcasecmp (ch, "meta")) + { +@@ -1307,7 +1307,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* Lecture de la cle */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + } + + /* Extrait la valeur de la cle */ +@@ -1345,7 +1345,7 @@ ThotTranslations InitTranslations ( + /* copie du separateur */ + strcat (line, ", "); + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + + if (!strcasecmp (ch, "shift")) + { +@@ -1357,7 +1357,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* Lecture enventuelle d'un deuxieme modifieur */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + } + else + { +@@ -1375,7 +1375,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* copie de la cle */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + strcat (line, ch); + strcat (line, " "); + } +@@ -1389,7 +1389,7 @@ ThotTranslations InitTranslations ( + strcat (line, " "); + /* copie de la cle */ + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + strcat (line, ch); + strcat (line, " "); + } +@@ -1498,7 +1498,7 @@ ThotTranslations InitTranslations ( + while (i != NEW_LINE); + } + ch[0] = 0; +- fscanf (file, "%80s", ch); ++ fscanf (file, "%79s", ch); + } while (e != 0); + + fclose (file);