pkgsrc/lang/gcc48/patches/patch-libmudflap_mf-runtime.h
ryoon b730789521 Update to 4.8.3
* Convert gcc48 to simple meta-pkg
* Potentially fix non-NetBSD packaging
* Fix gcc48-libs/gcc48-cc++ build under OpenBSD/amd64 5.5
* Enable graphite option, from wip/gcc48snapshot via Xiyue Deng
* Tweak nls option

Changelog:
GCC 4.8.3

   This is the [35]list of problem reports (PRs) from GCC's bug tracking
   system that are known to be fixed in the 4.8.3 release. This list might
   not be complete (that is, it is possible that some PRs that have been
   fixed are not listed here).

   Support for the new powerpc64le-linux platform has been added. It
   defaults to generating code that conforms to the ELFV2
2014-05-31 13:06:25 +00:00

16 lines
591 B
C

$NetBSD: patch-libmudflap_mf-runtime.h,v 1.1 2014/05/31 13:06:25 ryoon Exp $
--- libmudflap/mf-runtime.h.orig 2013-02-03 17:48:05.000000000 +0000
+++ libmudflap/mf-runtime.h
@@ -31,7 +31,11 @@ see the files COPYING3 and COPYING.RUNTI
#define MF_RUNTIME_H
typedef void *__mf_ptr_t;
+#if defined(__OpenBSD__)
+typedef unsigned long __mf_uintptr_t __attribute__ ((__mode__ (__pointer__)));
+#else
typedef unsigned int __mf_uintptr_t __attribute__ ((__mode__ (__pointer__)));
+#endif
typedef __SIZE_TYPE__ __mf_size_t;
/* Global declarations used by instrumentation. When _MUDFLAP is