1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

First step to make this port working. Configure works and all patches

apply now. There are still some compile errors to fix.

As you may see the patchnames are very long, but that makes
maintaining patches a lot easier.
This commit is contained in:
Martin Blapp 2002-10-18 22:41:42 +00:00
parent af1eec5621
commit 5f6e7f6949
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68299
3077 changed files with 66861 additions and 138890 deletions

View File

@ -6,81 +6,289 @@
#
PORTNAME= openoffice
PORTVERSION= 642
CATEGORIES= editors
MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz095_i386_FreeBSD-4.tar.gz
PORTVERSION= 643
CATEGORIES+= editors
MASTER_SITES+= http://ny1.mirror.openoffice.org/developer/%SUBDIR%/ \
http://ftp.gwdg.de/pub/misc/openoffice/developer/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,developer/%SUBDIR%,misc/openoffice/&,} \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ny1.mirror.openoffice.org/miscellaneous/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTFILES+= oo_${PORTVERSION}_src.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz
.if defined(L10NHELP)
DISTFILES+= ${L10NHELP:S/$/:help/}
.endif
SORT?= /usr/bin/sort
FIND?= /usr/bin/find
CUT?= /usr/bin/cut
AWK?= /usr/bin/awk
GREP?= /usr/bin/grep
MOUNT?= /sbin/mount
ZIP?= ${PREFIX}/bin/zip
UNZIP?= ${PREFIX}/bin/unzip
TCSH?= /bin/tcsh
.include <bsd.port.pre.mk>
PROCFS!= ${MOUNT} | ${GREP} ^procfs | ${AWK} '{print $1}'
INSTALLATION_BASEDIR= OpenOffice.org1.0
DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
#
# configuration for language specific slave ports
#
.if !defined(LANG_EXT)
LANG_EXT=01
.else
#
# Add pkg-comment and pkg-descr if available
#
.if exists(${.CURDIR}/pkg-comment)
COMMENT= ${.CURDIR}/pkg-comment
.endif
.if exists(${.CURDIR}/pkg-descr)
DESCR= ${.CURDIR}/pkg-descr
.endif
#
# Set prefix and suffix
#
.if defined(LANG_PKGNAME)
PKGNAMEPREFIX= ${LANG_PKGNAME}-
.if defined(LANG_SUFFIX)
PKGNAMESUFFIX= -${LANG_SUFFIX}
.endif
.endif # if defined(LANG_PKGNAME)
#
# LANG_CONFIGURE_ARG is missing for the german port
#
.if defined(LANG_EXT) && ${LANG_EXT}!=49
CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS
.endif
.endif
.if ${OSVERSION} < 500000
#
# OO build is broken with the system gcc on STABLE.
#
USE_GCC=3.1
.else
.endif
.if ${OSVERSION} > 500000
#
# OO is still broken with the system gcc on CURRENT.
#
.if defined(USE_GCC) && ${USE_GCC} == 3.2
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
CC= gcc32
CXX= g++32
.endif
.endif
EXTRACT_ONLY= oo_${PORTVERSION}_src.tar.bz2
MAINTAINER= openoffice@FreeBSD.org
# OO needs DISPLAY to be set and working
RESTRICTED= "No automated build possible"
.if !defined(USE_GCC)
BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc295:${PORTSDIR}/lang/gcc295
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/jakarta-ant
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
LIB_DEPENDS+= pth.14:${PORTSDIR}/devel/pth
BUILD_DEPENDS+= ${X11BASE}/lib/libX11.so:${PORTSDIR}/x11/XFree86-4-libraries
.if !defined(DISPLAY)
BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer
.endif
BROKEN= 'Work in progress -- does not build yet till the end'
USE_XLIB= yes
USE_PERL5= yes
USE_BZIP2= yes
USE_BISON= yes
USE_GMAKE= yes
EXTRACT_BEFORE_ARGS_R= -dc
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
EXTRACT_REST= gpc231.tar.Z oo_moz095_i386_FreeBSD-4.tar.gz
EXTRACT_REST= gpc231.tar.Z
GCC_VERSION!= ${CC} --version
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
JAVAVM= ${JDK13DIR}/bin/java
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/
.if defined(WITH_DEBUG)
CFLAGS+= -g
.if ${WITH_DEBUG} == 2
BUILD= dmake debug="true"
.else
BUILD= dmake
.endif
.else
BUILD= dmake strip="true"
.endif
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
--with-jdk-home=${JDK13DIR} \
--with-os-version=${OSVERSION}
.if !defined(DISPLAY)
DISPLAYHACK=localhost:1001
.endif
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS} \
CC=gcc295 \
CXX=g++295
PTHREAD_LIBS=${PTHREAD_LIBS}
MAKE_ENV= CC=${CC} CFLAGS=${CFLAGS}
CONFIGURE_ARGS+= --with-jdk-home=${JDK13DIR} \
--with-os-version=${OSVERSION} \
--with-ant-home=${LOCALBASE}/jakarta-ant-1.5.1
.include <bsd.port.pre.mk>
.if !defined(USE_GCC)
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX}
.endif
.if defined(WITH_DEBUG)
.if ${WITH_DEBUG} == 2
CONFIGURE_ARGS+= --enable-debug
.endif
.endif
.if defined(USE_GCC) && (${USE_GCC} == 3.1 || ${USE_GCC} == 3.2)
CONFIGURE_ARGS+= --enable-gcc3
.endif
.if ${OSVERSION} > 500000 && !defined(USE_GCC)
CONFIGURE_ARGS+= --enable-gcc3
.endif
pre-fetch:
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
@ ${ECHO}
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
@ ${ECHO}
@ ${FALSE}
@${ECHO}
@${ECHO} "REQUIREMENTS:"
.if ${PROCFS}
@${ECHO}
@${ECHO} Check if procfs is running: YES
.else
@${ECHO} -----------------------------------------------------------
@${ECHO}
@${ECHO} OpenOffice setup still needs a running procfs, which may
@${ECHO} not be activated. Please read the procfs\(5\) manpage and
@${ECHO} ensure the the following line is in /etc/fstab:
@${ECHO}
@${ECHO} proc /proc procfs rw 0 0
@${ECHO}
@${ECHO} -----------------------------------------------------------
.endif
.if ${OSVERSION} < 500031
.if !defined(USE_GCC) || !defined(WITH_DEBUG)
@${ECHO}
@${ECHO} OS-VERSION ${OSVERSION}
@${ECHO} "OPTIONS:"
.endif
.if !defined(USE_GCC)
@${ECHO}
@${ECHO} Openoffice depends on OS-Fixes which are
@${ECHO} not yet available.
@${ECHO} "You can compile OO with different"
@${ECHO} "gcc compiler versions:"
@${ECHO}
@${ECHO} "Add USE_GCC=2.95 or USE_GCC=3.1"
@${ECHO} "to compile openoffice with your"
@${ECHO} "prefered compiler."
.endif
.if !defined(WITH_DEBUG)
@${ECHO}
@${ECHO} "You can compile OO with debug symbols"
@${ECHO} "if you call make with WITH_DEBUG=1"
@${ECHO}
@${ECHO} "If you set WITH_DEBUG=2, you add internal"
@${ECHO} "OO.org debug support.
@${ECHO}
.endif
.if !defined(WITH_TTF_BYTECODE_ENABLED)
@${ECHO}
@${ECHO} "You may set WITH_TTF_BYTECODE_ENABLED=YES"
@${ECHO} "if you like to use the Freetype library to"
@${ECHO} "render TTF fonts. Normally the TTF lib is"
@${ECHO} "not used to render fonts."
@${ECHO}
@${ECHO} "If you have licensed the Apple patents"
@${ECHO} "US05155805 US05159668 and US05325479"
@${ECHO} "you can enable this option to get better"
@${ECHO} "quality of glyphs at small bitmap sizes."
@${ECHO}
.endif
.if ${OSVERSION} < 450002
@${ECHO}
@${ECHO} "OS-VERSION ${OSVERSION} too low"
@${ECHO}
@${ECHO} "OO need some important libc_r and"
@${ECHO} "gcc fixes to build. Please upgrade to 4.6"
@${ECHO} "RELEASE or 4.6 STABLE."
@${FALSE}
.endif
pre-extract:
.if !defined(DISPLAY) || ${DISPLAY} == ""
@ ${ECHO}
@ ${ECHO} Can\'t open display:
@ ${ECHO} Please check your DISPLAY variable.
@ ${ECHO}
@ ${FALSE}
@${ECHO}
@${ECHO} "NOTICE:"
@${ECHO}
@${ECHO} "To build Openoffice, you should have a lot"
.if defined(WITH_DEBUG)
@${ECHO} "of free diskspace (~ 8GB)."
.else
@${ECHO} "of free diskspace (~ 4GB)."
.endif
@${ECHO}
.if (defined(USE_GCC) && ${USE_GCC} == 2.95) || \
(${OSVERSION} < 500000 && !defined(USE_GCC))
@${ECHO} "KERNEL CONFIGURATION:"
@${ECHO}
@${ECHO} "Openoffice needs a larger stack- and"
@${ECHO} "datasize to build. Check your limit"
@${ECHO} "settings and and put this in /boot/loader.conf"
@${ECHO} "if neccessary:"
@${ECHO}
@${ECHO} "kern.maxdsiz=\"1073741824\""
@${ECHO} "kern.maxssiz=\"268435456\""
.endif
@${ECHO}
@${ECHO} "REQUIRED SYSTEM PATCHES:"
@${ECHO}
@${ECHO} "OO.org can crash if you enter a non existing path"
@${ECHO} "or URL in the location bar. To fix these crashes"
@${ECHO} "you need a uncommitted system patch for rtld:"
@${ECHO}
@${ECHO} "http://people.freebsd.org/~mbr/ooo/rtld-symlookup.diff"
@${ECHO}
.if ${OSVERSION} < 460001
@${ECHO}
@${ECHO} "OO setup is broken on STABLE < 4.6"
@${ECHO} "including 4.6 RELEASE."
@${ECHO} "You'll need a system patch to solve"
@${ECHO} "this problem:"
@${ECHO}
@${ECHO} "http://people.freebsd.org/~mbr/ooo/rtld-alloca.diff"
@${ECHO}
.endif
.if ${OSVERSION} < 460002
@${ECHO}
@${ECHO} "OO.org soffice binary can deadlock. You can work around"
@${ECHO} "this problem with this patch:"
@${ECHO}
@${ECHO} "http://people.freebsd.org/~mbr/ooo/rtld-deadlock.diff"
@${ECHO}
.endif
.if ${OSVERSION} < 500000
@${ECHO}
@${ECHO} "OO.org build can deadlock in regmerge. You can work around"
@${ECHO} "this problem with this patch:"
@${ECHO}
@${ECHO} "http://people.freebsd.org/~mbr/ooo/rtld-builddeadlock.diff"
@${ECHO}
.endif
.if !exists(/usr/include/langinfo.h)
@${ECHO}
@${ECHO} "langinfo.h is missing !"
@${ECHO}
@${ECHO} "Please upgrade to 4.6 RELEASE or"
@${ECHO} "4.6 STABLE."
@${ECHO}
@${FALSE}
.endif
post-extract:
@ -92,22 +300,221 @@ post-extract:
exit 1; \
fi \
done
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/
${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/
${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/
@${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
@${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
@${MAKE} extract-mozilla
@-${RM} ${WRKSRC}/../moz/zipped/*.zip
.if defined(L10NHELP)
@${ECHO_MSG} "===> Extracting L10NHELP sub project"
@${MKDIR} ${WRKDIR}/L10NHELP
@cd ${WRKDIR}/L10NHELP && \
${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP}
.endif
post-patch:
@${MAKE} patch-mozilla
.if defined(WITH_TTF_BYTECODE_ENABLED)
@if [ "`echo ${PATCHDIR}/optpatch-*`" != "${PATCHDIR}/optpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional TTF bytecode patches for ${PKGNAME}" ; \
if [ ${PATCH_DEBUG_TMP} = yes ]; then \
${ECHO_MSG} "===> Applying ${OPSYS} patch ${PATCHDIR}/optpatch-freetype::patch" ; \
fi; \
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/optpatch-freetype::patch ; \
fi
.endif
.if defined(WITH_DEBUG)
@if [ "`echo ${PATCHDIR}/debugpatch-*`" != "${PATCHDIR}/debugpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional debug ${OPSYS} patches for ${PKGNAME}" ; \
PATCHES_APPLIED="" ; \
for i in ${PATCHDIR}/debugpatch-*; do \
case $$i in \
*.orig|*.rej|*~) \
${ECHO_MSG} "===> Ignoring patchfile $$i" ; \
;; \
*) \
if [ ${PATCH_DEBUG_TMP} = yes ]; then \
${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \
fi; \
if ${PATCH} ${PATCH_ARGS} < $$i ; then \
PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \
else \
${ECHO_MSG} `${ECHO_CMD} ">> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \
if [ x"$$PATCHES_APPLIED" != x"" ]; then \
${ECHO_MSG} `${ECHO_CMD} ">> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \
fi; \
${FALSE} ; \
fi; \
;; \
esac; \
done; \
fi;
.endif
@${ECHO_MSG} "===> Find old malloc.h defines and fix them in ${PKGNAME} source"
@${FIND} ${WRKSRC}/.. | ${EGREP} "\.(cxx|h|c)$$" | ${XARGS} \
${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
extract-mozilla:
.if ! exists(${WRKDIR}/mozilla/Makefile)
@${ECHO_MSG} "===> Extracting mozilla sub project"
@${MKDIR} ${WRKDIR}/mozilla
@${CP} -r ${PORTSDIR}/www/mozilla/files ${WRKDIR}/mozilla
@${CP} ${PORTSDIR}/www/mozilla/Makefile ${WRKDIR}/mozilla
@${CP} ${PORTSDIR}/www/mozilla/distinfo ${WRKDIR}/mozilla
@${CP} ${PORTSDIR}/www/mozilla/pkg-comment ${WRKDIR}/mozilla
@${CP} ${PORTSDIR}/www/mozilla/pkg-descr ${WRKDIR}/mozilla
@${CP} ${PORTSDIR}/www/mozilla/pkg-plist ${WRKDIR}/mozilla
.endif
@cd ${WRKDIR}/mozilla && ${MAKE} extract WRKDIRPREFIX=""
patch-mozilla:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/patch-openoffice-mozilla101-2002-10-14 \
${WRKDIR}/mozilla/files/
@cd ${WRKDIR}/mozilla && ${MAKE} patch WRKDIRPREFIX=""
build-mozilla:
.if ! exists(${WRKDIR}/FREEBSDGCCIruntime.zip)
@${ECHO_MSG} "===> Building mozilla sub project"
.if defined(WITH_DEBUG)
@${CP} ${WRKDIR}/mozilla/Makefile ${WRKDIR}/mozilla/Makefile.new
@${SED} -e 's|--disable-debug||' \
-e 's|--disable-cpp-rtti||' \
-e 's|--enable-strip||' \
< ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
.endif
.if defined(USE_GCC)
.if ${USE_GCC} == 3.1
@cd ${WRKDIR}/mozilla && ${MAKE} CXX=${CXX} CC=${CC} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build WRKDIRPREFIX=""
.else
@cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build WRKDIRPREFIX=""
.endif
.else
@cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build WRKDIRPREFIX=""
.endif
@${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR}
@${CHMOD} 755 ${WRKDIR}/zipmoz.sh
@${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR}
.endif
install-mozilla:
.if ! exists(${WRKDIR}/../moz/zipped/FREEBSDGCCIinc.zip)
@${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/
@${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/
@${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/
.endif
register-mozilla:
.if exists(${WRKDIR}/mozilla-runtime)
@${RM} -rf ${WRKDIR}/mozilla-runtime
.endif
@${MKDIR} ${WRKDIR}/mozilla-runtime
@cd ${WRKDIR}/mozilla-runtime && ${UNZIP} -o ${WRKDIR}/FREEBSDGCCIruntime.zip
@cd ${WRKDIR}/mozilla-runtime && ${UNZIP} -o ${WRKDIR}/FREEBSDGCCIlib.zip
@${CP} ${WRKDIR}/mozilla/work/mozilla/dist/bin/regxpcom ${WRKDIR}/mozilla-runtime/
@-${RM} ${WRKDIR}/mozilla-runtime/components/component.reg
@cd ${WRKDIR}/mozilla-runtime && export MOZILLA_FIVE_HOME=. \
&& export LD_LIBRARY_PATH=.:./lib && ./regxpcom
@${CP} ${WRKDIR}/mozilla-runtime/components/xpti.dat \
${WRKDIR}/mozilla-runtime/components/xptitemp.dat
@${RM} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKDIR}/mozilla-runtime/regxpcom
@cd ${WRKDIR}/mozilla-runtime && ${FIND} . -type f \
| ${ZIP} ${WRKDIR}/FREEBSDGCCIruntime.zip -@
mozilla:
@${MAKE} extract-mozilla
@${MAKE} patch-mozilla
@${MAKE} build-mozilla
@${MAKE} register-mozilla
@${MAKE} install-mozilla
do-build:
.if ! exists(${WRKDIR}/../moz/zipped/FREEBSDGCCIinc.zip)
@${MAKE} mozilla
.endif
.if exists(${WRKDIR}/.Xvfb.pid)
@-${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill
@${RM} -f ${WRKDIR}/.Xvfb.pid
.endif
.if !defined(DISPLAY)
#
# This is a UGLY hack to not have to specify a X-Display.
#
${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
@sleep 5
.endif
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
.if defined(L10NHELP)
@${MKDIR} ${WRKSRC}/../solver/641/unxfbsd.pro/pck
@${CP} ${WRKDIR}/L10NHELP/*.zip ${WRKSRC}/../solver/641/unxfbsd.pro/pck
.endif
.if !defined(DISPLAY)
@cd ${WRKSRC}/.. && DISPLAY=${DISPLAYHACK} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
@-${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill
@${RM} -f ${WRKDIR}/.Xvfb.pid
.else
@cd ${WRKSRC}/.. && DISPLAY=${DISPLAY} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
.endif
.if defined(LANG_PKGNAME)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
tcsh -c 'source FreeBSDEnv.Set && dmake'
${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && cd instsetoo/util && ${BUILD} LANGEXT=${LANGEXT}'
.endif
pre-install:
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/oo_setup.resp \
> ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
do-install:
@cd ${WRKSRC}/.. && ./setup -r:oo_setup.resp
.if !defined(DISPLAY)
#
# UGLY hack to not have to specify a X-Display.
#
${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
@sleep 5
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
TEMP=${WRKDIR} DISPLAY=${DISPLAYHACK} \
${WRKSRC}/../instsetoo/*.pro/${LANG_EXT}/normal/setup -r:oo_setup.resp
@-${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill
@${RM} -f ${WRKDIR}/.Xvfb.pid
.else
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
TEMP=${WRKDIR} DISPLAY=${DISPLAY} \
${WRKSRC}/../instsetoo/*.pro/${LANG_EXT}/normal/setup -r:oo_setup.resp
.endif
install-user:
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" \
${PREFIX}/${INSTALLATION_BASEDIR}/program/setup
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/openoffice-wrapper \
> ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-scalc
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-setup
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-sfax
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-simpress
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-spadmin
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-sweb
@${LN} -fs ${PREFIX}/bin/openoffice ${PREFIX}/bin/openoffice-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp
@${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST}
package-rename:
@${ECHO_MSG} "===> Rename package for OO.org mirror upload";
.if defined(LANG_SUFFIX)
@${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${LANG_SUFFIX}-${PORTVERSION}_${PORTREVISION}.tbz2 \
${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}-${LANG_SUFFIX}.tbz2
.else
@${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${PORTVERSION}_${PORTREVISION}.tbz2 \
${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}.tbz2
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,9 @@
MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz095_i386_FreeBSD-4.tar.gz) = e92e25759f0b1bf16a36a091bf17e1b0
MD5 (openoffice/oo_643_src.tar.bz2) = 53c3a72acab3af71fae8c169d5224c21
MD5 (openoffice/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (openoffice/patch-openoffice-mozilla101-2002-10-14) = 463058a33377a9226f919d00e39dc28a
MD5 (openoffice/helpcontent) = 832193e5f8954fea10392b73e8dab8c5
MD5 (openoffice/helpcontent_33_unix.tgz) = 20dcbf3211c20afb27fc5677ab8f69e5
MD5 (openoffice/helpcontent_34_unix.tgz) = ba6adc71dc5cb766dd75f5b13a7c6bc8
MD5 (openoffice/helpcontent_39_unix.tgz) = 4c33e3f9f8a64be68c63f33ff1e0e4a7
MD5 (openoffice/helpcontent_46_unix.tgz) = 5183879d8b57850d433351cb8a5634a8
MD5 (openoffice/helpcontent_49_unix.tgz) = 68f0db91bb091065a4795d47d6ae0b0b

View File

@ -0,0 +1,21 @@
--- ../setup2/mow/source/loader/loader.c.orig2 Thu Jun 6 11:23:17 2002
+++ ../setup2/mow/source/loader/loader.c Thu Jun 6 11:24:14 2002
@@ -902,6 +902,7 @@
void KillSetupDir()
{
+#if 0
DIR* pDir = opendir( strTmpPath );
struct dirent* pFile;
@@ -915,6 +916,10 @@
chdir( strInitPath );
rmdir( strTmpPath );
+#else
+ fprintf(stderr, "\nLeaving behind temporary directory: %s\n",
+ strTmpPath);
+#endif
}
void makeSymLink( char* s )

View File

@ -0,0 +1,18 @@
--- ../solenv/inc/unxfbsdi.mk.orig Mon Jul 22 00:40:56 2002
+++ ../solenv/inc/unxfbsdi.mk Mon Jul 22 00:42:02 2002
@@ -25,12 +25,12 @@
.ENDIF
# flags for C and C++ Compiler
-CFLAGS+=-w -c $(INCLUDE) -I$(SOLARENV)/unxfbsdi/usr/include
+CFLAGS+=-g -ggdb -w -c $(INCLUDE) -I$(SOLARENV)/unxfbsdi/usr/include
CFLAGS+=-I/usr/X11R6/include
# flags for the C++ Compiler
-CFLAGSCC=-pipe
-CFLAGSCXX=-pipe -fno-for-scope -fpermissive
+CFLAGSCC=-g -ggdb -pipe
+CFLAGSCXX=-g -ggdb -pipe -fno-for-scope -fpermissive
# Flags for enabling exception handling
CFLAGSEXCEPTIONS=-fexceptions

View File

@ -0,0 +1,7 @@
[Environment]
InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-643
[Java]
JavaSupport = preinstalled_or_none

View File

@ -0,0 +1,15 @@
#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.1 2002-10-18 22:41:29 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org1.0/program/
program=`echo $0 | sed -e 's|.*-||'`
case $program in
$0)
exec $oopath/soffice "$@"
;;
*)
exec $oopath/$program "$@"
;;
esac

View File

@ -0,0 +1,208 @@
Index: files/patch-freetype::patch
===================================================================
RCS file: files/patch-freetype::patch
diff -N files/patch-freetype::patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-freetype::patch 4 Aug 2002 15:27:42 -0000
@@ -0,0 +1,201 @@
+diff -ur ../freetype/freetype-2.0.5.patch oo641d_patched/freetype/freetype-2.0.5.patch
+--- ../freetype/freetype-2.0.5.patch Fri Apr 5 21:07:34 2002
++++ ../freetype/freetype-2.0.5.patch Sat Mar 9 18:04:17 2002
+@@ -1,118 +1,79 @@
+-*** misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 14 00:44:33 2000
+---- misc/build/freetype-2.0.5/builds/compiler/visualc.mk Wed Nov 7 16:11:47 2001
+-***************
+-*** 63,69 ****
+- # ANSI compliance.
+- #
+- ifndef CFLAGS
+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX
+- endif
+-
+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
+---- 63,69 ----
+- # ANSI compliance.
+- #
+- ifndef CFLAGS
+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
+- endif
+-
+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
+-*** misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Jun 7 19:36:17 2001
+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Wed Nov 7 16:11:47 2001
+-***************
+-*** 631,637 ****
+- if test "$build_old_libs" = yes; then
+- if test "$pic_mode" != yes; then
+- # Don't build PIC code
+-! command="$base_compile $srcfile"
+- else
+- # All platforms use -DPIC, to notify preprocessed assembler code.
+- command="$base_compile $srcfile $pic_flag -DPIC"
+---- 631,637 ----
+- if test "$build_old_libs" = yes; then
+- if test "$pic_mode" != yes; then
+- # Don't build PIC code
+-! command="$base_compile $srcfile -DPIC $pic_flag"
+- else
+- # All platforms use -DPIC, to notify preprocessed assembler code.
+- command="$base_compile $srcfile $pic_flag -DPIC"
+-*** misc/freetype-2.0.5/include/freetype/config/ftmodule.h Mon Jan 1 18:25:21 2001
+---- misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Wed Nov 7 16:11:47 2001
+-***************
+-*** 1,7 ****
+---- 1,9 ----
+- FT_USE_MODULE(autohint_module_class)
+- FT_USE_MODULE(cff_driver_class)
+- FT_USE_MODULE(t1cid_driver_class)
+-+ /*
+- FT_USE_MODULE(pcf_driver_class)
+-+ */
+- FT_USE_MODULE(psaux_module_class)
+- FT_USE_MODULE(psnames_module_class)
+- FT_USE_MODULE(ft_raster1_renderer_class)
+-***************
+-*** 9,12 ****
+---- 11,16 ----
+- FT_USE_MODULE(ft_smooth_renderer_class)
+- FT_USE_MODULE(tt_driver_class)
+- FT_USE_MODULE(t1_driver_class)
+-+ /*
+- FT_USE_MODULE(winfnt_driver_class)
+-+ */
+-*** misc/freetype-2.0.5/include/freetype/config/ftoption.h Tue Aug 21 10:50:45 2001
+---- misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Wed Nov 7 16:11:47 2001
+-***************
+-*** 70,76 ****
+---- 70,79 ----
+- /* All convenience functions are declared as such in their */
+- /* documentation. */
+- /* */
+-+ /*
+- #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
+-+ */
+-+ #define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
+-
+-
+- /*************************************************************************/
+-***************
+-*** 108,116 ****
+- /* use a vector `plotter' format that isn't supported when this */
+- /* macro is undefined. */
+- /* */
+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+-
+--
+- /*************************************************************************/
+- /* */
+- /* Glyph Postscript Names handling */
+---- 111,121 ----
+- /* use a vector `plotter' format that isn't supported when this */
+- /* macro is undefined. */
+- /* */
+-+ /*
+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+-+ */
+-+ #undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+-
+- /*************************************************************************/
+- /* */
+- /* Glyph Postscript Names handling */
+-*** misc/build/freetype-2.0.5/builds/unix/ltmain.sh.orig Mon Jan 7 14:21:35 2002
+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Mon Jan 7 14:21:40 2002
+-***************
+-*** 2251,2257 ****
+- ;;
+-
+- irix)
+-! major=`expr $current - $age + 1`
+- verstring="sgi$major.$revision"
+-
+- # Add in all the interfaces that we are compatible with.
+---- 2251,2257 ----
+- ;;
+-
+- irix)
+-! major=`expr $current - $age`
+- verstring="sgi$major.$revision"
+-
+- # Add in all the interfaces that we are compatible with.
++diff -ur misc/freetype-2.0.5/builds/compiler/visualc.mk misc/build/freetype-2.0.5/builds/compiler/visualc.mk
++--- misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:47:57 2001
+++++ misc/build/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:49:17 2001
++@@ -63,7 +63,7 @@
++ # ANSI compliance.
++ #
++ ifndef CFLAGS
++- CFLAGS := /nologo /c /Ox /G5 /W3 /WX
+++ CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
++ endif
++
++ # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
++diff -ur misc/freetype-2.0.5/builds/unix/ltmain.sh misc/build/freetype-2.0.5/builds/unix/ltmain.sh
++--- misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:47:56 2001
+++++ misc/build/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:49:17 2001
++@@ -631,7 +631,7 @@
++ if test "$build_old_libs" = yes; then
++ if test "$pic_mode" != yes; then
++ # Don't build PIC code
++- command="$base_compile $srcfile"
+++ command="$base_compile $srcfile -DPIC $pic_flag"
++ else
++ # All platforms use -DPIC, to notify preprocessed assembler code.
++ command="$base_compile $srcfile $pic_flag -DPIC"
++diff -ur misc/freetype-2.0.5/include/freetype/config/ftmodule.h misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h
++--- misc/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:47:57 2001
+++++ misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:49:17 2001
++@@ -1,7 +1,9 @@
++ FT_USE_MODULE(autohint_module_class)
++ FT_USE_MODULE(cff_driver_class)
++ FT_USE_MODULE(t1cid_driver_class)
+++/*
++ FT_USE_MODULE(pcf_driver_class)
+++*/
++ FT_USE_MODULE(psaux_module_class)
++ FT_USE_MODULE(psnames_module_class)
++ FT_USE_MODULE(ft_raster1_renderer_class)
++@@ -9,4 +11,6 @@
++ FT_USE_MODULE(ft_smooth_renderer_class)
++ FT_USE_MODULE(tt_driver_class)
++ FT_USE_MODULE(t1_driver_class)
+++/*
++ FT_USE_MODULE(winfnt_driver_class)
+++*/
++diff -ur misc/freetype-2.0.5/include/freetype/config/ftoption.h misc/build/freetype-2.0.5/include/freetype/config/ftoption.h
++--- misc/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:47:57 2001
+++++ misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:51:15 2001
++@@ -70,7 +70,10 @@
++ /* All convenience functions are declared as such in their */
++ /* documentation. */
++ /* */
+++/*
++ #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
+++*/
+++#define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++
++
++ /*************************************************************************/
++@@ -108,8 +111,10 @@
++ /* use a vector `plotter' format that isn't supported when this */
++ /* macro is undefined. */
++ /* */
+++/*
++ #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-
+++*/
+++#undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++
++ /*************************************************************************/
++ /* */
++@@ -338,7 +343,7 @@
++ /* By undefining this, you will only compile the code necessary to load */
++ /* TrueType glyphs without hinting. */
++ /* */
++-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
++
++
++ /*************************************************************************/

View File

@ -0,0 +1,11 @@
--- ../vcl/util/makefile.pmk.orig Mon Aug 5 01:39:41 2002
+++ ../vcl/util/makefile.pmk Mon Aug 5 01:40:03 2002
@@ -64,7 +64,7 @@
PROJECTPCHSOURCE=$(PRJ)$/util$/vclpch
PDBTARGET=vcl
-.IF "$(OS)" != "MACOSX"
+.IF "$(OS)" != "MACOSX" && "$(OS)" != "FREEBSD"
.IF "$(remote)" != ""
USE_BUILTIN_RASTERIZER=true
.ENDIF

View File

@ -1,42 +0,0 @@
--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
+++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
@@ -43,3 +43,39 @@
CC= @MAKEFILE_CC@
CCLINK= @MAKEFILE_CCLINK@
+--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
+@@ -995,6 +995,7 @@
+ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
+ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
+ LIBS="-lsocket -lsvipc $LIBS";;
++freebsd*) optimize_def="-O";;
+ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
+ *qnx) cat >> confdefs.h <<\EOF
+ #define HAVE_QNX 1
+@@ -1795,6 +1796,7 @@
+ case "$host_os" in
+ solaris*) JINCSUBDIRS="solaris";;
+ linux*) JINCSUBDIRS="linux genunix";;
++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
+ *) JINCSUBDIRS="genunix";;
+ esac
+
+--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
+@@ -1194,11 +1194,12 @@
+
+ freebsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+- else
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
+ # can we support soname and/or expsyms with a.out? -oliva
++ else
++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ need_version=no
+ fi
+ ;;
+

