Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 527676
Collapse All | Expand All

(-)orig/cctools-822/as/messages.c (+19 lines)
Lines 17-22 Link Here
17
along with GAS; see the file COPYING.  If not, write to
17
along with GAS; see the file COPYING.  If not, write to
18
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
18
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
19
19
20
/* gcc uses __has_feature, while OS X libraries now use clang's __has_extension */
21
22
#ifndef __has_feature
23
  #define __has_feature(x) 0
24
#endif
25
#ifndef __has_extension
26
  #define __has_extension __has_feature
27
#endif
28
29
#if __has_extension(attribute_deprecated_with_message)
30
  #ifndef DEPRECATED_ATTRIBUTE_MESSAGE
31
    #define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated (message)))
32
  #endif
33
#else
34
  #ifndef DEPRECATED_ATTRIBUTE_MESSAGE
35
    #define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated))
36
  #endif
37
#endif
38
20
#include <stdio.h>
39
#include <stdio.h>
21
#include <stdarg.h>
40
#include <stdarg.h>
22
#include <stdlib.h>
41
#include <stdlib.h>
(-)orig/cctools-822/misc/Makefile (-1 / +1 lines)
Lines 28-34 Link Here
28
ifeq "" "$(TRIE)"
28
ifeq "" "$(TRIE)"
29
  LIB_PRUNETRIE =
29
  LIB_PRUNETRIE =
30
  else
30
  else
31
  LIB_PRUNETRIE = /usr/local/lib/libprunetrie.a
31
  LIB_PRUNETRIE = ../../ld64-128.2/src/libprunetrie.a
32
endif
32
endif
33
33
34
ifneq "" "$(wildcard /bin/mkdirs)"
34
ifneq "" "$(wildcard /bin/mkdirs)"
(-)orig/cctools-822/misc/libtool.c (+20 lines)
Lines 25-30 Link Here
25
 * and Mach-O objects files (no 4.3bsd a.out files).  This is also the ranlib(1)
25
 * and Mach-O objects files (no 4.3bsd a.out files).  This is also the ranlib(1)
26
 * program.
26
 * program.
27
 */
27
 */
28
29
/* gcc uses __has_feature, while OS X libraries now use clang's __has_extension */
30
31
#ifndef __has_feature
32
  #define __has_feature(x) 0
33
#endif
34
#ifndef __has_extension
35
  #define __has_extension __has_feature
36
#endif
37
38
#if __has_extension(attribute_deprecated_with_message)
39
  #ifndef DEPRECATED_ATTRIBUTE_MESSAGE
40
    #define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated (message)))
41
  #endif
42
#else
43
  #ifndef DEPRECATED_ATTRIBUTE_MESSAGE
44
    #define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated))
45
  #endif
46
#endif
47
28
#include <mach/mach.h>
48
#include <mach/mach.h>
29
#include "stuff/openstep_mach.h"
49
#include "stuff/openstep_mach.h"
30
#include <libc.h>
50
#include <libc.h>

Return to bug 527676