diff options
Diffstat (limited to 'meta/recipes-extended/slang/slang/rpathfix.patch')
-rw-r--r-- | meta/recipes-extended/slang/slang/rpathfix.patch | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/meta/recipes-extended/slang/slang/rpathfix.patch b/meta/recipes-extended/slang/slang/rpathfix.patch deleted file mode 100644 index f82a5313d5..0000000000 --- a/meta/recipes-extended/slang/slang/rpathfix.patch +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | Without this patch we see rpaths hardcoded into the build which results in QA | ||
2 | warnings. These rpaths are not needed so lets turn this off. | ||
3 | |||
4 | Upstream-Status: Inappropriate | ||
5 | (but could be turned into a proper configure option) | ||
6 | |||
7 | RP 2012/03/14 | ||
8 | |||
9 | Index: slang-2.2.4/configure | ||
10 | =================================================================== | ||
11 | --- slang-2.2.4.orig/configure 2012-03-14 23:40:01.283560679 +0000 | ||
12 | +++ slang-2.2.4/configure 2012-03-14 23:41:18.023558900 +0000 | ||
13 | @@ -6246,68 +6246,7 @@ esac | ||
14 | ELF_CFLAGS="$ELF_CFLAGS $IEEE_CFLAGS" | ||
15 | CFLAGS="$CFLAGS $IEEE_CFLAGS" | ||
16 | |||
17 | - | ||
18 | -if test "X$libdir" != "X" | ||
19 | -then | ||
20 | - if test "X$RPATH" = "X" | ||
21 | - then | ||
22 | - | ||
23 | -case "$host_os" in | ||
24 | - *linux*|*solaris* ) | ||
25 | - if test "X$GCC" = Xyes | ||
26 | - then | ||
27 | - if test "X$ac_R_nospace" = "Xno" | ||
28 | - then | ||
29 | - RPATH="-Wl,-R," | ||
30 | - else | ||
31 | - RPATH="-Wl,-R" | ||
32 | - fi | ||
33 | - else | ||
34 | - if test "X$ac_R_nospace" = "Xno" | ||
35 | - then | ||
36 | - RPATH="-R " | ||
37 | - else | ||
38 | - RPATH="-R" | ||
39 | - fi | ||
40 | - fi | ||
41 | - ;; | ||
42 | - *osf*|*openbsd*|*freebsd*) | ||
43 | - if test "X$GCC" = Xyes | ||
44 | - then | ||
45 | - RPATH="-Wl,-rpath," | ||
46 | - else | ||
47 | - RPATH="-rpath " | ||
48 | - fi | ||
49 | - ;; | ||
50 | - *netbsd*) | ||
51 | - if test "X$GCC" = Xyes | ||
52 | - then | ||
53 | - RPATH="-Wl,-R" | ||
54 | - fi | ||
55 | - ;; | ||
56 | -esac | ||
57 | - | ||
58 | - if test "X$RPATH" != "X" | ||
59 | - then | ||
60 | - RPATH="$RPATH$libdir" | ||
61 | - fi | ||
62 | - else | ||
63 | - _already_there=0 | ||
64 | - for X in `echo $RPATH | sed 's/:/ /g'` | ||
65 | - do | ||
66 | - if test "$X" = "$libdir" | ||
67 | - then | ||
68 | - _already_there=1 | ||
69 | - break | ||
70 | - fi | ||
71 | - done | ||
72 | - if test $_already_there = 0 | ||
73 | - then | ||
74 | - RPATH="$RPATH:$libdir" | ||
75 | - fi | ||
76 | - fi | ||
77 | -fi | ||
78 | - | ||
79 | +RPATH="" | ||
80 | |||
81 | # The cast to long int works around a bug in the HP C Compiler | ||
82 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||