pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xorg-imake Run-time path fix for Solaris for the X...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22650873c9f8
branches:  trunk
changeset: 520812:22650873c9f8
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Mon Oct 30 10:14:17 2006 +0000

description:
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!

Note: This is the same as x11/xorg-libs/patches/patch-cu

Discussed with joerg@

diffstat:

 x11/xorg-imake/distinfo         |   3 ++-
 x11/xorg-imake/patches/patch-al |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r bc1169ac6207 -r 22650873c9f8 x11/xorg-imake/distinfo
--- a/x11/xorg-imake/distinfo   Mon Oct 30 09:35:59 2006 +0000
+++ b/x11/xorg-imake/distinfo   Mon Oct 30 10:14:17 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2006/09/25 16:41:39 joerg Exp $
+$NetBSD: distinfo,v 1.23 2006/10/30 10:14:17 dsainty Exp $
 
 SHA1 (X11R6.9.0-src1.tar.gz) = a6c077ed8fdeee5fe1956a427c4cb0bc266e1bef
 RMD160 (X11R6.9.0-src1.tar.gz) = d12270a4f41a3ceee4bfd5da22d387a3aa707df8
@@ -16,3 +16,4 @@
 SHA1 (patch-ai) = eb3853e360dd5e05ca5978791734bcba5541b162
 SHA1 (patch-aj) = 1343c744c3fde364b0407f24e09d0b11d5dcb8c4
 SHA1 (patch-ak) = ea7735f8d160993753b7ecc70dea9585f619cd67
+SHA1 (patch-al) = 99e0ec0a7119ccc8d0df72dec67ee5e4fe0dd5c7
diff -r bc1169ac6207 -r 22650873c9f8 x11/xorg-imake/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xorg-imake/patches/patch-al   Mon Oct 30 10:14:17 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-al,v 1.3 2006/10/30 10:14:17 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



Home | Main Index | Thread Index | Old Index