View File

@ -1,10 +0,0 @@
--- ../bridges/prj/build.lst.orig Tue Oct 30 17:28:35 2001
+++ ../bridges/prj/build.lst Mon Mar 4 21:43:05 2002
@@ -13,5 +13,7 @@
br bridges\source\cpp_uno\cc50_solaris_sparc nmake - u br_cc50sols br_unotypes NULL
br bridges\source\cpp_uno\cc50_solaris_intel nmake - u br_cc50soli br_unotypes NULL
br bridges\source\cpp_uno\gcc2_solaris_sparc nmake - u br_gccsols br_unotypes NULL
+br bridges\source\cpp_uno\gcc2_freebsd_intel nmake - u br_gccfi br_unotypes NULL
+br bridges\source\cpp_uno\gcc3_freebsd_intel nmake - u br_gcc3fi br_unotypes NULL
br bridges\source\prot_uno nmake - all br_pruno br_unotypes NULL
br bridges\source\java_uno nmake - all br_java_uno br_rcon NULL

View File

@ -1,13 +0,0 @@
--- ../bridges/source/prot_uno/makefile.mk.orig Fri Oct 26 09:22:57 2001
+++ ../bridges/source/prot_uno/makefile.mk Wed Mar 6 15:45:09 2002
@@ -88,8 +88,8 @@
SHL1VERSIONMAP=..$/bridge_exports.map
SHL1STDLIBS= \
- $(CPPULIB) \
- $(SALLIB)
+ $(SALLIB) \
+ $(CPPULIB)
DEF1NAME=$(SHL1TARGET)

