aboutsummaryrefslogtreecommitdiffstats
path: root/devel/as80/files
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2001-12-01 23:36:22 +0800
committernaddy <naddy@FreeBSD.org>2001-12-01 23:36:22 +0800
commit5805fff570cf26e91bb07a125b42bac254befa51 (patch)
tree22d72d3c1ed1ecea563cf2b167dfa9e2f6044f69 /devel/as80/files
parent92fe12904a4b99827ae63c54fccee460bdeb471b (diff)
downloadfreebsd-ports-gnome-5805fff570cf26e91bb07a125b42bac254befa51.tar.gz
freebsd-ports-gnome-5805fff570cf26e91bb07a125b42bac254befa51.tar.zst
freebsd-ports-gnome-5805fff570cf26e91bb07a125b42bac254befa51.zip
* Update to 0.8.
* Prune obsolete and excess verbiage from comment and description. * Add homepage URL. Approved by: greid
Diffstat (limited to 'devel/as80/files')
-rw-r--r--devel/as80/files/patch-README14
-rw-r--r--devel/as80/files/patch-aa11
-rw-r--r--devel/as80/files/patch-ab9
-rw-r--r--devel/as80/files/patch-src_as80.c105
-rw-r--r--devel/as80/files/patch-src_aux.c13
-rw-r--r--devel/as80/files/patch-src_symtbl.c13
6 files changed, 145 insertions, 20 deletions
diff --git a/devel/as80/files/patch-README b/devel/as80/files/patch-README
new file mode 100644
index 000000000000..0089c4e84b9f
--- /dev/null
+++ b/devel/as80/files/patch-README
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- README.orig Sat Dec 1 14:17:47 2001
++++ README Sat Dec 1 14:18:09 2001
+@@ -18,7 +18,7 @@
+ This is version 0.8
+
+
+-usage: asm80 infile [outfile] [-l listfile] [-s symfile]
++usage: as80 infile [outfile] [-l listfile] [-s symfile]
+
+ infile is the assembler's input
+ outfile is the binary output file
diff --git a/devel/as80/files/patch-aa b/devel/as80/files/patch-aa
deleted file mode 100644
index eaf691dbc6b4..000000000000
--- a/devel/as80/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Thu Feb 15 10:54:44 2001
-+++ Makefile Thu Feb 15 10:55:00 2001
-@@ -1,6 +1,5 @@
--CC = gcc
--CFLAGS = -Wall -pedantic -ansi -O3 -fomit-frame-pointer
--PREFIX = /usr/local
-+CC? = gcc
-+CFLAGS += -Wall -pedantic -ansi
-
- all: asm80 Manual.txt
-
diff --git a/devel/as80/files/patch-ab b/devel/as80/files/patch-ab
deleted file mode 100644
index f9a6c6619828..000000000000
--- a/devel/as80/files/patch-ab
+++ /dev/null
@@ -1,9 +0,0 @@
---- asm80.c.orig Sun Jan 14 14:08:12 2001
-+++ asm80.c Thu Feb 15 10:55:50 2001
-@@ -23,7 +23,6 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
--#include <malloc.h>
- #include "asm80.h"
-
diff --git a/devel/as80/files/patch-src_as80.c b/devel/as80/files/patch-src_as80.c
new file mode 100644
index 000000000000..b830be9ee7db
--- /dev/null
+++ b/devel/as80/files/patch-src_as80.c
@@ -0,0 +1,105 @@
+
+$FreeBSD$
+
+--- src/as80.c.orig Fri Nov 30 02:34:26 2001
++++ src/as80.c Fri Nov 30 02:36:13 2001
+@@ -26,11 +26,6 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <errno.h>
+-
+-#if SYSTEM == GNU
+-#include <getopt.h>
+-#endif
+-
+ #include "types.h"
+ #include "symtbl.h"
+ #include "as80.h"
+@@ -218,8 +213,6 @@
+ int
+ init (int argc, char **argv)
+ {
+-/* on a GNU system we can use getopt to parse command line options */
+-#if SYSTEM == GNU
+ int index, c;
+
+ /* no proper command line input */
+@@ -294,78 +287,6 @@
+ break;
+ }
+ }
+-
+-#else
+- /* otherwise we have to do it manually */
+- int arg = 1;
+-
+- puts ("non-GNU system\n");
+-
+- /* no proper command line input */
+- if (argc < 2)
+- {
+- fprintf (stderr,
+- "usage: %s infile [-o outfile] [-l listfile] [-s symfile]\n",
+- argv[0]);
+- return ERR_INIT;
+- }
+-
+- /* parse */
+- while (arg < argc)
+- {
+- if (argv[arg][0] != '-')
+- {
+- iname = argv[arg];
+- if ((IN = fopen (iname, "r")) == NULL)
+- {
+- perror ("couldn't open input file");
+- return ERR_INIT;
+- }
+- arg = 1;
+- break;
+- }
+- arg++;
+- }
+-
+- while ((arg < argc) && (argv[arg][0] == '-'))
+- {
+- if (strcmp (argv[arg], "-o"))
+- {
+- if ((OUT = fopen (argv[++arg], "wb")) == NULL)
+- {
+- perror ("couldn't topen output file");
+- return ERR_INIT;
+- }
+- doout = 1;
+- }
+- else if (strcmp (argv[arg], "-l"))
+- {
+- if ((LST = fopen (optarg, "w")) == NULL)
+- {
+- perror ("couldn't open list file");
+- return ERR_INIT;
+- }
+- dolist = 1;
+- }
+- else if (strcmp (argv[arg], "-s"))
+- {
+- if ((SYM = fopen (optarg, "w")) == NULL)
+- {
+- perror ("couldn't open symbol file");
+- return ERR_INIT;
+- }
+- dosym = 1;
+- }
+- else
+- {
+- fprintf (stderr, "unknown option %s\n", argv[arg]);
+- return ERR_INIT;
+- }
+-
+- arg++;
+- }
+-
+-#endif
+
+ /* open default outputfile */
+ if (doout == 0)
diff --git a/devel/as80/files/patch-src_aux.c b/devel/as80/files/patch-src_aux.c
new file mode 100644
index 000000000000..e7525997bdb6
--- /dev/null
+++ b/devel/as80/files/patch-src_aux.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/aux.c.orig Fri Nov 30 02:36:50 2001
++++ src/aux.c Fri Nov 30 02:36:51 2001
+@@ -22,6 +22,7 @@
+
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <string.h>
+ #include "aux.h"
+
+
diff --git a/devel/as80/files/patch-src_symtbl.c b/devel/as80/files/patch-src_symtbl.c
new file mode 100644
index 000000000000..0282de852473
--- /dev/null
+++ b/devel/as80/files/patch-src_symtbl.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/symtbl.c.orig Fri Nov 30 02:35:55 2001
++++ src/symtbl.c Fri Nov 30 02:36:08 2001
+@@ -22,6 +22,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "types.h"
+ #include "symtbl.h"
+