pkgsrc/x11/xorg-cf-files/patches/patch-af
joerg fa3fb5ee13 Import xorg-cf-files-1.0.2 with the local changes from xorg-imake.
This are the default rules used by imake. Platforms other than
DragonFly, FreeBSD, Linux and NetBSD will most likely want some work
here.

OK for import during freeze: agc@ and wiz@
2006-12-19 22:54:51 +00:00

22 lines
963 B
Text

$NetBSD: patch-af,v 1.1.1.1 2006/12/19 22:54:51 joerg Exp $
Run-time path fix for Solaris for the X client libraries. Without this
patch, libraries such as libXext.so will not contain a run-time link path
to /usr/pkg/xorg/lib, causing run time link failures or possibly linking
with other (non-Pkgsrc) X libraries on the system!
--- sun.cf.orig 2005-12-04 06:20:48.000000000 +1300
+++ sun.cf 2006-10-26 13:11:56.535497000 +1300
@@ -688,10 +688,10 @@
/* This is to work around what appears to be a PIC bug in some gcc/egcs
versions that shows up with the Solaris 7/x86 <ctype.h>. */
# define SharedLibraryLdCmd $(LD)
-# define SharedLibraryLoadFlags -G -z textwarn
+# define SharedLibraryLoadFlags -G -z textwarn LibraryRpathLoadFlags
# else
# define SharedLibraryLdCmd $(CC)
-# define SharedLibraryLoadFlags -shared -z text
+# define SharedLibraryLoadFlags -shared -z text LibraryRpathLoadFlags
# endif
# endif
# else