Fix build with Brad's sysconf(3) diff, found by naddy@ in his bulk build.

This commit is contained in:
pascal 2012-05-14 23:39:39 +00:00
parent 887c043498
commit a51e30b3c9
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2012/05/07 10:34:33 pascal Exp $
# $OpenBSD: Makefile,v 1.26 2012/05/14 23:39:39 pascal Exp $
ONLY_FOR_ARCHS = amd64 i386 powerpc sparc sparc64
@ -19,7 +19,7 @@ PKGNAME-ada = gnat-${FULL_PKGVERSION}
PKGNAME-go = gccgo-${FULL_PKGVERSION}
REVISION-main = 2
REVISION-c++ = 3
REVISION-c++ = 4
REVISION-estdc = 2
REVISION-f95 = 2
REVISION-java = 3

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libstdc++-v3_include_std_mutex,v 1.1 2012/05/14 23:39:39 pascal Exp $
--- libstdc++-v3/include/std/mutex.orig Fri May 4 18:32:34 2012
+++ libstdc++-v3/include/std/mutex Fri May 4 18:33:39 2012
@@ -789,7 +789,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__get_once_mutex();
#endif
- extern "C" void __once_proxy();
+ extern "C" void __once_proxy(void);
/// call_once
template<typename _Callable, typename... _Args>