summaryrefslogtreecommitdiffstats
path: root/converters/libiconv/files/patch-include::iconv.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'converters/libiconv/files/patch-include::iconv.h.in')
-rw-r--r--converters/libiconv/files/patch-include::iconv.h.in49
1 files changed, 0 insertions, 49 deletions
diff --git a/converters/libiconv/files/patch-include::iconv.h.in b/converters/libiconv/files/patch-include::iconv.h.in
deleted file mode 100644
index 44f5177..0000000
--- a/converters/libiconv/files/patch-include::iconv.h.in
+++ /dev/null
@@ -1,49 +0,0 @@
-
-$FreeBSD$
-
---- include/iconv.h.in.orig Thu May 23 07:48:42 2002
-+++ include/iconv.h.in Sat Jun 15 14:04:11 2002
-@@ -21,6 +21,11 @@
- #ifndef _LIBICONV_H
- #define _LIBICONV_H
-
-+#ifdef __FreeBSD__
-+#define LIBICONV_PLUG
-+#endif
-+
-+
- #define _LIBICONV_VERSION 0x0108 /* version number: (major<<8) + minor */
- extern int _libiconv_version; /* Likewise */
-
-@@ -68,6 +73,8 @@
- encoding `tocode'. */
- #ifndef LIBICONV_PLUG
- #define iconv_open libiconv_open
-+#else
-+#define libiconv_open iconv_open
- #endif
- extern iconv_t iconv_open (const char* tocode, const char* fromcode);
-
-@@ -78,17 +85,21 @@
- Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
- #ifndef LIBICONV_PLUG
- #define iconv libiconv
-+#else
-+#define libiconv iconv
- #endif
- extern size_t iconv (iconv_t cd, @ICONV_CONST@ char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
-
- /* Frees resources allocated for conversion descriptor `cd'. */
- #ifndef LIBICONV_PLUG
- #define iconv_close libiconv_close
-+#else
-+#define libiconv_close iconv_close
- #endif
- extern int iconv_close (iconv_t cd);
-
-
--#ifndef LIBICONV_PLUG
-+#if !defined(LIBICONV_PLUG) || defined(__FreeBSD__)
-
- /* Nonstandard extensions. */
-
OpenPOWER on IntegriCloud