diff options
| author | Karsten Hopp <karsten@fedoraproject.org> | 2007-02-08 15:40:29 +0000 |
|---|---|---|
| committer | Karsten Hopp <karsten@fedoraproject.org> | 2007-02-08 15:40:29 +0000 |
| commit | f79ec8ce5eb955bdf674888dc63c2353c08a2678 (patch) | |
| tree | 77c5f2bf015974bfa05f5d5daab9d94d5ebc8e4a /libtool-1.5.22-relativepath.patch | |
| parent | 5cd18349bc1f4d68f2cbcb58d6f18cc7ad3c8fd6 (diff) | |
- fix ltdl file open (#225116)libtool-1_5_22-9
- fix lt_unset usage (#227454)
- spec file cleanups for merge review
Diffstat (limited to 'libtool-1.5.22-relativepath.patch')
| -rw-r--r-- | libtool-1.5.22-relativepath.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libtool-1.5.22-relativepath.patch b/libtool-1.5.22-relativepath.patch index 37086ed..4b0b30e 100644 --- a/libtool-1.5.22-relativepath.patch +++ b/libtool-1.5.22-relativepath.patch @@ -1,15 +1,15 @@ ---- libtool-1.5.22/libltdl/ltdl.c.rh2 2006-11-06 15:40:04.000000000 +0100 -+++ libtool-1.5.22/libltdl/ltdl.c 2006-11-06 15:40:26.000000000 +0100 -@@ -3203,10 +3203,12 @@ +--- libtool-1.5.22/libltdl/ltdl.c.relativepath 2007-02-08 09:20:54.000000000 -0500 ++++ libtool-1.5.22/libltdl/ltdl.c 2007-02-08 09:46:41.000000000 -0500 +@@ -3203,9 +3203,10 @@ } #endif } -+#if 0 - if (!file) +- if (!file) ++ if (!file) { - file = fopen (filename, LT_READTEXT_MODE); +- file = fopen (filename, LT_READTEXT_MODE); ++ if(strstr(filename,"/") || strcmp((filename + strlen(filename) - 3), ".la") != 0) ++ file = fopen (filename, LT_READTEXT_MODE); } -+#endif /* If we didn't find the file by now, it really isn't there. Set - the status flag, and bail out. */ |
