Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 1998 17:26:45 +0900
From:      Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
To:        ports@FreeBSD.ORG
Subject:   Re: ports/7342: update ja-tk-8.0.2 
Message-ID:  <19980723172645G.taguchi@tohoku.iij.ad.jp>
In-Reply-To: Your message of "Tue, 21 Jul 1998 15:04:20 %2B0900" <19980721150420J.taguchi@tohoku.iij.ad.jp>
References:  <19980721150420J.taguchi@tohoku.iij.ad.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, again.

ja-tk8.0.2 now supports XIM protocol. This means it can use
vje-delta for KANA-KANJI conversion.

But ja-tk8.0.2 now call XOpenIM(). This function requires 
i18n setlocale(3). So it should link libxpg4 ...

Here is a patch.

BEGIN>---8<cut here>8---
diff -urN tk80.BUG/patches/patch-aa tk80/patches/patch-aa
--- tk80.BUG/patches/patch-aa	Thu Jul 23 17:18:11 1998
+++ tk80/patches/patch-aa	Thu Jul 23 16:08:09 1998
@@ -1,5 +1,5 @@
---- configure.in.ORIG	Tue Jul 21 14:06:45 1998
-+++ configure.in	Tue Jul 21 14:08:04 1998
+--- configure.in.ORIG	Thu Jul 23 13:40:20 1998
++++ configure.in	Thu Jul 23 13:48:06 1998
 @@ -9,6 +9,7 @@
  TK_MINOR_VERSION=0
  TK_PATCH_LEVEL="p2"
@@ -28,7 +28,20 @@
  LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
  
  # If Tcl and Tk are installed in different places, adjust the library
-@@ -492,8 +495,10 @@
+@@ -393,6 +396,12 @@
+ fi
+ 
+ #--------------------------------------------------------------------
++#       Under FreeBSD, setlocale(3) stuff is in libxpg4.
++#--------------------------------------------------------------------
++
++AC_CHECK_LIB(xpg4, main, [LIBS="$LIBS -lxpg4"])
++
++#--------------------------------------------------------------------
+ #	On a few very rare systems, all of the libm.a stuff is
+ #	already in libc.a.  Set compiler flags accordingly.
+ #	Also, Linux requires the "ieee" library for math to
+@@ -492,8 +501,10 @@
  AC_SUBST(SHLIB_VERSION)
  AC_SUBST(TCL_BIN_DIR)
  AC_SUBST(TCL_BUILD_LIB_SPEC)
END>---8<cut here>8---

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980723172645G.taguchi>