Changeset View
Changeset View
Standalone View
Standalone View
head/devel/elfutils/files/patch-lib_eu-config.h
--- lib/eu-config.h.orig 2015-06-11 11:38:55 UTC | --- lib/eu-config.h.orig 2020-03-30 12:17:45 UTC | ||||
+++ lib/eu-config.h | +++ lib/eu-config.h | ||||
@@ -187,4 +187,180 @@ asm (".section predict_data, \"aw\"; .pr | @@ -176,6 +176,182 @@ asm (".section predict_data, \"aw\"; .previous\n" | ||||
#endif | #define ELFUTILS_HEADER(name) <lib##name.h> | ||||
+/* FreeBSD ports of glibcisms */ | +/* FreeBSD ports of glibcisms */ | ||||
+#include <sys/cdefs.h> | +#include <sys/cdefs.h> | ||||
+#include <libgen.h> | +#include <libgen.h> | ||||
+#include <limits.h> | +#include <limits.h> | ||||
+#include <stdarg.h> | +#include <stdarg.h> | ||||
+#include <stdint.h> | +#include <stdint.h> | ||||
▲ Show 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | |||||
+{ | +{ | ||||
+ | + | ||||
+ return (__DECONST(char *, dom)); | + return (__DECONST(char *, dom)); | ||||
+} | +} | ||||
+ | + | ||||
+#define ngettext(s, p, n) (((n) == 1) ? (s) : (p)) | +#define ngettext(s, p, n) (((n) == 1) ? (s) : (p)) | ||||
+#endif | +#endif | ||||
+ | + | ||||
#endif /* eu-config.h */ | #ifdef SYMBOL_VERSIONING | ||||
# define OLD_VERSION(name, version) \ | |||||
asm (".globl _compat." #version "." #name "\n" \ |