1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net-im/ymessenger/files/patch-ymessenger
Doug Barton 5d27f898a2 Fix runtime on HEAD by pre-loading libc_r.so.
This is a no-op on RELENG_4.

Fix suggested by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by:		MAINTAINER
2003-08-31 00:12:09 +00:00

12 lines
439 B
Plaintext

--- bin/ymessenger.orig Mon May 6 23:06:27 2002
+++ bin/ymessenger Sat Aug 30 03:09:58 2003
@@ -1,4 +1,5 @@
#!/bin/sh
-LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH
-export LD_LIBRARY_PATH
-exec /opt/ymessenger/bin/ymessenger.bin $@
+LD_LIBRARY_PATH=%%PREFIX%%/lib/ymessenger:$LD_LIBRARY_PATH
+LD_PRELOAD=/usr/lib/libc_r.so:/usr/lib/libc.so
+export LD_LIBRARY_PATH LD_PRELOAD
+exec %%PREFIX%%/libexec/ymessenger/ymessenger.bin $@