summaryrefslogtreecommitdiff
path: root/x11/xorg-libs/patches/patch-cu
blob: f0bdb6991c5b88d22d4a54fda7449d6e9b22fc19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cu,v 1.1 2006/10/30 09:33:32 dsainty 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!

--- config/cf/sun.cf.orig	2005-12-04 06:20:48.000000000 +1300
+++ config/cf/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