about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2024-05-11 21:56:38 -0400
committerGitHub <noreply@github.com>2024-05-11 21:56:38 -0400
commitf8dff35f255d832c54768e8e42ef542c4434eabd (patch)
treeead095aa8c4098c7a468d93fdb4976dadb7cbf46 /pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch
parent0913fe1d582824cb6140a90bb44a6bc45a627cd4 (diff)
parent2cc214b4c3e8e116e6af6f40735e99a505b653be (diff)
Merge pull request #298849 from rhelmot/freebsd-minimal2/fblibc
FreeBSD: Rework scope + building libc
Diffstat (limited to 'pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch')
-rw-r--r--pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch b/pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch
new file mode 100644
index 0000000000000..a7bd032d2be54
--- /dev/null
+++ b/pkgs/os-specific/bsd/freebsd/patches/14.0/libnetbsd-do-install.patch
@@ -0,0 +1,32 @@
+diff --git a/Makefile b/Makefile
+index 22710f3d933..22effc848cf 100644
+--- a/lib/libnetbsd/Makefile
++++ b/lib/libnetbsd/Makefile
+@@ -9,6 +9,26 @@ CFLAGS+=	-I${.CURDIR}
+ 
+ SRCS+=	efun.c sockaddr_snprintf.c strsuftoll.c util.c util.h
+ 
+-INTERNALLIB=
++INCSGROUPS= INCS SYSINCS NETINETINCS
++
++INCS+= \
++	glob.h \
++	pthread.h \
++	rmd160.h \
++	sha1.h \
++	sha2.h \
++	stdlib.h \
++	util.h
++
++SYSINCSDIR= ${INCLUDEDIR}/sys
++SYSINCS+= \
++	sys/cdefs.h \
++	sys/event.h \
++	sys/types.h \
++	sys/wait.h
++
++NETINETINCSDIR= ${INCLUDEDIR}/netinet
++NETINETINCS+= \
++	netinet/in.h
+ 
+ .include <bsd.lib.mk>