diff options
author | maho <maho@FreeBSD.org> | 2007-01-17 11:15:55 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-17 11:15:55 +0800 |
commit | f7587e0dacf834d9a9fa86ec54dc94640d774180 (patch) | |
tree | a5c89a62b48cc74e53d4c77210b4b8bc68fee7b0 /editors/openoffice.org-2-devel/files | |
parent | 91df0541cc47418b5c604c81c305a7583bda9156 (diff) | |
download | freebsd-ports-graphics-f7587e0dacf834d9a9fa86ec54dc94640d774180.tar.gz freebsd-ports-graphics-f7587e0dacf834d9a9fa86ec54dc94640d774180.tar.zst freebsd-ports-graphics-f7587e0dacf834d9a9fa86ec54dc94640d774180.zip |
RTLD hack is gone for FreeBSD_version >= 602103 (MFC'ed from current)
http://docs.freebsd.org/cgi/mid.cgi?200701160751.l0G7p4gH046864
http://docs.freebsd.org/cgi/mid.cgi?200701160940.l0G9eOQv074301
Submitted by: jkim
Diffstat (limited to 'editors/openoffice.org-2-devel/files')
-rw-r--r-- | editors/openoffice.org-2-devel/files/patch-i66667 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/openoffice.org-2-devel/files/patch-i66667 b/editors/openoffice.org-2-devel/files/patch-i66667 index a93aaea2617..c1d8cd362e9 100644 --- a/editors/openoffice.org-2-devel/files/patch-i66667 +++ b/editors/openoffice.org-2-devel/files/patch-i66667 @@ -33,7 +33,7 @@ }; //__________________________________________________________________________________________________ RTTI::RTTI() SAL_THROW( () ) -+#if __FreeBSD_version < 700022 ++#if __FreeBSD_version < 602103 : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) ) +#else + : m_hApp( dlopen( 0, RTLD_LAZY ) ) @@ -57,7 +57,7 @@ OString symName( buf.makeStringAndClear() ); -//#iZ 22253 -+#if __FreeBSD_version < 700022 /* #i22253# */ ++#if __FreeBSD_version < 602103 /* #i22253# */ rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() ); +#else + rtti = (type_info *)dlsym( m_hApp, symName.getStr() ); @@ -117,7 +117,7 @@ }; //__________________________________________________________________________________________________ RTTI::RTTI() SAL_THROW( () ) -+#if __FreeBSD_version < 700022 ++#if __FreeBSD_version < 602103 : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) ) +#else + : m_hApp( dlopen( 0, RTLD_LAZY ) ) @@ -129,7 +129,7 @@ buf.append( 'E' ); OString symName( buf.makeStringAndClear() ); -+#if __FreeBSD_version < 700022 /* #i22253# */ ++#if __FreeBSD_version < 602103 /* #i22253# */ rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() ); +#else + rtti = (type_info *)dlsym( m_hApp, symName.getStr() ); |