Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516370 - dev-util/ddd-3.3.12-r4 [Prefix]: GNU-libiconv does know charset 'UTF-8' only, not 'UTF8'
Summary: dev-util/ddd-3.3.12-r4 [Prefix]: GNU-libiconv does know charset 'UTF-8' only,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All AIX
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-07-04 14:05 UTC by Michael Haubenwallner (RETIRED)
Modified: 2014-07-15 06:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2014-07-04 14:05:12 UTC
While on Linux the iconv binary is part of GNU libc, on other Platforms it is part of GNU libiconv eventually.

While glibc iconv knows about both 'UTF8' and 'UTF-8' charsets, libiconv knows 'UTF-8' only, leading me to this patch-diff:

--- files/ddd-3.3.12-man.patch  6 Nov 2012 01:04:41 -0000       1.1
+++ files/ddd-3.3.12-man.patch  4 Jul 2014 13:59:51 -0000
@@ -10,7 +10,7 @@
 -          && $(MV) $@~ $@
 -
 +ddd.1:   ddd.man
-+      iconv -f ISO8859-15 -t UTF8 ddd.man > ddd.1
++      iconv -f ISO8859-15 -t UTF-8 ddd.man > ddd.1
  
  
  # -----------------------------------------------------------------------------


Thank you!
Comment 1 Maciej Mrozowski gentoo-dev 2014-07-14 23:54:50 UTC
Thanks for the patch, makes sense.
I guess on affected systems it just fails during compilation so revbump is not necessary?
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2014-07-15 06:14:46 UTC
Exactly, no revbump necessary. Thanks!