pkgsrc-Users archive

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

gettext-0.22 API change ? (Re: wip/R has 4.3.1, please check



tnn@ suggested gettext-0.22 may have changed the API
(or this is the intention of upstream).

| ld: ../../lib/libR.so: undefined reference to `textdomain'
| ld: ../../lib/libR.so: undefined reference to `dgettext'
| ld: ../../lib/libR.so: undefined reference to `dngettext'
| ld: ../../lib/libR.so: undefined reference to `gettext'
| ld: ../../lib/libR.so: undefined reference to `ngettext'
| ld: ../../lib/libR.so: undefined reference to `bindtextdomain'

Simple symbols are now hidden, and translation may be necessary with
libintl_ prefix.

If you browse the symbols by nm for libintl.so.8.3.0
with following command, you'll see the difference.
    nm /usr/pkg/lib/libintl.so.8.3.0 | grep ' T '

(The version of this 8.3.0 has not been changed from 0.21.1 to 0.22,
it is strange to me, by the way)

So. I've added the patch to src/include/Defn.h to include
gettext/libintl.h.
  http://mail-index.netbsd.org/pkgsrc-wip-changes/2023/07/17/msg027736.html

I'm not sure which header files to be modified,

And sorry, still 'gettext' symbols is not resolved.
Any way,
Please correct the header file to be modified, and commit to math/R proper,
thank you.

By jperkin@, other OS like SmartOS does not have this problem,
so there may be possibility of builtin.mk issue of gettext.

thank you for reading,
-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E
----
pkgsrc freshness:
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html




Home | Main Index | Thread Index | Old Index