pkgsrc-Bugs archive

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

Re: pkg/27289



The following reply was made to PR pkg/27289; it has been noted by GNATS.

From: Kevin Lo <kevlo%kevlo.org@localhost>
To: rxg%myrealbox.com@localhost
Cc: gnats-bugs%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/27289
Date: Thu, 02 Jun 2005 11:52:42 +0800

 --=-NJQ3DaaVeQ3sAcek9jQm
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 Rui-Xiang Guo wrote:
 
 >>Kevin Lo wrote:
 >> Yes, I upgraded my system to -current, it still doesn't work.
 
 > I also notice about this...
 
 >> Would you take the time to fix it? Thanks.
 
 > Yes, I will do.
 > It's welcome if you have any good patch.
 
 Well, I finally have time to take a look at the code :-) Obviously, 
 It's related to /usr/lib/libpthread.so.0 while using gdb to debug the
 program, but xcin is not linked against libpthread. Attched diff is to
 fix it.
 
        Kevin
 
 
 --=-NJQ3DaaVeQ3sAcek9jQm
 Content-Disposition: attachment; filename=patch-xcin
 Content-Type: text/x-patch; name=patch-xcin; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 
 diff -ruN xcin.orig/Makefile xcin/Makefile
 --- xcin.orig/Makefile 2005-06-01 18:02:58.000000000 +0000
 +++ xcin/Makefile      2005-06-02 10:46:57.000000000 +0000
 @@ -14,9 +14,10 @@
  WRKSRC=                       ${WRKDIR}/xcin
  USE_PKGLOCALEDIR=     yes
  USE_X11BASE=          yes
 -USE_LIBTOOL=          yes
 +USE_LIBTOOL=          # defined
  
 -GNU_CONFIGURE=                yes
 +
 +GNU_CONFIGURE=                # defined
  CONFIGURE_ARGS+=      --with-db-lib=${BUILDLINK_PREFIX.db3}/lib
  CONFIGURE_ARGS+=      --with-db-inc=${BUILDLINK_PREFIX.db3}/include/db3
  
 diff -ruN xcin.orig/distinfo xcin/distinfo
 --- xcin.orig/distinfo 2005-02-23 21:00:35.000000000 +0000
 +++ xcin/distinfo      2005-06-02 10:55:48.000000000 +0000
 @@ -7,3 +7,4 @@
  SHA1 (patch-ab) = 36c4c9e5ec17a45db62fc08c2d07cc0a9ff72ae2
  SHA1 (patch-ac) = b727da5616ee89e23a9aee86a66b287376f39431
  SHA1 (patch-ad) = c39bea80e15a1283e42855ea8ed25cddf8522b56
 +SHA1 (patch-ae) = ad9cac3702556898e23c67151a967b42135f44d3
 diff -ruN xcin.orig/patches/patch-ae xcin/patches/patch-ae
 --- xcin.orig/patches/patch-ae 1970-01-01 00:00:00.000000000 +0000
 +++ xcin/patches/patch-ae      2005-06-02 10:50:45.000000000 +0000
 @@ -0,0 +1,13 @@
 +$NetBSD$
 +
 +--- src/Makefile.in.orig      2005-06-02 10:50:03.000000000 +0000
 ++++ src/Makefile.in
 +@@ -7,7 +7,7 @@ include $(top_srcdir)/Rules
 + 
 + INC  = ${xcininc} ${intl_inc} ${x_includes} -I${ximd_inc}
 + LIB  = ${xcinlib} -lXimd -lim_comm lib/libxcin.la \
 +-       ${x_libraries} ${locale_lib} ${dl_lib} ${intl_lib} -lm
 ++       ${x_libraries} ${locale_lib} ${dl_lib} ${intl_lib} -lm -lpthread
 + 
 + BIN  = xcin
 + SRC  = xcin_main.c module.c gui.c xim.c xim_IC.c fkey.c gui_main.c \
 
 --=-NJQ3DaaVeQ3sAcek9jQm--
 



Home | Main Index | Thread Index | Old Index