diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1997-08-13 09:38:10 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1997-08-13 09:38:10 +0000 |
commit | fc9c8ce3b5584f12acce545f4e3348b7d3dcd9bd (patch) | |
tree | 9534f8978ab9b8bde2bef98fade53d428e220072 /devel/crossgo32-djgpp2/files | |
parent | Oops, forgot to commit the other half of hack to fix this for XFree86-3.3. (diff) |
Port of the DJGPP2 libraries.
PR: 4008
Submitted by: Joel Sutton <sutton@aardvark.apana.org.au>
Notes
Notes:
svn path=/head/; revision=7561
Diffstat (limited to 'devel/crossgo32-djgpp2/files')
-rw-r--r-- | devel/crossgo32-djgpp2/files/Makefile | 7 | ||||
-rw-r--r-- | devel/crossgo32-djgpp2/files/patch-aa | 13 | ||||
-rw-r--r-- | devel/crossgo32-djgpp2/files/patch-ab | 11 | ||||
-rw-r--r-- | devel/crossgo32-djgpp2/files/patch-ac | 29 |
4 files changed, 60 insertions, 0 deletions
diff --git a/devel/crossgo32-djgpp2/files/Makefile b/devel/crossgo32-djgpp2/files/Makefile new file mode 100644 index 000000000000..21c2d72f698e --- /dev/null +++ b/devel/crossgo32-djgpp2/files/Makefile @@ -0,0 +1,7 @@ +stubedit: + ${CC} -o stubedit stubedit.c + +stubify: + ${CC} -o stubify stubify.c + +all: stubedit stubify
\ No newline at end of file diff --git a/devel/crossgo32-djgpp2/files/patch-aa b/devel/crossgo32-djgpp2/files/patch-aa new file mode 100644 index 000000000000..a362040ac59e --- /dev/null +++ b/devel/crossgo32-djgpp2/files/patch-aa @@ -0,0 +1,13 @@ +*** lib/djgpp.djl Wed Oct 23 18:06:22 1996 +--- lib/djgpp.djl2 Sun Sep 8 22:40:06 1996 +*************** +*** 1,4 **** +! OUTPUT_FORMAT("coff-go32") + ENTRY(start) + SECTIONS + { +--- 1,4 ---- +! OUTPUT_FORMAT("coff-i386") + ENTRY(start) + SECTIONS + { diff --git a/devel/crossgo32-djgpp2/files/patch-ab b/devel/crossgo32-djgpp2/files/patch-ab new file mode 100644 index 000000000000..c8f8a86fc251 --- /dev/null +++ b/devel/crossgo32-djgpp2/files/patch-ab @@ -0,0 +1,11 @@ +--- lib/specs.orig Sun May 18 23:28:53 1997 ++++ lib/specs Sun May 18 23:29:19 1997 +@@ -25,7 +25,7 @@ + %{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\ + %{L*} %D %{T*} %o -Tdjgpp.djl\ + %{!nostdlib:-lgcc %L -lgcc %{!A:%E}}}}}}} +-%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}} ++%{!c:%{!M:%{!MM:%{!E:%{!S:i386-go32-stubify %{v} %{o*:%*} %{!o*:a.out}}}}}} + + *lib: + -lc diff --git a/devel/crossgo32-djgpp2/files/patch-ac b/devel/crossgo32-djgpp2/files/patch-ac new file mode 100644 index 000000000000..681f0a33b3b1 --- /dev/null +++ b/devel/crossgo32-djgpp2/files/patch-ac @@ -0,0 +1,29 @@ +*** src/stub/stubedit.c.orig Sun Jun 22 16:51:08 1997 +--- src/stub/stubedit.c Sun Jun 22 16:57:54 1997 +*************** +*** 1,5 **** +--- 1,6 ---- + /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ + /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ ++ /* Patched by Joel Sutton - Sun Jun 22 16:57:39 EST 1997 */ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +*************** +*** 70,76 **** + static char response[200]; + printf("%s ? [%s] ", question, default_answer); + fflush(stdout); +! gets(response); + if (response[0] == '\0') + return 0; + return response; +--- 71,78 ---- + static char response[200]; + printf("%s ? [%s] ", question, default_answer); + fflush(stdout); +! fgets(response, 200, stdin); +! response[strlen(response)-1]='\0'; + if (response[0] == '\0') + return 0; + return response; |