diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2014-09-14 17:21:26 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2014-09-14 17:21:26 +0000 |
commit | e07375286ce8e3badbd0e948dc54dbb10152fdd7 (patch) | |
tree | 8f1878ba30a047eefa94f482d0f8df13bf32e42e /lang/icc/files/patch-include__c++__cstdio | |
parent | - Fix RUN_DEPENDS (diff) |
- Assign maintainership to Carlos Jacobo Puga Medina <cpm@fbsd.es>
- Add RESTRICTED, LICENSE
- Clean up Makefile
- Retire post-install
- Use pkg-message
- Rename patches according to the naming conventions
PR: 193446
Submitted by: cpm@fbsd.es
Reviewed by: marino, riggs
Diffstat (limited to 'lang/icc/files/patch-include__c++__cstdio')
-rw-r--r-- | lang/icc/files/patch-include__c++__cstdio | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lang/icc/files/patch-include__c++__cstdio b/lang/icc/files/patch-include__c++__cstdio new file mode 100644 index 000000000000..64a832a67796 --- /dev/null +++ b/lang/icc/files/patch-include__c++__cstdio @@ -0,0 +1,67 @@ +--- include/c++/cstdio.orig Wed Mar 17 14:14:58 2004 ++++ include/c++/cstdio Wed Mar 17 14:17:22 2004 +@@ -13,40 +13,6 @@ + #include <stdio.h> + #endif /* _STD_USING */ + +- #if defined(__GLIBC__) /* compiler test */ +- +- #define _HAS_POINTER_CLIB 1 +- #define _RBEGIN _IO_read_base +- #define _RNEXT _IO_read_ptr +- #define _REND _IO_read_end +- #define _WBEGIN _IO_write_base +- #define _WNEXT _IO_write_ptr +- #define _WEND _IO_write_end +- #endif /* defined(__GLIBC__) */ +- +- #if !defined(__GLIBC__) /* compiler test */ +- +- #if defined(__MWERKS__) +- #define _IOBASE buffer +- #define _IOPTR buffer_ptr +- #define _IOCNT buffer_len +- +- #else /* elif defined(__sun) */ +- #define _IOBASE _base +- #define _IOPTR _ptr +- #define _IOCNT _cnt +- #endif /* defined(__MWERKS__) */ +- +- #endif /* !defined(__GLIBC__) etc. */ +- +- #ifndef _HAS_POINTER_CLIB +-/* +- I do not know, why this is defined here, but this breaks down library +- compilation. Commented out as QNX does +- */ +-// #define _HAS_CONVENTIONAL_CLIB 1 +- #endif /* _HAS_POINTER_CLIB */ +- + #ifdef _GLOBAL_USING + _STD_BEGIN + using _CSTD size_t; using _CSTD fpos_t; using _CSTD FILE; +@@ -74,23 +40,6 @@ + _STD_END + #endif /* _GLOBAL_USING */ + +-#ifndef __QNX__ +-#ifndef _Filet +- #define _Filet FILE +-#endif /* _Filet */ +-#endif /* __QNX__ */ +- +-#ifndef _FPOSOFF +- +- #if defined(__GLIBC__) /* compiler test */ \ +- && !(__GLIBC__ < 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ < 2) +- #define _FPOSOFF(fp) ((long)(fp).__pos) +- +- #else /* !defined(__GLIBC__) etc. */ +- #define _FPOSOFF(fp) ((long)(fp)) +- #endif /* !defined(__GLIBC__) etc. */ +- +-#endif /* _FPOSOFF */ + #endif /* _CSTDIO_ */ + + /* |