summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-07-21 01:48:26 +0000
committerRoy Marples <uberlord@gentoo.org>2007-07-21 01:48:26 +0000
commit1c36d6dfc5a68c191d0a91ca9a3b66cacaafbbee (patch)
tree5d81052b1bcac891afc606cc4f584d554d17b440 /dev-libs/libedit/files
parentversion bump (bug #181934) (diff)
downloadgentoo-2-1c36d6dfc5a68c191d0a91ca9a3b66cacaafbbee.tar.gz
gentoo-2-1c36d6dfc5a68c191d0a91ca9a3b66cacaafbbee.tar.bz2
gentoo-2-1c36d6dfc5a68c191d0a91ca9a3b66cacaafbbee.zip
Don't define get_alias_text on FreeBSD until our sh supports it.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-libs/libedit/files')
-rw-r--r--dev-libs/libedit/files/digest-libedit-20061103-r23
-rw-r--r--dev-libs/libedit/files/libedit-20061103-freebsd.patch7
2 files changed, 9 insertions, 1 deletions
diff --git a/dev-libs/libedit/files/digest-libedit-20061103-r2 b/dev-libs/libedit/files/digest-libedit-20061103-r2
new file mode 100644
index 000000000000..cc5a3bd4a954
--- /dev/null
+++ b/dev-libs/libedit/files/digest-libedit-20061103-r2
@@ -0,0 +1,3 @@
+MD5 54f47c091e20563c3281684f4719a106 libedit-20061103.tar.bz2 97032
+RMD160 8c15895dedd69d979c8d911803246808c12ea198 libedit-20061103.tar.bz2 97032
+SHA256 11542988eeed1fbe23b8b421389dbd37fb0cedb1d7c76b49399163be27eacf3f libedit-20061103.tar.bz2 97032
diff --git a/dev-libs/libedit/files/libedit-20061103-freebsd.patch b/dev-libs/libedit/files/libedit-20061103-freebsd.patch
index dea35d4e122c..f9e3aba77141 100644
--- a/dev-libs/libedit/files/libedit-20061103-freebsd.patch
+++ b/dev-libs/libedit/files/libedit-20061103-freebsd.patch
@@ -1,3 +1,8 @@
+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
@@ -8,7 +13,7 @@ Index: work/netbsd-cvs/sys.h
+#ifdef __FreeBSD__
+# undef __weak_reference
-+# define __weak_reference(x) __attribute__((__weakref__))
++/* # define __weak_reference(x) __attribute__((__weakref__)) */
+#endif
+
#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)