You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
--- original-glibc/scripts/config.sub
|
|
+++ glibc/scripts/config.sub
|
|
@@ -302,6 +302,7 @@ case $basic_machine in
|
|
| pdp10 | pdp11 | pj | pjl \
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
|
| pyramid \
|
|
+ | riscv \
|
|
| rl78 | rx \
|
|
| score \
|
|
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
--- original-glibc/sunrpc/rpc_main.c
|
|
+++ glibc/sunrpc/rpc_main.c
|
|
@@ -38,7 +38,9 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
+#if !defined(__FreeBSD__) && !defined(__APPLE__)
|
|
#include <libintl.h>
|
|
+#endif
|
|
#include <locale.h>
|
|
#include <ctype.h>
|
|
#include <sys/types.h>
|
|
@@ -54,6 +56,10 @@
|
|
#include "../version.h"
|
|
#define PACKAGE _libc_intl_domainname
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#define stat64 stat
|
|
+#endif
|
|
+
|
|
#define EXTEND 1 /* alias for TRUE */
|
|
#define DONT_EXTEND 0 /* alias for FALSE */
|
|
|
|
--- original-glibc/sunrpc/rpc_scan.c
|
|
+++ glibc/sunrpc/rpc_scan.c
|
|
@@ -37,7 +37,9 @@
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
+#ifndef __FreeBSD__
|
|
#include <libintl.h>
|
|
+#endif
|
|
#include "rpc_scan.h"
|
|
#include "rpc_parse.h"
|
|
#include "rpc_util.h"
|
|
|