mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Continue making net/pmf building on -current.
PR: ports/45409 Submitted by: Volker Stolz <vs@foldr.org>
This commit is contained in:
parent
7a04ddb371
commit
b5bea64f24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70995
@ -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\"
|
||||
|
||||
######################################################################
|
||||
|
||||
|
16
net/pmf/files/patch-c_packages-safe_malloc-Makefile
Normal file
16
net/pmf/files/patch-c_packages-safe_malloc-Makefile
Normal file
@ -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)
|
||||
|
13
net/pmf/files/patch-c_packages-safe_malloc-fatal.c
Normal file
13
net/pmf/files/patch-c_packages-safe_malloc-fatal.c
Normal file
@ -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;
|
13
net/pmf/files/patch-error.c
Normal file
13
net/pmf/files/patch-error.c
Normal file
@ -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; */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user