add all my local ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@602 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2008-12-08 19:43:30 +00:00
parent f4ff06f869
commit 6f340e9462
236 changed files with 5536 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
--- libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:54:54 +0000
+++ libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:55:30 +0000
@@ -236,7 +236,7 @@
if (charset) {
cd = iconv_open("UTF-8", charset->str);
-#ifdef SOLARIS
+#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__)
if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
#else
if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
@@ -264,7 +264,7 @@
/* because inbuf is not UTF-8, we think it is ISO-8859-1 */
cd = iconv_open("UTF-8", "ISO-8859-1");
-#ifdef SOLARIS
+#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__)
if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
#else
if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {