Bug 162571 - textproc/libxml2: provide a way to disable iconv
Summary: textproc/libxml2: provide a way to disable iconv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 03:40 UTC by Pedro F. Giffuni
Modified: 2012-03-16 02:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.12 KB, patch)
2011-11-15 03:40 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2011-11-15 03:40:02 UTC
Hi:

Everytime I #include <libxml/tree.h> in C++
I get something like this:

/usr/local/include/iconv.h:114: error: 'mbstate_t' does not name a type
..

This seems to be a GNU iconv issue but linux is not having this problem.

For the time being I would like an option to disable iconv in libxml,
so I added a knob.

The default hasn't changed so there is no need to bump the port version.
Also pet portlint while here.

Fix: Patch attached with submission follows:
How-To-Repeat: https://issues.apache.org/ooo/show_bug.cgi?id=118574
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2011-11-16 02:53:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer(s).
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2012-03-16 02:27:16 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-03-16 02:27:17 UTC
mezz        2012-03-16 02:27:04 UTC

  FreeBSD ports repository

  Modified files:
    textproc/libxml2     Makefile 
  Log:
  -Make the iconv optional.
  
  PR:             ports/162571
  Submitted by:   Pedro Giffuni <giffunip@tutopia.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.176     +6 -3      ports/textproc/libxml2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"