diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 11:10:21 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 11:10:21 +0000 |
commit | b5bea64f245a1ba6f344cb628c7e1a665a9da730 (patch) | |
tree | 535a683c719e3ab8b384e6dcf41b5fe50568c6ef /net/pmf/files | |
parent | maintainer update for misc/sword to version 1.5.5 (diff) |
Continue making net/pmf building on -current.
PR: ports/45409
Submitted by: Volker Stolz <vs@foldr.org>
Notes
Notes:
svn path=/head/; revision=70995
Diffstat (limited to 'net/pmf/files')
-rw-r--r-- | net/pmf/files/patch-ab | 6 | ||||
-rw-r--r-- | net/pmf/files/patch-c_packages-safe_malloc-Makefile | 16 | ||||
-rw-r--r-- | net/pmf/files/patch-c_packages-safe_malloc-fatal.c | 13 | ||||
-rw-r--r-- | net/pmf/files/patch-error.c | 13 |
4 files changed, 45 insertions, 3 deletions
diff --git a/net/pmf/files/patch-ab b/net/pmf/files/patch-ab index 5a4fd2cf4989..0a15da43731f 100644 --- a/net/pmf/files/patch-ab +++ b/net/pmf/files/patch-ab @@ -1,5 +1,5 @@ ---- Makefile.orig Sun May 23 20:54:05 1993 -+++ Makefile Fri Feb 11 04:02:29 2000 +--- Makefile.orig Sun May 23 13:54:05 1993 ++++ Makefile Mon Nov 18 18:08:10 2002 @@ -29,12 +29,13 @@ # pmf without GNU readline or without sound. # Remove one (or both) of "-DGNU_READLINE" and "-DSOUND". @@ -30,7 +30,7 @@ # Distribution: CFLAGS = -O # Maximum debug: CFLAGS = -g -pg -DDEBUG -pipe -CFLAGS = -O -+CFLAGS += -D_ANSI_SOURCE -DSYSTEM_DIR=\"${PREFIX}/share/pmf\" ++CFLAGS += -DSYSTEM_DIR=\"${PREFIX}/share/pmf\" ###################################################################### diff --git a/net/pmf/files/patch-c_packages-safe_malloc-Makefile b/net/pmf/files/patch-c_packages-safe_malloc-Makefile new file mode 100644 index 000000000000..2f8e8dc195f3 --- /dev/null +++ b/net/pmf/files/patch-c_packages-safe_malloc-Makefile @@ -0,0 +1,16 @@ +--- c_packages/safe_malloc/Makefile.orig Mon Nov 18 18:14:39 2002 ++++ c_packages/safe_malloc/Makefile Mon Nov 18 18:14:58 2002 +@@ -14,11 +14,11 @@ + INCLUDEDIRS = + + # CC = gcc -traditional +-CC = cc ++CC ?= cc + + # Distribution: CFLAGS = -O + # Maximum debug: CFLAGS = -g -pg -DDEBUG -pipe +-CFLAGS = -O ++#CFLAGS = -O + + all: $(OBJECTS) + diff --git a/net/pmf/files/patch-c_packages-safe_malloc-fatal.c b/net/pmf/files/patch-c_packages-safe_malloc-fatal.c new file mode 100644 index 000000000000..2153364e3ceb --- /dev/null +++ b/net/pmf/files/patch-c_packages-safe_malloc-fatal.c @@ -0,0 +1,13 @@ +--- c_packages/safe_malloc/fatal.c.orig Mon Nov 18 18:14:28 2002 ++++ c_packages/safe_malloc/fatal.c Mon Nov 18 18:15:21 2002 +@@ -8,8 +8,8 @@ + #include "safe_malloc.h" + + extern int errno; +-extern char *sys_errlist[]; +-extern int sys_nerr; ++/*extern char *sys_errlist[]; ++extern int sys_nerr;*/ + + fatal(fmt, a1, a2, a3, a4, a5) + char *fmt, *a1, *a2, *a3, *a4, *a5; diff --git a/net/pmf/files/patch-error.c b/net/pmf/files/patch-error.c new file mode 100644 index 000000000000..21e5babbf22d --- /dev/null +++ b/net/pmf/files/patch-error.c @@ -0,0 +1,13 @@ +--- error.c.orig Mon Nov 18 18:08:20 2002 ++++ error.c Mon Nov 18 18:08:48 2002 +@@ -15,8 +15,8 @@ + #include "pmf.h" + + extern int errno; +-extern char *sys_errlist[]; +-extern int sys_nerr; ++/* extern char *sys_errlist[]; ++extern int sys_nerr; */ + + /*---------------------------------------------------------------------------*/ + |