summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libedit/files/libedit-20061103-freebsd.patch')
-rw-r--r--dev-libs/libedit/files/libedit-20061103-freebsd.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-libs/libedit/files/libedit-20061103-freebsd.patch b/dev-libs/libedit/files/libedit-20061103-freebsd.patch
deleted file mode 100644
index f9e3aba77141..000000000000
--- a/dev-libs/libedit/files/libedit-20061103-freebsd.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-OK, FreeBSD sh does not define get_alias_text and until it does we need
-to NOT define the __weak_reference for it here.
-According to bug #157407 this will break heimdal and thunderbird.
-Tough, as our /bin/sh is more important at this time.
-
-Index: work/netbsd-cvs/sys.h
-===================================================================
---- work.orig/netbsd-cvs/sys.h
-+++ work/netbsd-cvs/sys.h
-@@ -44,6 +44,11 @@
- #include <sys/cdefs.h>
- #endif
-
-+#ifdef __FreeBSD__
-+# undef __weak_reference
-+/* # define __weak_reference(x) __attribute__((__weakref__)) */
-+#endif
-+
- #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
- # define __attribute__(A)
- #endif