Hi Yuntong,
You need add comment for this patch in ncurses.spec
# date:2008-09-12 owner:rickju type:branding
Patch0: ncurses-01-widec.diff
Patch1: ncurses-02-rpath.diff
This patch seems should be accepted by community, would you please try
to get it upstreamed?
-Halton.
On Fri, 2009-06-05 at 02:45 -0700, yuntong.jin wrote:
> Hi, All,
>
> Please review the attached patch which fixes bug 6754653 :Invalid
> RUNPATH and RPATH in binaries from SUNWncurses
>
> Any comments are welcome.
>
> Thanks
> Simon
> plain text document attachment (ncurses-02-rpath.diff)
> --- ncurses-5.6/configure.org 2009-06-05 02:31:49.630271000 -0700
> +++ ncurses-5.6/configure 2009-06-05 02:33:26.136133000 -0700
> @@ -5124,7 +5124,7 @@
> CC_SHARED_OPTS='-KPIC'
> fi
> if test "$DFT_LWR_MODEL" = "shared" ; then
> - LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
> + LOCAL_LDFLAGS="-R \${libdir}"
> LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
> fi
> if test "$cf_cv_ld_rpath" = yes ; then