View File

@ -1,11 +0,0 @@
--- ../chaos/util/makefile.mk.orig Sat Mar 2 18:09:33 2002
+++ ../chaos/util/makefile.mk Sat Mar 2 18:09:18 2002
@@ -100,7 +100,7 @@
SHL1TARGET= cnt$(UPD)$(DLLPOSTFIX)
SHL1IMPLIB= i$(TARGET)
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP= exports.$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP= exports.map

View File

@ -1,15 +0,0 @@
--- ../comphelper/util/makefile.mk.orig Tue Jan 1 14:08:53 2002
+++ ../comphelper/util/makefile.mk
@@ -85,11 +85,11 @@
SHL1TARGET=$(COMPHLP_TARGET)$(COMPHLP_MAJOR)
SHL1STDLIBS=\
+ $(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(VOSLIB) \
$(OSLLIB) \
- $(SALLIB) \
$(CPPRTLLIB)
SHL1DEPN=

View File

@ -1,86 +0,0 @@
--- ../config_office/configure.in.orig Tue Feb 19 16:42:08 2002
+++ ../config_office/configure.in Wed Mar 13 20:26:19 2002
@@ -121,6 +121,12 @@
Usage: --enable-check-only=yes
],,)
+AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
+ with the correct OSVERSION.
+
+ Usage: --with-os-version=<OSVERSION>
+],,)
dnl ===================================================================
dnl Message.
dnl ===================================================================
@@ -245,13 +251,13 @@
if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version])
- _gcc_releasetype=`$GCC --version | $AWK -F"-" '{ print \$1 }'`
+ _gcc_releasetype=`$CC --version | $AWK -F"-" '{ print \$1 }'`
if test "$_gcc_releasetype" = "egcs"; then
AC_MSG_WARN([found egcs- version, use (stable=gcc-) version of the compiler])
AC_MSG_WARN([found egcs- version, use (stable=gcc-) version of the compiler]) >> warn
- _gcc_version=`$GCC --version | $AWK -F"-" '{ print \$2 }'`
+ _gcc_version=`$CC --version | $AWK -F"-" '{ print \$2 }'`
else
- _gcc_version=`$GCC --version`
+ _gcc_version=`$CC --version`
fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test -n "$enable_gcc3"; then
@@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC"
else
- _gcc_middle=`$GCC --version | $AWK -F. '{ if ($2 != 95) print "false"; else print "true" }'`
+ _gcc_middle=`$CC --version | $AWK -F. '{ if ($2 != 95) print "false"; else print "true" }'`
if test "$_gcc_middle" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC"
else
- _gcc_minor=`$GCC --version | $AWK -F. '{ if ($3 < 2) print "false"; else print "true" }'`
+ _gcc_minor=`$CC --version | $AWK -F. '{ if ($3 < 2) print "false"; else print "true" }'`
if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -335,7 +341,8 @@
fi
else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
- _gcc_include_path="/usr/include/g++"
+ _gcc_include_path="/usr"
+ _gxx_include_path="/usr/include/g++"
else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -779,6 +786,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
+ _jdk_middle3=`echo $_jdk | $AWK -F. '{ if ($2 != 3) print "false"; else print "true" }'`
+ if test "$_jdk_middle" = "false" -a "$_jdk_middle3" = "true"; then
+ _jdk_minor="true"
+ fi
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -1129,6 +1140,7 @@
echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo
@@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS $CC $CXX
else
echo
echo Test Complete

View File

@ -1,11 +0,0 @@
--- ../configmgr/util/makefile.mk.orig Sat Mar 2 20:36:09 2002
+++ ../configmgr/util/makefile.mk Sat Mar 2 20:36:24 2002
@@ -73,7 +73,7 @@
# --- Library -----------------------------------
SHL1TARGET= $(CFGMGR_TARGET)$(CFGMGR_MAJOR)
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP= $(TARGET).$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP= $(TARGET).map

View File

@ -1,14 +0,0 @@
--- ../connectivity/source/drivers/adabas/makefile.mk.orig Sat Mar 2 20:39:00 2002
+++ ../connectivity/source/drivers/adabas/makefile.mk Sat Mar 2 20:38:16 2002
@@ -104,9 +104,9 @@
$(SLO)$/BResultSetMetaData.obj \
$(SLO)$/BResultSet.obj
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP=$(ADABAS_TARGET).$(DLLPOSTFIX).map
-.ELSE
+.ELSE
SHL1VERSIONMAP=$(ADABAS_TARGET).map
.ENDIF

View File

@ -1,11 +0,0 @@
--- ../connectivity/source/drivers/calc/makefile.mk.orig Sat Mar 2 20:42:07 2002
+++ ../connectivity/source/drivers/calc/makefile.mk Sat Mar 2 20:41:59 2002
@@ -91,7 +91,7 @@
$(SLO)$/Cservices.obj \
$(SLO)$/CDriver.obj
-.IF "$(OS)"!="MACOSX"
+.IF "$(OS)"!="MACOSX" || "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
.ENDIF
# --- Library -----------------------------------

View File

@ -1,11 +0,0 @@
--- ../connectivity/source/drivers/dbase/makefile.mk.orig Sat Mar 2 20:45:45 2002
+++ ../connectivity/source/drivers/dbase/makefile.mk Sat Mar 2 20:45:27 2002
@@ -117,7 +117,7 @@
$(SLO)$/DDriver.obj
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP=$(TARGET).$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP=$(TARGET).map

View File

@ -1,11 +0,0 @@
--- ../connectivity/source/drivers/file/makefile.mk.orig Sat Mar 2 20:47:37 2002
+++ ../connectivity/source/drivers/file/makefile.mk Sat Mar 2 20:48:04 2002
@@ -112,7 +112,7 @@
$(SLO)$/fanalyzer.obj \
$(SLO)$/fcomp.obj
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP=$(TARGET).$(DLLPOSTFIX).map
.ELSE
#SHL1VERSIONMAP=$(TARGET).map

View File

@ -1,11 +0,0 @@
--- ../connectivity/source/drivers/flat/makefile.mk.orig Sat Mar 2 20:51:31 2002
+++ ../connectivity/source/drivers/flat/makefile.mk Sat Mar 2 20:51:56 2002
@@ -104,7 +104,7 @@
$(SLO)$/EDriver.obj
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP=$(TARGET).$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP=$(TARGET).map

View File

@ -1,11 +0,0 @@
--- ../connectivity/source/drivers/jdbc/makefile.mk.orig Sat Mar 2 20:54:27 2002
+++ ../connectivity/source/drivers/jdbc/makefile.mk Sat Mar 2 20:54:52 2002
@@ -111,7 +111,7 @@
$(SLO)$/tools.obj
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP=$(JDBC_TARGET).$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP=$(JDBC_TARGET).map

View File

