mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix a bug introduced by the upstream long ago.
http://cgit.freedesktop.org/libreoffice/core/commit/bridges/source/?id=55189 __FreeBSD_version was not defined and the preprocessor set it to 0 because sys/param.h was not properly included. As a consequence, it always used dlsym(3) hacks for the old rtld(1).
This commit is contained in:
parent
644ca3f58b
commit
3701b8ef99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353137
@ -2,7 +2,7 @@
|
||||
|
||||
.include "${.CURDIR}/Makefile.common"
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
|
||||
COMMENT= Full integrated office productivity suite
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- bridges/source/cpp_uno/gcc3_linux_intel/except.cxx.orig 2014-04-22 18:25:28.000000000 -0400
|
||||
+++ bridges/source/cpp_uno/gcc3_linux_intel/except.cxx 2014-05-06 16:19:42.000000000 -0400
|
||||
@@ -20,6 +20,10 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <dlfcn.h>
|
||||
+#if defined(FREEBSD)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include <boost/unordered_map.hpp>
|
||||
|
||||
#include <cxxabi.h>
|
@ -0,0 +1,12 @@
|
||||
--- bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx.orig 2014-04-22 18:25:28.000000000 -0400
|
||||
+++ bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx 2014-05-06 16:19:44.000000000 -0400
|
||||
@@ -21,6 +21,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <dlfcn.h>
|
||||
+#if defined(FREEBSD)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
|
||||
#include <cxxabi.h>
|
||||
#ifndef _GLIBCXX_CDTOR_CALLABI // new in GCC 4.7 cxxabi.h
|
Loading…
Reference in New Issue
Block a user