@ -1,22 +0,0 @@
--- ../connectivity/source/drivers/mozab/makefile.mk.orig Mon Dec 3 17:20:59 2001
+++ ../connectivity/source/drivers/mozab/makefile.mk Sun Mar 3 17:26:52 2002
@@ -107,7 +107,9 @@
# --- MOZAB BASE Library -----------------------------------
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
+.ENDIF
SHL1TARGET= $(TARGET)$(MOZAB_MAJOR)
SHL1OBJS=$(SLOFILES)
SHL1STDLIBS=\
@@ -158,7 +160,9 @@
# --- MOZAB BASE Library -----------------------------------
+.IF "$(OS)"!="FREEBSD"
SHL2VERSIONMAP= $(TARGET2).map
+.ENDIF
SHL2TARGET= $(TARGET2)$(MOZAB_MAJOR)
SHL2OBJS=$(SLO2FILES)
SHL2STDLIBS=\

View File

@ -0,0 +1,54 @@
--- ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk.orig Tue Mar 19 12:56:24 2002
+++ ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk Sat May 18 15:51:13 2002
@@ -64,8 +64,8 @@
#mozilla specific stuff.
MOZ_LIB=$(SOLARVERSION)$/$(INPATH)$/lib$(UPDMINOREXT)
MOZ_INC=$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla
-#MOZ_LIB=$(PRJ)$/$(INPATH)$/lib
-#MOZ_INC=$(PRJ)$/$(INPATH)$/inc$/mozilla
+#MOZ_LIB=$(PRJ)$/..$/moz$/$(INPATH)$/lib
+#MOZ_INC=$(PRJ)$/..$/moz$/$(INPATH)$/inc$/mozilla
#End of mozilla specific stuff.
PRJ=..$/..$/..$/..
@@ -107,7 +107,7 @@
-I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \
-I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \
-I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \
- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap
+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr
CDEFS += -DWINVER=0x400 -DMOZILLA_CLIENT \
-DNS_NET_FILE -DCookieManagement -DSingleSignon -DClientWallet \
-DTRACING -DXP_PC -DXP_WIN -DXP_WIN32 -DHW_THREADS \
@@ -123,7 +123,7 @@
-I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \
-I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \
-I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \
- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap
+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr
CDEFS += -DDEBUG -DWINVER=0x400 -DMOZILLA_CLIENT \
-DNS_NET_FILE -DCookieManagement -DSingleSignon -DClientWallet \
-DTRACING -DXP_PC -DXP_WIN -DXP_WIN32 -DHW_THREADS \
@@ -141,7 +141,7 @@
-I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \
-I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \
-I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \
- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap
+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr
CDEFS+= -DMOZILLA_CLIENT \
-DOSTYPE=\"Linux2.2.14-5\" -DOJI
.IF "$(OS)" == "LINUX"
@@ -157,6 +157,13 @@
-fno-rtti -Wall -Wconversion -Wpointer-arith \
-Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \
-Wno-long-long
+CDEFS += -DTRACING
+.ELIF "$(OS)" == "FREEBSD"
+CFLAGS += -fPIC
+CFLAGSCXX += \
+ -fno-rtti -Wall -Wconversion -Wpointer-arith \
+ -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \
+ -Wno-long-long -pthread
CDEFS += -DTRACING
.ENDIF
.ENDIF

View File

@ -0,0 +1,12 @@
--- ../connectivity/source/drivers/mozaddressbook/makefile.mk.orig Wed Jun 12 01:40:36 2002
+++ ../connectivity/source/drivers/mozaddressbook/makefile.mk Wed Jun 12 01:40:37 2002
@@ -134,9 +134,7 @@
SLOFILES+=$(SLO)$/staticmbmozab.obj
.ENDIF
-.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
-.ENDIF
# --- Library -----------------------------------
SHL1TARGET=$(TARGET)$(UPD)$(DLLPOSTFIX)

View File

@ -1,16 +0,0 @@
--- ../connectivity/source/manager/makefile.mk.orig Tue Jan 1 14:09:00 2002
+++ ../connectivity/source/manager/makefile.mk
@@ -92,11 +92,11 @@
.ENDIF
SHL1OBJS=$(SLOFILES)
SHL1STDLIBS=\
+ $(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(VOSLIB) \
- $(OSLLIB) \
- $(SALLIB)
+ $(OSLLIB)
SHL1DEPN=
SHL1IMPLIB= i$(SHL1TARGET)

View File

@ -1,10 +0,0 @@
--- ../connectivity/source/parse/makefile.mk.orig Wed Mar 6 10:39:52 2002
+++ ../connectivity/source/parse/makefile.mk Wed Mar 6 10:40:07 2002
@@ -95,6 +95,7 @@
+flex -i -8 -PSQLyy -L -o$(MISC)$/sqlflex.cxx sqlflex.l
$(MISC)$/sqlbison.cxx: sqlbison.y
+ +bison -v -d -pSQLyy -l -bsql -o$(MISC)$/sqlbison.cxx.h sqlbison.y
+bison -v -d -pSQLyy -l -bsql -o$(MISC)$/sqlbison.cxx sqlbison.y
-$(MKDIR) $(OUT)$/inc$/connectivity
+$(COPY) $(MISC)$/sqlbison.cxx.h $(OUT)$/inc$/connectivity$/sqlbison.hxx

View File

@ -0,0 +1,11 @@
--- ../cosv/source/strings/streamstr.cxx.orig Tue Aug 13 14:29:52 2002
+++ ../cosv/source/strings/streamstr.cxx Fri Oct 18 20:20:41 2002
@@ -65,7 +65,7 @@
// NOT FULLY DECLARED SERVICES
#include <string.h>
#include <stdio.h>
-#if defined(WNT) || defined(LINUX) || defined(MACOSX)
+#if defined(WNT) || defined(LINUX) || defined(MACOSX) || defined(FREEBSD)
#include <stdarg.h>
#else
#include <sys/varargs.h>

View File

@ -0,0 +1,11 @@
--- ../cppu/inc/cppu/macros.hxx.kan Wed Jul 24 23:28:55 2002
+++ ../cppu/inc/cppu/macros.hxx Wed Jul 24 23:29:45 2002
@@ -76,7 +76,7 @@
the struct inherits from a base struct the first member is no double or [unsigned] long long.
@internal
*/
-#if defined(__GNUC__) && defined(LINUX) && (defined(INTEL) || defined(POWERPC)) && (__GNUC__ == 3)
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && (defined(INTEL) || defined(POWERPC)) && (__GNUC__ == 3)
#define CPPU_GCC3_ALIGN( base_struct ) __attribute__ ((aligned (__alignof__ (base_struct))))
#else
#define CPPU_GCC3_ALIGN( base_struct )

View File

@ -0,0 +1,11 @@
--- ../cppu/inc/uno/lbnames.h.orig Fri May 31 00:06:58 2002
+++ ../cppu/inc/uno/lbnames.h Fri May 31 00:07:22 2002
@@ -94,7 +94,7 @@
#define __CPPU_ENV gcc2
#elif (__GNUC__ == 2)
#error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version."
-#elif (__GNUC__ == 3 && __GNUC_MINOR__ == 0)
+#elif (__GNUC__ == 3 && (__GNUC_MINOR__ == 0 || __GNUC_MINOR__ == 1 || __GNUC_MINOR__ == 2))
#define __CPPU_ENV gcc3
#elif (__GNUC__ == 3)
#error "Tested gcc 3 version is 3.0. Patch uno/lbnames.h to try your gcc 3 version."

View File

@ -1,8 +0,0 @@
--- ../cppu/prj/build.lst.orig Mon Mar 11 14:13:47 2002
+++ ../cppu/prj/build.lst Mon Mar 11 14:14:30 2002
@@ -1,4 +1,4 @@
-cu cppu : codemaker udkapi NULL
+cu cppu : codemaker udkapi offuh NULL
cu cppu usr1 - all cu_mkout NULL
cu cppu\source nmake - all cu_source NULL
cu cppu\source\uno nmake - all cu_uno cu_source NULL

View File

@ -0,0 +1,20 @@
--- ../cppu/source/uno/data.cxx.kan Wed Jul 24 23:39:23 2002
+++ ../cppu/source/uno/data.cxx Wed Jul 24 23:38:49 2002
@@ -295,7 +295,7 @@
# pragma pack(8)
#endif
-#if defined(__GNUC__) && defined(LINUX) && defined(INTEL)
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL)
#define MAX_ALIGNMENT_4
#endif
@@ -307,7 +307,7 @@
if (OFFSET_OF(s, m) != n) { fprintf( stderr, "### OFFSET_OF(" #s ", " #m ") = %d instead of expected %d!!!\n", OFFSET_OF(s, m), n ); abort(); }
#ifdef DEBUG
-#if defined(__GNUC__) && defined(LINUX) && (defined(INTEL) || defined(POWERPC))
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && (defined(INTEL) || defined(POWERPC))
#define BINTEST_VERIFYSIZE( s, n ) \
fprintf( stderr, "> sizeof(" #s ") = %d; __alignof__ (" #s ") = %d\n", sizeof(s), __alignof__ (s) ); \
if (sizeof(s) != n) { fprintf( stderr, "### sizeof(" #s ") = %d instead of expected %d!!!\n", sizeof(s), n ); abort(); }

View File

@ -0,0 +1,11 @@
--- ../cppu/test/alignment/diagnose.h.orig Sat Jul 20 23:54:59 2002
+++ ../cppu/test/alignment/diagnose.h Sat Jul 20 23:55:06 2002
@@ -64,7 +64,7 @@
#include <sal/types.h>
#include <stdio.h>
-#if defined(__GNUC__) && defined(LINUX) && defined(INTEL)
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL)
#define __ALIGNMENT__(s, n) __alignof__ (s)
#else
#define __ALIGNMENT__(s, n) n

View File

@ -1,12 +0,0 @@
--- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -89,7 +89,9 @@
SHL1IMPLIB=i$(TARGET)
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP=$(TARGET).map
+.ENDIF
DEF1NAME=$(SHL1TARGET)

View File

@ -1,24 +0,0 @@
--- ../cppuhelper/source/makefile.mk.orig Thu Mar 7 16:37:48 2002
+++ ../cppuhelper/source/makefile.mk Thu Mar 7 16:37:55 2002
@@ -149,8 +149,8 @@
SHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
SHL1STDLIBS= \
- $(CPPULIB) \
- $(SALLIB)
+ $(SALLIB) \
+ $(CPPULIB)
SHL1DEPN=
SHL1IMPLIB=i$(TARGET)
@@ -173,6 +173,10 @@
SHL1VERSIONMAP=gcc2_linux_intel.map
.ELIF "$(OS)$(CPU)$(COMNAME)"=="LINUXIgcc3"
SHL1VERSIONMAP=gcc3_linux_intel.map
+.ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc2"
+#SHL1VERSIONMAP=gcc2_freebsd_intel.map
+.ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc3"
+#SHL1VERSIONMAP=gcc3_freebsd_intel.map
.ENDIF
# --- Targets ------------------------------------------------------

View File

@ -0,0 +1,10 @@
--- ../cpputools/source/registercomponent/makefile.mk.orig Mon Apr 22 22:46:11 2002
+++ ../cpputools/source/registercomponent/makefile.mk Mon Apr 22 22:46:44 2002
@@ -104,6 +104,7 @@
APP1STDLIBS=\
$(SALLIB) \
+ $(TOOLSLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)

View File

@ -0,0 +1,20 @@
--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
+++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
@@ -81,7 +81,7 @@
# --- Linken der Applikation ---------------------------------------
-.IF "$(OS)" == "LINUX"
+.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
# #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
# winXX is handled like solaris for now
APP1_STDPRE=
@@ -111,7 +111,7 @@
$(SALHELPERLIB)
.IF "$(GUI)" == "UNX"
-.IF "$(OS)" == "LINUX"
+.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
APP1STDLIBS+= -lXext -lSM -lICE

View File

@ -1,244 +0,0 @@
--- ../dmake/unix/linux/gnu/make.sh.orig Wed Mar 13 20:32:53 2002
+++ ../dmake/unix/linux/gnu/make.sh Wed Mar 13 20:33:00 2002
@@ -3,188 +3,188 @@
mkdir objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O infer.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O infer.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O infer.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O infer.c
fi
mv infer.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O make.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O make.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O make.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O make.c
fi
mv make.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O stat.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O stat.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O stat.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O stat.c
fi
mv stat.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O expand.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O expand.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O expand.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O expand.c
fi
mv expand.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmstring.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmstring.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmstring.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmstring.c
fi
mv dmstring.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O hash.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O hash.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O hash.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O hash.c
fi
mv hash.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dag.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dag.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dag.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dag.c
fi
mv dag.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmake.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmake.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmake.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmake.c
fi
mv dmake.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O path.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O path.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O path.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O path.c
fi
mv path.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O imacs.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O imacs.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O imacs.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O imacs.c
fi
mv imacs.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O sysintf.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O sysintf.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O sysintf.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O sysintf.c
fi
mv sysintf.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O parse.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O parse.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O parse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O parse.c
fi
mv parse.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O getinp.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O getinp.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O getinp.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O getinp.c
fi
mv getinp.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O quit.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O quit.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O quit.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O quit.c
fi
mv quit.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O state.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O state.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O state.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O state.c
fi
mv state.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmdump.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmdump.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmdump.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O dmdump.c
fi
mv dmdump.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O macparse.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O macparse.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O macparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O macparse.c
fi
mv macparse.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O rulparse.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O rulparse.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O rulparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O rulparse.c
fi
mv rulparse.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O percent.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O percent.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O percent.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O percent.c
fi
mv percent.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O function.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O function.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O function.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O function.c
fi
mv function.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/arlib.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/arlib.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/arlib.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/arlib.c
fi
mv arlib.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dirbrk.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dirbrk.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dirbrk.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dirbrk.c
fi
mv dirbrk.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/rmprq.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/rmprq.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/rmprq.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/rmprq.c
fi
mv rmprq.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/ruletab.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/ruletab.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/ruletab.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/ruletab.c
fi
mv ruletab.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/runargv.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/runargv.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/runargv.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/runargv.c
fi
mv runargv.o objects
if test $platform = sparc -o $platform = sparc64; then
-gcc -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dcache.c
+${CC} ${CFLAGS} -c -ansi -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dcache.c
else
-gcc -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dcache.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/linux -Iunix/linux/gnu -O unix/dcache.c
fi
mv dcache.o objects
-gcc -O -o dmake objects/infer.o objects/make.o objects/stat.o objects/expand.o \
+${CC} ${CFLAGS} -O -o dmake objects/infer.o objects/make.o objects/stat.o objects/expand.o \
objects/dmstring.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o \
objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o \
objects/quit.o objects/state.o objects/dmdump.o objects/macparse.o \

View File

@ -0,0 +1,11 @@
--- ../dtrans/source/X11/X11_selection.cxx.orig Wed Jul 31 22:43:56 2002
+++ ../dtrans/source/X11/X11_selection.cxx Fri Oct 18 20:16:37 2002
@@ -66,7 +66,7 @@
#include <X11/keysym.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#ifdef LINUX
+#if defined(LINUX) || defined(NETBSD) || defined (FREEBSD)
#include <sys/poll.h>
#else
#include <poll.h>

View File

@ -1,12 +0,0 @@
--- ../dtrans/source/X11/makefile.mk.orig Sat Mar 2 21:11:32 2002
+++ ../dtrans/source/X11/makefile.mk Sat Mar 2 21:12:34 2002
@@ -111,7 +111,8 @@
APP1STDLIBS=\
$(CPPULIB) \
$(CPPUHELPERLIB) \
- $(SALLIB)
+ $(SALLIB) \
+ -lX11
.ENDIF # "$(OS)"=="MACOSX"

View File

@ -1,15 +0,0 @@
--- ../eventattacher/source/makefile.mk.orig Tue Jan 1 14:09:28 2002
+++ ../eventattacher/source/makefile.mk
@@ -110,10 +110,10 @@
SHL1TARGET= $(TARGET)
SHL1STDLIBS= \
+ $(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
- $(VOSLIB) \
- $(SALLIB)
+ $(VOSLIB)
SHL1DEPN=
SHL1IMPLIB= i$(TARGET)

View File

@ -1,14 +0,0 @@
--- ../extensions/source/plugin/unx/makefile.mk.orig Mon Mar 11 01:34:07 2002
+++ ../extensions/source/plugin/unx/makefile.mk Mon Mar 11 10:21:01 2002
@@ -91,7 +91,11 @@
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="SCO" || "$(OS)"=="HPUX"
APP1STDLIBS+=-lXm -lXt -lX11 -ldl
.ELSE
+IF "$(OS)"=="FREEBSD"
+APP1STDLIBS+=-lXaw -lXt -lX11
+.ELSE
APP1STDLIBS+=-lXaw -lXt -lX11 -ldl
+.ENDIF
.ENDIF
APP1DEF= $(MISC)$/$(TARGET).def

View File

@ -1,11 +0,0 @@
--- ../external/dt/dtpatch.sh.orig Wed Mar 13 17:09:43 2002
+++ ../external/dt/dtpatch.sh Wed Mar 13 17:09:47 2002
@@ -96,7 +96,7 @@
done
chmod -R +w rtufiles/*.h
- patch -i pat/editor.h.pat rtufiles/editor.h 2> newpatch
+ patch < pat/editor.h.pat rtufiles/editor.h 2> newpatch
if test -s "patcherror"; then
echo "Please install the SUNWdtinc Version 1.2 package on your Solaris machine" >> patcherror

View File

@ -1,11 +0,0 @@
--- ../external/expat/expatpatch.sh.orig Wed Mar 13 16:59:16 2002
+++ ../external/expat/expatpatch.sh Wed Mar 13 17:00:18 2002
@@ -87,7 +87,7 @@
for PNAME in `cat flist.pat`
do
- patch -i pat/$PNAME.pat rtufiles/$PNAME
+ patch < pat/$PNAME.pat rtufiles/$PNAME
done
for SDNAME in `cat flist.sd`

View File

@ -1,11 +0,0 @@
--- ../external/jpeg/jpegpatch.sh.orig Wed Mar 13 17:04:35 2002
+++ ../external/jpeg/jpegpatch.sh Wed Mar 13 17:08:02 2002
@@ -112,7 +112,7 @@
for PNAME in `cat flist.pat`
do
- patch -i pat/$PNAME.pat $PNAME
+ patch < pat/$PNAME.pat $PNAME
done
cp -rf jpeg-6b/* rtufiles/

View File

@ -0,0 +1,112 @@
--- /dev/null Thu Aug 8 22:39:51 2002
+++ ../external/neon/md5.c.pat Thu Aug 8 22:35:33 2002
@@ -0,0 +1,109 @@
+*** ..\download\neon-0.14.0\src\md5.c Sun Apr 29 13:23:08 2001
+--- sub\md5.c Tue May 08 12:52:02 2001
+***************
+*** 278,290 ****
+ const void *buffer;
+ size_t len;
+ struct md5_ctx *ctx;
+ {
+ md5_uint32 correct_words[16];
+! const md5_uint32 *words = buffer;
+! size_t nwords = len / sizeof (md5_uint32);
+! const md5_uint32 *endp = words + nwords;
+ md5_uint32 A = ctx->A;
+ md5_uint32 B = ctx->B;
+ md5_uint32 C = ctx->C;
+ md5_uint32 D = ctx->D;
+
+--- 278,289 ----
+ const void *buffer;
+ size_t len;
+ struct md5_ctx *ctx;
+ {
+ md5_uint32 correct_words[16];
+! const unsigned char *words = buffer;
+! const unsigned char *endp = words + len;
+ md5_uint32 A = ctx->A;
+ md5_uint32 B = ctx->B;
+ md5_uint32 C = ctx->C;
+ md5_uint32 D = ctx->D;
+
+***************
+*** 313,324 ****
+ we store the swapped words in the array CORRECT_WORDS. */
+
+ #define OP(a, b, c, d, s, T) \
+ do \
+ { \
+! a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \
+! ++words; \
+ CYCLIC (a, s); \
+ a += b; \
+ } \
+ while (0)
+
+--- 312,325 ----
+ we store the swapped words in the array CORRECT_WORDS. */
+
+ #define OP(a, b, c, d, s, T) \
+ do \
+ { \
+! md5_uint32 WORD_ = words[0] | (words[1] << 8) \
+! | (words[2] << 16) | (words[3] << 24); \
+! a += FF (b, c, d) + (*cwp++ = WORD_) + T; \
+! words += 4; \
+ CYCLIC (a, s); \
+ a += b; \
+ } \
+ while (0)
+
+***************
+*** 431,441 ****
+ ctx->D = D;
+ }
+
+ /* Writes the ASCII representation of the MD5 digest into the
+ * given buffer, which must be at least 33 characters long. */
+! void ne_md5_to_ascii(const unsigned char md5_buf[16], char *buffer)
+ {
+ int count;
+ for (count = 0; count<16; count++) {
+ buffer[count*2] = HEX2ASC(md5_buf[count] >> 4);
+ buffer[count*2+1] = HEX2ASC(md5_buf[count] & 0x0f);
+--- 432,442 ----
+ ctx->D = D;
+ }
+
+ /* Writes the ASCII representation of the MD5 digest into the
+ * given buffer, which must be at least 33 characters long. */
+! void ne_md5_to_ascii(const unsigned char md5_buf[16], char *buffer)
+ {
+ int count;
+ for (count = 0; count<16; count++) {
+ buffer[count*2] = HEX2ASC(md5_buf[count] >> 4);
+ buffer[count*2+1] = HEX2ASC(md5_buf[count] & 0x0f);
+***************
+*** 443,453 ****
+ buffer[32] = '\0';
+ }
+
+ /* Reads the ASCII representation of an MD5 digest. The buffer must
+ * be at least 32 characters long. */
+! void ne_ascii_to_md5(const char *buffer, unsigned char md5_buf[16])
+ {
+ int count;
+ for (count = 0; count<16; count++) {
+ md5_buf[count] = ((ASC2HEX(buffer[count*2])) << 4) |
+ ASC2HEX(buffer[count*2+1]);
+--- 444,454 ----
+ buffer[32] = '\0';
+ }
+
+ /* Reads the ASCII representation of an MD5 digest. The buffer must
+ * be at least 32 characters long. */
+! void ne_ascii_to_md5(const char *buffer, unsigned char md5_buf[16])
+ {
+ int count;
+ for (count = 0; count<16; count++) {
+ md5_buf[count] = ((ASC2HEX(buffer[count*2])) << 4) |
+ ASC2HEX(buffer[count*2+1]);

View File

@ -1,11 +0,0 @@
--- ../external/npsdk/npsdkpatch.sh.orig Wed Mar 13 16:49:19 2002
+++ ../external/npsdk/npsdkpatch.sh Wed Mar 13 16:49:39 2002
@@ -121,7 +121,7 @@
for PNAME in `cat flist.pat`
do
- patch -i pat/$PNAME.pat rtufiles/$PNAME
+ patch < pat/$PNAME.pat rtufiles/$PNAME
done
#

View File

@ -1,11 +0,0 @@
--- ../external/zlib/zlibpatch.sh.orig Wed Mar 13 16:51:46 2002
+++ ../external/zlib/zlibpatch.sh Wed Mar 13 16:52:02 2002
@@ -111,7 +111,7 @@
for PNAME in `cat flist.pat`
do
- patch -i pat/$PNAME.pat $PNAME
+ patch < pat/$PNAME.pat $PNAME
done
cp -rf zlib-1.1.3/* rtufiles/

View File

@ -1,11 +0,0 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \
- objs$/.libs$/libfreetype.so.6*
+ objs$/.libs$/libfreetype.so.7
.ENDIF # "$(GUI)"=="UNX"

View File

@ -1,12 +0,0 @@
--- ../sysui/unix/office/gnome/gnome-vfs-filetype-registration.cxx 2001/11/01 13:26:23 1.2
+++ ../sysui/unix/office/gnome/gnome-vfs-filetype-registration.cxx 2002/03/03 19:43:31
@@ -62,7 +62,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
+#if !defined(FREEBSD)
#include <alloca.h>
+#endif
#include <string.h>
/*

View File

@ -1,12 +0,0 @@
--- ../i18n/inc/collator.hxx.orig Tue Mar 12 08:24:59 2002
+++ ../i18n/inc/collator.hxx Tue Mar 12 08:25:55 2002
@@ -80,7 +80,9 @@
#ifndef WIN32
#ifndef MACOSX
+#ifndef FREEBSD
#include <alloca.h>
+#endif
#endif
#endif
#include <tools/string.hxx>

View File

@ -0,0 +1,11 @@
--- ../i18npool/inc/collatorImpl.hxx.orig Fri Oct 18 19:35:02 2002
+++ ../i18npool/inc/collatorImpl.hxx Fri Oct 18 19:35:26 2002
@@ -71,7 +71,7 @@
#include <cppuhelper/implbase2.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#if !defined( WIN32 ) && !defined( MACOSX )
+#if !defined( WIN32 ) && !defined( MACOSX ) && !defined( FREEBSD)
#include <alloca.h>
#endif
#include <tools/list.hxx>

View File

@ -0,0 +1,11 @@
--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
+++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
@@ -110,7 +110,7 @@
.ENDIF
.ENDIF
-.IF "$(OS)"=="LINUX"
+.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
APP1STDLIBS+=-lcrypt
.ENDIF

View File

@ -1,10 +0,0 @@
--- ../idlc/source/makefile.mk.orig Wed Mar 6 10:25:35 2002
+++ ../idlc/source/makefile.mk Wed Mar 6 10:25:53 2002
@@ -147,6 +147,7 @@
+flex -o$(MISC)$/scanner.cxx $(MISC)$/stripped_scanner.ll
$(MISC)$/parser.cxx: parser.yy
+ +bison -v -d -o$(MISC)$/parser.cxx.h parser.yy
+bison -v -d -o$(MISC)$/parser.cxx parser.yy
+$(COPY) $(MISC)$/parser.cxx.h $(OUT)$/inc$/parser.h
# with line statements (for debugging)

View File

@ -1,11 +0,0 @@
--- ../util/makefile.mk.orig Sat Mar 2 21:17:20 2002
+++ ../inet/util/makefile.mk Sat Mar 2 21:17:42 2002
@@ -116,7 +116,7 @@
SHL1TARGET= $(TARGET)$(UPD)$(DLLPOSTFIX)
SHL1IMPLIB= $(TARGET)
-.IF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
#SHL1VERSIONMAP= $(TARGET).$(DLLPOSTFIX).map
.ELSE
SHL1VERSIONMAP= $(TARGET).map

View File

@ -1,14 +0,0 @@
--- ../javaunohelper/source/makefile.mk.orig Tue Jan 1 14:10:20 2002
+++ ../javaunohelper/source/makefile.mk
@@ -110,9 +110,9 @@
SHL1TARGET= $(TARGET)
SHL1STDLIBS= \
+ $(SALLIB) \
$(CPPULIB) \
- $(CPPUHELPERLIB) \
- $(SALLIB)
+ $(CPPUHELPERLIB)
SHL1DEPN=
SHL1IMPLIB= i$(TARGET)

View File

@ -0,0 +1,34 @@
--- ../moz/prj/d.lst Sat May 18 16:06:23 2002
+++ ../moz/prj/d.lst Sat May 18 16:16:33 2002
@@ -43,6 +43,7 @@
mkdir: %_DEST%\inc%_EXT%\mozilla\layout_xul
mkdir: %_DEST%\inc%_EXT%\mozilla\ldap
mkdir: %_DEST%\inc%_EXT%\mozilla\ldap\ldap
+mkdir: %_DEST%\inc%_EXT%\mozilla\ldap-nspr
mkdir: %_DEST%\inc%_EXT%\mozilla\locale
mkdir: %_DEST%\inc%_EXT%\mozilla\lwbrk
mkdir: %_DEST%\inc%_EXT%\mozilla\mailnews
@@ -71,6 +72,7 @@
mkdir: %_DEST%\inc%_EXT%\mozilla\nspr\private
mkdir: %_DEST%\inc%_EXT%\mozilla\nsprefm
mkdir: %_DEST%\inc%_EXT%\mozilla\oji
+mkdir: %_DEST%\inc%_EXT%\mozilla\obsolete
mkdir: %_DEST%\inc%_EXT%\mozilla\plugin
mkdir: %_DEST%\inc%_EXT%\mozilla\png
mkdir: %_DEST%\inc%_EXT%\mozilla\pref
@@ -158,6 +160,7 @@
..\%__SRC%\inc\layout_xul\* %_DEST%\inc%_EXT%\mozilla\layout_xul
..\%__SRC%\inc\ldap\* %_DEST%\inc%_EXT%\mozilla\ldap
..\%__SRC%\inc\ldap\ldap\* %_DEST%\inc%_EXT%\mozilla\ldap\ldap
+..\%__SRC%\inc\ldap-nspr\* %_DEST%\inc%_EXT%\mozilla\ldap-nspr
..\%__SRC%\inc\locale\* %_DEST%\inc%_EXT%\mozilla\locale
..\%__SRC%\inc\lwbrk\* %_DEST%\inc%_EXT%\mozilla\lwbrk
..\%__SRC%\inc\mailnews\* %_DEST%\inc%_EXT%\mozilla\mailnews
@@ -186,6 +189,7 @@
..\%__SRC%\inc\nspr\private\* %_DEST%\inc%_EXT%\mozilla\nspr\private
..\%__SRC%\inc\nsprefm\* %_DEST%\inc%_EXT%\mozilla\nsprefm
..\%__SRC%\inc\oji\* %_DEST%\inc%_EXT%\mozilla\oji
+..\%__SRC%\inc\obsolete\* %_DEST%\inc%_EXT%\mozilla\obsolete
..\%__SRC%\inc\plugin\* %_DEST%\inc%_EXT%\mozilla\plugin
..\%__SRC%\inc\png\* %_DEST%\inc%_EXT%\mozilla\png
..\%__SRC%\inc\pref\* %_DEST%\inc%_EXT%\mozilla\pref

View File

@ -1,12 +0,0 @@
--- ../connectivity/source/drivers/mozaddressbook/makefile.mk.orig Sat Mar 2 20:58:59 2002
+++ ../connectivity/source/drivers/mozaddressbook/makefile.mk Sat Mar 2 20:59:41 2002
@@ -134,7 +134,9 @@
SLOFILES+=$(SLO)$/staticmbmozab.obj
.ENDIF
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
+.ENDIF
# --- Library -----------------------------------
SHL1TARGET=$(TARGET)$(UPD)$(DLLPOSTFIX)

View File

@ -1,13 +0,0 @@
--- ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk.orig Fri Mar 15 19:10:28 2002
+++ ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk Fri Mar 15 19:11:45 2002
@@ -152,6 +152,10 @@
-Wno-long-long -pthread
CDEFS += -DTRACING
.ENDIF
+.IF "$(OS)" == "FREEBSD"
+CFLAGSCXX += \
+ -fno-rtti
+.ENDIF
.ENDIF
SHL1TARGET_NAME=$(TARGET)$(MOZAB_MAJOR)

View File

@ -1,17 +0,0 @@
--- ../nas/nas-1.4.1.patch.orig Wed Mar 6 02:24:32 2002
+++ ../nas/nas-1.4.1.patch Wed Mar 6 02:27:00 2002
@@ -143,3 +143,14 @@
InstallMultiple($(HEADERS),$(INCDIR))
#if ProjectX >= 5
InstallNonExecFile(AuErrorDB,$(LIBDIR))
+--- misc/nas-1.4.1/Imakefile.orig Wed Mar 6 02:20:01 2002
++++ misc/build/nas-1.4.1/Imakefile Wed Mar 6 02:20:07 2002
+@@ -42,6 +42,8 @@
+ @echo ""
+ Date
+ @echo ""
++ @find . | egrep "\.(cxx|h|c)$$" | xargs \
++ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+ $(MAKE) $(MFLAGS) Makefiles
+ $(MAKE) $(MFLAGS) clean
+ $(MAKE) $(MFLAGS) includes

View File

@ -1,11 +0,0 @@
--- ../odk/pack/unzip_udk/makefile.mk.orig Tue Mar 5 15:35:31 2002
+++ ../odk/pack/unzip_udk/makefile.mk Tue Mar 5 15:36:15 2002
@@ -30,7 +30,7 @@
.IF "$(GUI)"=="WNT"
unzip -q -d . $(UDKNAME)
.ELSE
- gzip -df < $(UDKNAME).tar.gz | tar -xvf -
+ tar -xzf $(UDKNAME).tar.gz
.ENDIF
+-$(RENAME) $(UDKNAME) $(ODKNAME)
+rm -f $(ODKNAME)$/settings$/dk.mk

View File

@ -0,0 +1,12 @@
--- ../offapi/com/sun/star/setup/OSType.idl.orig Mon Dec 18 16:34:26 2000
+++ ../offapi/com/sun/star/setup/OSType.idl Sun Jul 21 01:37:15 2002
@@ -88,6 +88,9 @@
UNIX_LINUX,
// DocMerge: empty anyway
+ UNIX_FREEBSD,
+
+ // DocMerge: empty anyway
UNIX_HP,
// DocMerge: empty anyway

View File

@ -1,11 +0,0 @@
--- ../offapi/util/makefile.pmk.orig Mon Mar 11 01:37:55 2002
+++ ../offapi/util/makefile.pmk Mon Mar 11 01:37:57 2002
@@ -85,7 +85,7 @@
URDDOC=TRUE
-.IF "$(OS)"=="SOLARIS"
+.IF "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD"
.IF "$(CPU)"=="I"
UNOIDL=unoidl
.ENDIF

View File

@ -0,0 +1,20 @@
--- ../package/inc/HashMaps.hxx.orig Tue Oct 30 14:52:18 2001
+++ ../package/inc/HashMaps.hxx Wed Jun 12 23:10:42 2002
@@ -79,7 +79,7 @@
};
class ZipPackageFolder;
-class ContentInfo;
+class ZipContentInfo;
typedef std::hash_map < rtl::OUString,
ZipPackageFolder *,
@@ -87,7 +87,7 @@
eqFunc > FolderHash;
typedef std::hash_map < rtl::OUString,
- vos::ORef < ContentInfo >,
+ vos::ORef < ZipContentInfo >,
::rtl::OUStringHash,
eqFunc > ContentHash;

View File

@ -0,0 +1,11 @@
--- ../package/inc/ZipPackageFolder.hxx.orig Thu Nov 15 21:01:49 2001
+++ ../package/inc/ZipPackageFolder.hxx Wed Jun 12 23:10:42 2002
@@ -106,7 +106,7 @@
void doInsertByName ( ZipPackageEntry *pEntry, sal_Bool bSetParent )
throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- ContentInfo & doGetByName( const ::rtl::OUString& aName )
+ ZipContentInfo & doGetByName( const ::rtl::OUString& aName )
throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
static void copyZipEntry( ZipEntry &rDest, const ZipEntry &rSource);
static ::com::sun::star::uno::Sequence < sal_Int8 > static_getImplementationId()

View File

@ -0,0 +1,34 @@
--- ../package/source/zippackage/ContentInfo.hxx.orig Tue Oct 30 14:54:47 2001
+++ ../package/source/zippackage/ContentInfo.hxx Wed Jun 12 23:10:42 2002
@@ -75,7 +75,7 @@
#endif
#include <hash_map>
-class ContentInfo : public cppu::OWeakObject
+class ZipContentInfo : public cppu::OWeakObject
{
public:
com::sun::star::uno::Reference < com::sun::star::lang::XUnoTunnel > xTunnel;
@@ -85,19 +85,19 @@
ZipPackageFolder *pFolder;
ZipPackageStream *pStream;
};
- ContentInfo ( ZipPackageStream * pNewStream )
+ ZipContentInfo ( ZipPackageStream * pNewStream )
: bFolder ( false )
, pStream ( pNewStream )
, xTunnel ( pNewStream )
{
}
- ContentInfo ( ZipPackageFolder * pNewFolder )
+ ZipContentInfo ( ZipPackageFolder * pNewFolder )
: bFolder ( true )
, pFolder ( pNewFolder )
, xTunnel ( pNewFolder )
{
}
- virtual ~ContentInfo ()
+ virtual ~ZipContentInfo ()
{
if ( bFolder )
pFolder->releaseUpwardRef();

View File

@ -0,0 +1,41 @@
--- ../package/source/zippackage/ZipPackageFolder.cxx.orig Wed Jun 12 23:09:16 2002
+++ ../package/source/zippackage/ZipPackageFolder.cxx Wed Jun 12 23:10:42 2002
@@ -212,7 +212,7 @@
return maContents.size() > 0;
}
// XNameAccess
-ContentInfo& ZipPackageFolder::doGetByName( const OUString& aName )
+ZipContentInfo& ZipPackageFolder::doGetByName( const OUString& aName )
throw(NoSuchElementException, WrappedTargetException, RuntimeException)
{
ContentHash::iterator aIter = maContents.find ( aName );
@@ -286,7 +286,7 @@
aCI++)
{
const OUString &rShortName = (*aCI).first;
- const ContentInfo &rInfo = *(*aCI).second;
+ const ZipContentInfo &rInfo = *(*aCI).second;
Sequence < PropertyValue > aPropSet (2);
PropertyValue *pValue = aPropSet.getArray();
@@ -533,7 +533,7 @@
aCI!=maContents.end();
aCI++)
{
- ContentInfo &rInfo = * (*aCI).second;
+ ZipContentInfo &rInfo = * (*aCI).second;
if ( rInfo.bFolder )// && ! rInfo.pFolder->HasReleased () )
rInfo.pFolder->releaseUpwardRef();
else //if ( !rInfo.bFolder && !rInfo.pStream->HasReleased() )
@@ -577,9 +577,9 @@
throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
{
if ( pEntry->IsFolder() )
- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) );
+ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) );
else
- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) );
+ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) );
if ( bSetParent )
pEntry->setParent ( *this );

View File

@ -1,12 +0,0 @@
--- ../package/util/makefile.mk.orig Sat Mar 2 22:06:28 2002
+++ ../package/util/makefile.mk Sat Mar 2 22:06:31 2002
@@ -88,7 +88,9 @@
SHL1TARGET=$(TARGET)$(MAJOR_VERSION)
SHL1IMPLIB=i$(TARGET)
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP=$(SOLARENV)$/src$/component.map
+.ENDIF
SHL1STDLIBS=\
$(CPPULIB) \

View File

@ -1,11 +0,0 @@
--- ../psprint/source/printer/printerinfomanager.cxx.orig Sat Mar 2 22:16:34 2002
+++ ../psprint/source/printer/printerinfomanager.cxx Sat Mar 2 22:16:12 2002
@@ -883,7 +883,7 @@
static const struct SystemCommandParameters aParms[] =
{
-#ifdef LINUX
+#ifdef LINUX || defined(FREEBSD) || defined(NETBSD)
{ "/usr/sbin/lpc status", "lpr -P (PRINTER)", "", ":", 0 },
{ "lpc status", "lpr -P (PRINTER)", "", ":", 0 },
{ "LANG=C;LC_ALL=C;export LANG LC_ALL;lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 }

View File

@ -0,0 +1,18 @@
--- ../product/inc/scp/udk_basefiles.scp.orig Fri Jun 7 20:15:12 2002
+++ ../product/inc/scp/udk_basefiles.scp Tue Jul 16 15:26:15 2002
@@ -2,6 +2,7 @@
// Temporary solution/hack: at the moment libstdc++.so and libgcc_s.so are needed for unxlngi4 environment
// (setup is linked against it).
+#if ( defined ( LINUX ))
#if ( defined( _gcc3 ) && defined( C300 ) )
File gid_File_Lib_gcc
@@ -42,6 +43,7 @@
Name = STRING(libstdc++.so.3);
Styles = (NETWORK,RELATIVE);
End
+#endif
#endif
#endif

View File

@ -0,0 +1,26 @@
--- ../product/settings/settings.mk.orig Wed May 29 00:16:16 2002
+++ ../product/settings/settings.mk Wed May 29 00:18:00 2002
@@ -83,9 +83,8 @@
OS=SOLARIS
PS=/
-CC=CC
-LINK=CC
-LIB=CC
+LINK=$(CC)
+LIB=$(CC)
ECHO=@echo
MKDIR=mkdir -p
CAT=cat
@@ -136,9 +135,8 @@
OS=LINUX
PLATFORM=linux
PS=/
-CC=gcc
-LINK=gcc
-LIB=gcc
+LINK=$(CC)
+LIB=$(CC)
ECHO=@echo
MKDIR=mkdir -p
CAT=cat

View File

@ -1,58 +0,0 @@
--- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Tue Mar 12 14:08:34 2002
@@ -115,13 +115,26 @@
STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll
+.ELIF "$(OS)"=="FREEBSD"
+###########
+# FREEBSD
+###########
+DESTDIRBIN=$(DESTDIR)$/freebsd$/bin
+DESTDIRLIB=$(DESTDIR)$/freebsd$/lib
+DESTDIRDLL=$(DESTDIRLIB)
+STLPORTLIBNAME=libstlport_gcc.so
+BINDINGDLL=$(COMNAME)_uno
.ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
.IF "$(STLPORT4)" != ""
# in OOo build environment
.IF "($STLPORT4)" != "NO_STLPORT4"
+.IF "$(OS)" != "FREEBSD"
STLPORTOUT=$(SOLARVER)$/$(UPD)$/$(INPATH)$/bin$/$(STLPORTLIBNAME)
+.ELSE
+STLPORTOUT=$(STLPORT4)$/lib$/$(STLPORTLIBNAME)
+.ENDIF
.ELSE
STLPORTOUT=$(STLPORT4)$/lib$/$(STLPORTLIBNAME)
.ENDIF
@@ -367,8 +380,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
- +ln -s $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $@
- +ln -s $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $(@:db)
+ +ln -fs $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $@
+ +ln -fs $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $(@:db)
#---------------------------------------------------------
@@ -379,7 +392,7 @@
#
#$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
# -rm -f $@
-# +ln -s libstdc++.so.3.0.1 $@
+# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@
@@ -387,7 +400,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@
- +ln -s libgcc_s.so.1 $@
+ +ln -fs libgcc_s.so.1 $@
#-------------------------------------------------------------
$(DESTDIRJAR)$/%.jar : $(BINOUT)$/%.jar $(DIRLIST)

View File

@ -0,0 +1,11 @@
--- ../psprint/source/printer/printerinfomanager.cxx.orig Wed Oct 16 00:02:09 2002
+++ ../psprint/source/printer/printerinfomanager.cxx Fri Oct 18 20:02:54 2002
@@ -883,7 +883,7 @@
static const struct SystemCommandParameters aParms[] =
{
-#ifdef LINUX
+#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
{ "/usr/sbin/lpc status", "lpr -P \"(PRINTER)\"", "", ":", 0 },
{ "lpc status", "lpr -P \"(PRINTER)\"", "", ":", 0 },
{ "LANG=C;LC_ALL=C;export LANG LC_ALL;lpstat -s", "lp -d \"(PRINTER)\"", "system for ", ": ", 1 }

View File

@ -0,0 +1,13 @@
--- ../psprint/source/printergfx/psheader.ps.orig Tue Jun 4 22:33:58 2002
+++ ../psprint/source/printergfx/psheader.ps
@@ -303,8 +303,8 @@
/h /i /j /k /l /m /n /o
/p /q /r /s /t /u /v /w
/x /y /z /braceleft /bar /braceright /asciitilde /unused
- /euro /unused /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl
- /circumflex /perthousand /Scaron /guilsinglleft /OE /unused /zcaron /unused
+ /Euro /unused /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl
+ /circumflex /perthousand /Scaron /guilsinglleft /OE /unused /Zcaron /unused
/unused /quoteleft /quoteright /quotedblleft /quotedblright /bullet /endash /emdash
/tilde /trademark /scaron /guilsinglright /oe /unused /zcaron /Ydieresis
/space /exclamdown /cent /sterling /currency /yen /brokenbar /section

View File

@ -1,12 +0,0 @@
--- ../psprint/util/makefile.mk.orig Sat Mar 2 22:24:38 2002
+++ ../psprint/util/makefile.mk Sat Mar 2 22:25:27 2002
@@ -91,7 +91,9 @@
.IF "$(OS)"=="SOLARIS"
SHL1VERSIONMAP=libpsp_solaris.map
.ELSE # should work for all gcc/binutils based linker (ld)
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP=libpsp_linux.map
+.ENDIF
.ENDIF
SHL1STDLIBS=$(UNOTOOLSLIB) \
$(TOOLSLIB) \

View File

@ -1,12 +0,0 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -1,12 +0,0 @@
--- ../registry/util/makefile.mk.orig Sat Mar 2 22:28:13 2002
+++ ../registry/util/makefile.mk Sat Mar 2 22:28:07 2002
@@ -95,7 +95,9 @@
$(STORELIB) \
$(LIBCIMT)
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
+.ENDIF
SHL1LIBS= $(LIB1TARGET)
SHL1DEPN= $(LIB1TARGET)

View File

@ -1,14 +0,0 @@
--- ../remotebridges/source/unourl_resolver/makefile.mk.orig Tue Jan 1 14:11:01 2002
+++ ../remotebridges/source/unourl_resolver/makefile.mk
@@ -102,9 +102,9 @@
SHL1VERSIONMAP= $(TARGET).map
SHL1STDLIBS= \
+ $(SALLIB) \
$(CPPULIB) \
- $(CPPUHELPERLIB) \
- $(SALLIB)
+ $(CPPUHELPERLIB)
SHL1DEPN=
SHL1IMPLIB= i$(TARGET)

View File

@ -1,12 +0,0 @@
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
@@ -462,7 +462,9 @@
extern char *strrchr();
extern char *strchr();
#if ! ( defined UNX && defined ALPHA )
+#if ! ( defined FREEBSD )
extern long time();
+#endif
#endif
/* extern char *sprintf(); */ /* Lint needs this */

View File

@ -0,0 +1,12 @@
--- ../rsc/source/rscpp/cpp3.c.orig Thu Jul 25 00:00:25 2002
+++ ../rsc/source/rscpp/cpp3.c Thu Jul 25 00:01:50 2002
@@ -82,7 +82,9 @@
#ifdef IRIX
extern void abort(void);
#else
+#ifndef FREEBSD
extern int abort(); /* For debugging */
+#endif
#endif
#endif

View File

@ -1,12 +0,0 @@
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
@@ -462,7 +462,9 @@
extern char *strrchr();
extern char *strchr();
#if ! ( defined UNX && defined ALPHA )
+#if ! ( defined FREEBSD )
extern long time();
+#endif
#endif
/* extern char *sprintf(); */ /* Lint needs this */

View File

@ -1,35 +0,0 @@
--- ../sablot/Sablot-0.52.patch.orig Mon Oct 29 19:18:40 2001
+++ ../sablot/Sablot-0.52.patch Tue Mar 5 18:16:07 2002
@@ -3,7 +3,7 @@
***************
*** 1 ****
! dummy
---- 1,147 ----
+--- 1,157 ----
! #*************************************************************************
! #
! # $RCSfile: makefile.mk,v $
@@ -85,12 +85,22 @@
! CFLAGS+= -DHAVE_IEEEFP_H
! .ENDIF
!
-! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX"
+! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
! CFLAGS+= -DHAVE_UNISTD_H
! .ENDIF
!
! .IF "$(GUI)"=="UNX"
+!
+! .IF "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+! .IF "$(OS)"=="FREEBSD"
+! CFLAGS+= -DHAVE_SYS_TIME_H
+! .ELSE
+! CFLAGS+= -DHAVE_SYS_TIMEB_H
+! .ENDIF
+! CFLAGS+= -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
+! .ELSE
! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_FTIME -DHAVE_ISNAN -DHAVE_FINITE
+! .ENDIF
! .ENDIF
!
! CFLAGS+= -I$(SOLARINCDIR)$/external$/expat

View File

@ -1,73 +0,0 @@
--- ../sal/osl/unx/file.c.orig Thu Oct 4 15:09:21 2001
+++ ../sal/osl/unx/file.c
@@ -123,11 +123,16 @@
#include <ctype.h>
static const sal_Char* MOUNTTAB="/etc/mtab";
-#elif defined(NETBSD)
+#elif defined(NETBSD) || defined(FREEBSD)
+#include <sys/param.h>
+#include <sys/ucred.h>
#include <sys/mount.h>
#include <ufs/ufs/quota.h>
#include <ctype.h>
-static const sal_Char* MOUNTTAB="/etc/mtab";
+#define HAVE_STATFS_H
+/* No mounting table on *BSD
+ * This information is stored only in the kernel. */
+/* static const sal_Char* MOUNTTAB="/etc/mtab"; */
#elif defined(IRIX)
#include <mntent.h>
@@ -137,7 +142,7 @@
#include <ctype.h>
static const sal_Char* MOUNTTAB="/etc/mtab";
-#elif defined(MACOSX) || defined(FREEBSD)
+#elif defined(MACOSX)
#include <ufs/ufs/quota.h>
#include <ctype.h>
static const sal_Char* MOUNTTAB="/etc/mtab";
@@ -4224,10 +4229,20 @@
mntfile = fopen(MOUNTTAB,"r");
#endif /* SOLARIS */
+#if defined(NETBSD) || defined(FREEBSD)
+ struct statfs *mntbufp;
+ int mntentries,i;
+ mntentries = getmntinfo(&mntbufp,MNT_WAIT);
buffer[0] = '\0';
+ if(mntentries == 0)
+#else
+
+ buffer[0] = '\0';
+
if ( mntfile == 0 )
+#endif
{
nRet=errno;
#ifdef DEBUG_OSL_FILE
@@ -4286,7 +4301,21 @@
}
#endif /* SOLARIS */
+#if defined(NETBSD) || defined(FREEBSD)
+ i=0;
+ while ( i < mntentries )
+ {
+ if ( strcmp(mntbufp[i].f_mntonname,buffer) == 0 )
+ {
+ *bMountPoint=sal_True;
+ return osl_File_E_None;
+ }
+ i++;
+ }
+#endif
+#if ! ( defined(NETBSD) || defined(FREEBSD) )
fclose(mntfile);
+#endif
*bMountPoint=sal_False;
return osl_File_E_None;
}

View File

@ -0,0 +1,30 @@
--- ../sal/osl/unx/interlck.c.orig Mon Jul 22 17:51:34 2002
+++ ../sal/osl/unx/interlck.c Mon Jul 22 18:03:42 2002
@@ -81,10 +81,10 @@
__asm__ __volatile__ (
"movl $1, %0\n\t"
"lock\n\t"
- "xadd %0, %2\n\t"
+ "xadd %0, %1\n\t"
"incl %0"
- : "=a" (nCount), "=m" (*pCount)
- : "m" (*pCount)
+ : "=&a" (nCount), "+m" (*pCount)
+ :
: "memory");
}
@@ -95,10 +95,10 @@
__asm__ __volatile__ (
"movl $-1, %0\n\t"
"lock\n\t"
- "xadd %0, %2\n\t"
+ "xadd %0, %1\n\t"
"decl %0"
- : "=a" (nCount), "=m" (*pCount)
- : "m" (*pCount)
+ : "=&a" (nCount), "+m" (*pCount)
+ :
: "memory");
}

View File

@ -1,88 +0,0 @@
--- ../sal/osl/unx/nlsupport.c.orig Sat Mar 9 00:51:17 2002
+++ ../sal/osl/unx/nlsupport.c Sat Mar 9 01:54:43 2002
@@ -63,11 +63,17 @@
#include <osl/diagnose.h>
#include <osl/process.h>
-#if defined(LINUX) || defined(SOLARIS)
+#if defined(LINUX) || defined(SOLARIS) || defined(NETBSD) || defined(FREEBSD)
#include <pthread.h>
#include <locale.h>
+#if defined(FREEBSD)
+#if OSVERSION > 500000
#include <langinfo.h>
#endif
+#else
+#include <langinfo.h>
+#endif
+#endif
/*****************************************************************************/
/* typedefs
@@ -242,7 +248,7 @@
return NULL;
}
-#if defined(LINUX) || defined(SOLARIS)
+#if defined(LINUX) || defined(SOLARIS) || defined(NETBSD) || defined(FREEBSD)
/*
* This implementation of osl_getTextEncodingFromLocale maps
@@ -296,7 +302,7 @@
/* XXX MS-874 is an extension to tis620, so this is not
* really equivalent */
-#elif defined(LINUX)
+#elif defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
@@ -477,7 +483,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
-#endif /* ifdef LINUX */
+#endif /* ifdef LINUX || NETBSD || FREEBSD */
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
@@ -516,7 +522,13 @@
}
/* get the charset as indicated by the LC_CTYPE locale */
+#if defined(NETBSD) || defined(FREEBSD)
+#if !defined(CODESET)
+ codeset = NULL;
+#else
codeset = nl_langinfo( CODESET );
+#endif
+#endif
if ( codeset != NULL )
{
@@ -595,7 +607,7 @@
return ret;
}
-#elif defined(MACOSX) /* ifdef LINUX || SOLARIS */
+#elif defined(MACOSX) /* ifdef LINUX || SOLARIS || NETBSD || FREEBSD */
/*
* FIXME: the MacOS X implemetation is missing
@@ -628,7 +640,7 @@
return 0;
}
-#else /* ifdef LINUX || SOLARIS || MACOSX */
+#else /* ifdef LINUX || SOLARIS || MACOSX || NETBSD || FREEBSD */
/*
* This implementation of osl_getTextEncodingFromLocale maps
@@ -844,6 +856,6 @@
return 0;
}
-#endif /* ifdef LINUX || SOLARIS || MACOSX*/
+#endif /* ifdef LINUX || SOLARIS || MACOSX || NETBSD || FREEBSD */

View File

@ -1,14 +0,0 @@
--- ../sal/osl/unx/pipe.c.orig Tue May 29 07:38:32 2001
+++ ../sal/osl/unx/pipe.c
@@ -264,7 +264,11 @@
addr.sun_family = AF_UNIX;
strcpy(addr.sun_path, name);
+#if defined(FREEBSD)
+ len = SUN_LEN(&addr);
+#else
len = sizeof(addr.sun_family) + strlen(addr.sun_path);
+#endif
if ( Options & osl_Pipe_CREATE )
{

View File

@ -1,11 +0,0 @@
--- ../sal/osl/unx/process.c.orig Sat Mar 2 22:33:17 2002
+++ ../sal/osl/unx/process.c Sat Mar 2 22:33:58 2002
@@ -834,7 +834,7 @@
if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno));
-#ifdef LINUX
+#if defined(LINUX) || defined(FREEBSD)
unsetenv("HOME");
#else
putenv("HOME=");

View File

@ -0,0 +1,11 @@
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
@@ -739,7 +739,7 @@
}
-#elif (LINUX && (GLIBC >= 2))
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
struct passwd *pPasswd;

View File

@ -1,20 +0,0 @@
--- ../sal/osl/unx/socket.c.orig Fri Jun 22 16:22:14 2001
+++ ../sal/osl/unx/socket.c Sun Mar 10 23:33:56 2002
@@ -82,7 +82,7 @@
#undef HAVE_POLL_H
#endif
-#if defined(LINUX) || defined (IRIX)
+#if defined(LINUX) || defined (IRIX) || defined(NETBSD) || defined(FREEBSD)
#include <sys/poll.h>
#define HAVE_POLL_H
#endif /* HAVE_POLL_H */
@@ -1965,7 +1965,7 @@
/*****************************************************************************/
oslSocketAddr SAL_CALL osl_getLocalAddrOfSocket(oslSocket pSocket)
{
-#ifdef LINUX
+#ifdef LINUX || defined(FREEBSD)
socklen_t AddrLen;
#else
/* mfe: Solaris 'cc +w' means Addrlen should be signed! */

View File

@ -1,127 +0,0 @@
--- ../sal/osl/unx/system.c.orig Wed Feb 28 13:08:45 2001
+++ ../sal/osl/unx/system.c
@@ -126,6 +126,73 @@
return res;
}
+int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer,
+ size_t buflen, struct passwd **result)
+{
+ struct passwd* res;
+
+ pthread_mutex_lock(&getrtl_mutex);
+
+ if ( res = getpwuid(uid) )
+ {
+ size_t pw_name, pw_passwd, pw_class, pw_gecos, pw_dir, pw_shell;
+
+ pw_name = strlen(res->pw_name)+1;
+ pw_passwd = strlen(res->pw_passwd)+1;
+ pw_class = strlen(res->pw_class)+1;
+ pw_gecos = strlen(res->pw_gecos)+1;
+ pw_dir = strlen(res->pw_dir)+1;
+ pw_shell = strlen(res->pw_shell)+1;
+
+ if (pw_name+pw_passwd+pw_class+pw_gecos
+ +pw_dir+pw_shell < buflen)
+ {
+ memcpy(pwd, res, sizeof(struct passwd));
+
+ strncpy(buffer, res->pw_name, pw_name);
+ pwd->pw_name = buffer;
+ buffer += pw_name;
+
+ strncpy(buffer, res->pw_passwd, pw_passwd);
+ pwd->pw_passwd = buffer;
+ buffer += pw_passwd;
+
+ strncpy(buffer, res->pw_class, pw_class);
+ pwd->pw_class = buffer;
+ buffer += pw_class;
+
+ strncpy(buffer, res->pw_gecos, pw_gecos);
+ pwd->pw_gecos = buffer;
+ buffer += pw_gecos;
+
+ strncpy(buffer, res->pw_dir, pw_dir);
+ pwd->pw_dir = buffer;
+ buffer += pw_dir;
+
+ strncpy(buffer, res->pw_shell, pw_shell);
+ pwd->pw_shell = buffer;
+ buffer += pw_shell;
+
+ *result = pwd ;
+ res = 0 ;
+
+ } else {
+
+ res = ENOMEM ;
+
+ }
+
+ } else {
+
+ res = errno ;
+
+ }
+
+ pthread_mutex_unlock(&getrtl_mutex);
+
+ return res;
+}
+
struct tm *localtime_r(const time_t *timep, struct tm *buffer)
{
struct tm* res;
@@ -449,3 +516,50 @@
}
#endif
+#if defined(NETBSD) || defined(FREEBSD)
+char *fcvt(double value, int ndigit, int *decpt, int *sign)
+{
+ static char ret[256];
+ char buf[256],zahl[256],format[256]="%";
+ char *v1,*v2;
+
+ if (value==0.0) value=1e-30;
+
+ if (value<0.0) *sign=1; else *sign=0;
+
+ if (value<1.0)
+ {
+ *decpt=(int)log10(value);
+ value*=pow(10.0,1-*decpt);
+ ndigit+=*decpt-1;
+ if (ndigit<0) ndigit=0;
+ }
+ else
+ {
+ *decpt=(int)log10(value)+1;
+ }
+
+ sprintf(zahl,"%d",ndigit);
+ strcat(format,zahl);
+ strcat(format,".");
+ strcat(format,zahl);
+ strcat(format,"f");
+
+ sprintf(buf,format,value);
+
+ if (ndigit!=0)
+ {
+ v1=strtok(buf,".");
+ v2=strtok(NULL,".");
+ strcpy(ret,v1);
+ strcat(ret,v2);
+ }
+ else
+ {
+ strcpy(ret,buf);
+ }
+
+ return(ret);
+}
+
+#endif

View File

@ -1,13 +0,0 @@
--- ../sal/osl/unx/system.h.orig Mon Mar 11 01:41:13 2002
+++ ../sal/osl/unx/system.h Mon Mar 11 01:41:25 2002
@@ -216,10 +216,7 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
-# define NO_PTHREAD_PRIORITY
# define CMD_ARG_PRG __progname
# define CMD_ARG_ENV environ
#endif

View File

@ -1,19 +0,0 @@
--- ../sal/rtl/source/strtmpl.c.orig Mon Mar 11 01:28:38 2002
+++ ../sal/rtl/source/strtmpl.c Mon Mar 11 01:30:42 2002
@@ -1104,10 +1104,12 @@
}
else if ( *pStr == '+' )
{
- if ( bExp && (nExp != 0) )
- break;
- if ( fRet != 0.0 )
- break;
+ if ( bExp ) {
+ if ( nExp != 0 )
+ break;
+ }
+ else if ( fRet != 0.0 )
+ break;
}
/* Exponent separator */
else if ( (*pStr == 'e') || (*pStr == 'E') )

View File

@ -0,0 +1,13 @@
--- ../sal/textenc/tencinfo.c.orig Wed Jul 31 11:44:35 2002
+++ ../sal/textenc/tencinfo.c Wed Jul 31 11:45:47 2002
@@ -695,6 +695,10 @@
/* characters. The function search for the first equal string in */
/* the table. In this table are only the most used mime types. */
/* Sort order: important */
+
+ if (pMimeCharset == NULL)
+ pMimeCharset = "usascii";
+
static ImplStrCharsetDef const aVIPMimeCharsetTab[] =
{
{ "usascii", RTL_TEXTENCODING_ASCII_US },

View File

@ -1,12 +0,0 @@
--- ../sal/util/makefile.mk.orig Tue Mar 5 21:36:23 2002
+++ ../sal/util/makefile.mk Tue Mar 5 21:36:44 2002
@@ -113,7 +113,9 @@
SHL1TARGET= $(TARGET)
SHL1IMPLIB= i$(TARGET)
+.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map
+.ENDIF
.IF "$(GUI)"=="WNT"
.IF "$(COM)"!="GCC"

View File

@ -1,11 +0,0 @@
--- ../sal/workben/getlocaleinfotest.cxx Sun Mar 10 23:42:26 2002
+++ ../sal/workben/getlocaleinfotest.cxx Sun Mar 10 23:42:45 2002
@@ -63,7 +63,7 @@
#include <osl/nlsupport.h>
#include <rtl/ustring.hxx>
-int _cdecl main( int argc, char * argv[] )
+int main( int argc, char * argv[] )
{
rtl::OUString lang = rtl::OUString::createFromAscii( "de" );
rtl::OUString country = rtl::OUString::createFromAscii( "DE" );

View File

@ -1,29 +0,0 @@
--- ../sal/workben/makefile.mk.orig Tue May 15 14:11:20 2001
+++ ../sal/workben/makefile.mk Sun Mar 10 23:46:59 2002
@@ -113,7 +113,7 @@
.IF "$(TESTAPP)" == "salstattest"
- CFLAGS+= /DUSE_SAL_STATIC
+ CFLAGS+= -DUSE_SAL_STATIC
OBJFILES= $(OBJ)$/salstattest.obj
@@ -325,7 +325,7 @@
# tgetpwnam
#
.IF "$(TESTAPP)" == "tgetpwnam"
-.IF "$(OS)"=="SCO" || "$(OS)"=="NETBSD"
+.IF "$(OS)"=="SCO" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
CXXFILES= tgetpwnam.cxx
OBJFILES= $(OBJ)$/tgetpwnam.obj
@@ -335,7 +335,7 @@
APP5STDLIBS=$(SALLIB)
APP5DEPN= $(SLB)$/sal.lib
-.ENDIF # (sco | netbsd)
+.ENDIF # (sco | netbsd | freebsd)
.ENDIF # tgetpwname
# --- Targets ------------------------------------------------------

View File

@ -0,0 +1,31 @@
--- /dev/null Thu Jun 6 20:06:24 2002
+++ ../salhelper/source/gcc2_freebsd_intel.map Thu Jun 6 20:02:18 2002
@@ -0,0 +1,28 @@
+SALHLP_1_0 {
+global:
+GetVersionInfo;
+_._Q28salhelper18ORealDynamicLoader;
+__Q29salhelper18ORealDynamicLoaderPPQ29salhelper18ORealDynamicLoaderRCQ23rtl8OUStringT2PvT4;
+__tfQ29salhelper18ORealDynamicLoader;
+__tiQ29salhelper18ORealDynamicLoader;
+__vt_Q29salhelper18ORealDynamicLoader;
+_fini;
+_init;
+acquire__Q29salhelper18ORealDynamicLoader;
+getApi__CQ29salhelper18ORealDynamicLoader;
+newInstance__Q29salhelper18ORealDynamicLoaderPPQ29salhelper18ORealDynamicLoaderRCQ23rtl8OUStringT2;
+release__Q29salhelper18ORealDynamicLoader;
+_._Q29salhelper21SimpleReferenceObject;
+__Q29salhelper21SimpleReferenceObject;
+__dl__Q29salhelper21SimpleReferenceObjectPv;
+__dl__Q29salhelper21SimpleReferenceObjectPvRC9nothrow_t;
+__nw__Q29salhelper21SimpleReferenceObjectUi;
+__nw__Q29salhelper21SimpleReferenceObjectUiRC9nothrow_t;
+__tfQ29salhelper21SimpleReferenceObject;
+__tiQ29salhelper21SimpleReferenceObject;
+__vt_Q29salhelper21SimpleReferenceObject;
+acquire__Q29salhelper21SimpleReferenceObject;
+release__Q29salhelper21SimpleReferenceObject;
+local:
+*;
+};

View File

@ -0,0 +1,34 @@
--- /dev/null Thu Jun 6 20:06:34 2002
+++ ../salhelper/source/gcc3_freebsd_intel.map Thu Jun 6 20:02:29 2002
@@ -0,0 +1,31 @@
+UDK_3_0_0 {
+ global:
+GetVersionInfo;
+_DYNAMIC;
+_GLOBAL_OFFSET_TABLE_;
+_ZN9salhelper18ORealDynamicLoader11newInstanceEPPS0_RKN3rtl8OUStringES6_;
+_ZN9salhelper18ORealDynamicLoader7acquireEv;
+_ZN9salhelper18ORealDynamicLoader7releaseEv;
+_ZN9salhelper18ORealDynamicLoaderC1EPPS0_RKN3rtl8OUStringES6_PvS7_;
+_ZN9salhelper18ORealDynamicLoaderC2EPPS0_RKN3rtl8OUStringES6_PvS7_;
+_ZN9salhelper18ORealDynamicLoaderD0Ev;
+_ZN9salhelper18ORealDynamicLoaderD1Ev;
+_ZN9salhelper18ORealDynamicLoaderD2Ev;
+_ZN9salhelper21SimpleReferenceObjectD0Ev;
+_ZN9salhelper21SimpleReferenceObjectD1Ev;
+_ZN9salhelper21SimpleReferenceObjectD2Ev;
+_ZN9salhelper21SimpleReferenceObjectdlEPv;
+_ZN9salhelper21SimpleReferenceObjectnwEj;
+_ZNK9salhelper18ORealDynamicLoader6getApiEv;
+_ZTVN9salhelper18ORealDynamicLoaderE;
+_ZTVN9salhelper21SimpleReferenceObjectE;
+__bss_start;
+_edata;
+_end;
+_fini;
+_init;
+component_getDescriptionFunc;
+ local:
+ *;
+};
+

Some files were not shown because too many files have changed in this diff Show More