diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-05-31 23:01:15 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-05-31 23:01:15 +0000 |
commit | a54fe1ca9c33931d7c4381a84ee11454f9831c08 (patch) | |
tree | 16cc7f849128603b27ba13f7bdb8ae11e1eadd30 /editors/openoffice.org-vcltesttool/files | |
parent | c7651500a041b224f401ba85fc192aac6ad83c1c (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_EOL'.5-eol
Notes
Notes:
svn path=/head/; revision=214069
svn path=/tags/RELEASE_5_EOL/; revision=214070; tag=5-eol
Diffstat (limited to 'editors/openoffice.org-vcltesttool/files')
20 files changed, 0 insertions, 3057 deletions
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs deleted file mode 100644 index 686099bd3274..000000000000 --- a/editors/openoffice.org-vcltesttool/files/Makefile.knobs +++ /dev/null @@ -1,163 +0,0 @@ -# Makefile for knobs -# Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD$ - -CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home="${LOCALBASE}/share/java/apache-ant" - -CONFIGURE_ARGS+= --with-vba-package-format="builtin" - -.if defined(WITH_KDE) -CONFIGURE_ARGS+= --enable-kde QTDIR="${QT_PREFIX}" -.endif - -.if defined(WITHOUT_CUPS) -CONFIGURE_ARGS+= --enable-cups=no -.else -LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base -CONFIGURE_ARGS+= --enable-cups=yes -.endif - -.if defined(WITHOUT_MOZILLA) -CONFIGURE_ARGS+= --disable-mozilla -.else -CONFIGURE_ARGS+= --enable-build-mozilla -.endif - -.if defined(WITHOUT_GNOMEVFS) -CONFIGURE_ARGS+= --disable-gnome-vfs -.else -USE_GNOME+= gnomevfs2 -.endif - -.if defined(WITH_EVOLUTION2) -CONFIGURE_ARGS+= --enable-evolution2=yes -.else -USE_GNOME+= glib20 -.endif - -.if defined(WITH_SYSTEM_FREETYPE) -LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 -CONFIGURE_ARGS+= --with-system-freetype=yes -.else -CONFIGURE_ARGS+= --with-system-freetype=no -.endif - -.if defined(ALL_LOCALIZED_LANGS) -CONFIGURE_ARGS+= --with-lang=ALL -.else -CONFIGURE_ARGS+= --with-lang=${LOCALIZED_LANG} -.endif - -.if defined(WITH_DEBUG) -CONFIGURE_ARGS+= --enable-debug --enable-symbols=TRUE --enable-dbgutil -.else -CONFIGURE_ARGS+= --enable-symbols=SMALL -.endif - -.if defined(WITH_SYSTEM_ICU) -LIB_DEPENDS+= icule:${PORTSDIR}/devel/icu -CONFIGURE_ARGS+= --with-system-icu=yes -.else -CONFIGURE_ARGS+= --with-system-icu=no -.endif - -pre-fetch: -.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000) - @${ECHO} - @${ECHO} "WARNING" - @${ECHO} "Your rtld seems to be old." - @${ECHO} "Please remake your rtld by:" - @${ECHO} "[1] if you use 4-series:" - @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4" - @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4" - @${ECHO} "# make ; make depend ; make install" - @${ECHO} "[2] if you use 5-series:" - @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5" - @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5" - @${ECHO} "# make ; make depend ; make install" - @${ECHO} "AT YOUR OWN RISK!" -.endif - @${ECHO} "OPTIONS:" -.if !defined(WITH_DEBUG) - @${ECHO} - @${ECHO} "You can compile OOo with debug symbols/supports with" - @${ECHO} "make -DWITH_DEBUG" -.endif -.if !defined(WITHOUT_MOZILLA) - @${ECHO} - @${ECHO} "You can compile OOo without Mozilla connectivity with" - @${ECHO} "make -DWITHOUT_MOZILLA" -.endif -.if !defined(WITHOUT_GNOMEVFS) - @${ECHO} - @${ECHO} "You can compile OOo without gnome VFS support with" - @${ECHO} "make -DWITHOUT_GNOMEVFS" -.endif -.if !defined(WITH_SYSTEM_ICU) - @${ECHO} - @${ECHO} "You can compile OOo with devel/icu from ports with" - @${ECHO} "make -DWITH_SYSTEM_ICU" -.endif -.if !defined(WITH_SYSTEM_FREETYPE) - @${ECHO} - @${ECHO} "You can compile OOo with freetype2 from ports with" - @${ECHO} "make -DWITH_SYSTEM_FREETYPE" -.if !defined(WITH_TTF_BYTECODE_ENABLED) - @${ECHO} - @${ECHO} "You may get better quality of glyphs" - @${ECHO} "at small bitmap sizes if you have" - @${ECHO} "licensed the Apple patents" - @${ECHO} "US05155805 US05159668 and US05325479, with" - @${ECHO} "make -DWITH_TTF_BYTECODE_ENABLED" - @${ECHO} "See http://www.freetype.org/patents.html for details" -.endif -.endif -.if !defined(WITHOUT_CUPS) - @${ECHO} - @${ECHO} "You can compile OOo without CUPS support with" - @${ECHO} "make -DWITHOUT_CUPS" -.endif -.if !defined(WITH_KDE) - @${ECHO} - @${ECHO} "You can compile OOo to use Qt/KDE vclplug with" - @${ECHO} "make -DWITH_KDE" -.endif -.if !defined(WITH_GPC) - @${ECHO} - @${ECHO} "You can compile OOo with gpc instead of libart by" - @${ECHO} "make -DWITH_GPC" -.endif -.if !defined(WITH_EVOLUTION2) - @${ECHO} - @${ECHO} "You can compile OOo with evolution2 support by" - @${ECHO} "make -DWITH_EVOLUTION2" -.endif -.if ${LOCALIZED_LANG} != "alllangs" - @${ECHO} - @${ECHO} "You can compile OOo with full localized language support by" - @${ECHO} "make LOCALIZED_LANG=alllangs" -.endif - @${ECHO} - @${ECHO} "You can select the language for OOo by making it with:" - @${ECHO} "make LOCALIZED_LANG=xx" - @${ECHO} "while xx can be one of the following" - @${ECHO} "af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da" - @${ECHO} "de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl" - @${ECHO} "gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk" - @${ECHO} "ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt" - @${ECHO} "pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER" - @${ECHO} "ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW" - @${ECHO} "zu" - @${ECHO} "Current setting: ${LOCALIZED_LANG}" - @${ECHO} - @${ECHO} "NOTICE:" - @${ECHO} - @${ECHO} "To build OOo, you should have a lot" -.if defined(WITH_DEBUG) - @${ECHO} "of free diskspace (~ 18GB) and memory (~ 2GB)." -.elif ${LOCALIZED_LANG} == "alllangs" - @${ECHO} "of free diskspace (~ 35GB) and memory (~ 2GB)." -.else - @${ECHO} "of free diskspace (~ 11GB) and memory (~ 2GB)." -.endif - @${ECHO} "If you want SDK and/or solver, please type make sdk and/or make solver" diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.localized b/editors/openoffice.org-vcltesttool/files/Makefile.localized deleted file mode 100644 index 01bf95d9d315..000000000000 --- a/editors/openoffice.org-vcltesttool/files/Makefile.localized +++ /dev/null @@ -1,405 +0,0 @@ -# localized makefile -# Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD$ -################################################################ -#See solenv/inc/postset.mk for details -################################################################ -.if defined(LOCALIZED_LANG) -.if ${LOCALIZED_LANG} == "af" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ar" -CATEGORIES+= arabic -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "as-IN" -LANG_PKGNAME= as -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "be-BY" -LANG_PKGNAME= be -LANG_SUFFIX= BY -.endif -################################################################ -.if ${LOCALIZED_LANG} == "bg" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "bn-BD" -LANG_PKGNAME= be -LANG_SUFFIX= BD -.endif -################################################################ -.if ${LOCALIZED_LANG} == "bn-IN" -LANG_PKGNAME= bn -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "bn" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "br" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "bs" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ca" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "cs" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "cy" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "da" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "de" -CATEGORIES+= german -LANG_PKGNAME= ${LOCALIZED_LANG} -COMMENT= Office-Suite mit Textverarbeitung, Tabellenkalkulation, Datenbank und Praesentationsprogramm -.endif -################################################################ -.if ${LOCALIZED_LANG} == "dz" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "el" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "en-GB" -LANG_PKGNAME= en -LANG_SUFFIX= GB -.endif -################################################################ -.if ${LOCALIZED_LANG} == "en-US" -LANG_PKGNAME= en -LANG_SUFFIX= US -.endif -################################################################ -.if ${LOCALIZED_LANG} == "en-ZA" -LANG_PKGNAME= en -LANG_SUFFIX= ZA -.endif -################################################################ -.if ${LOCALIZED_LANG} == "eo" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "es" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "et" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "eu" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "fa" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "fi" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "fr" -CATEGORIES+= french -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ga" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "gl" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "gu-IN" -LANG_PKGNAME= gu -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "he" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "hi-IN" -LANG_PKGNAME= hi -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "hr" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "hu" -CATEGORIES+= hungarian -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "it" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ja" -CATEGORIES+= japanese -LANG_PKGNAME= ${LOCALIZED_LANG} -RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/TrueType/ipam.ttf:${PORTSDIR}/japanese/ipa-ttfonts -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ka" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "km" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "kn" -LANG_PKGNAME= kn -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ko" -CATEGORIES+= korean -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ku" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "lo" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "lt" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "lv" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "mk" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ml-IN" -LANG_PKGNAME= ml -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "mr-IN" -LANG_PKGNAME= mr -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ms" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "nb" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ne" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "nl" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "nn" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "nr" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ns" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "oc" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "or-IN" -LANG_PKGNAME= or -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "pa-IN" -LANG_PKGNAME= pa -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "pl" -CATEGORIES+= polish -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "pt" -COMMENT= Editor texto/grBaGico, banco de dados/planilha/navegador integrado -CATEGORIES+= portuguese -LANG_PKGNAME= ${LOCALIZED_LANG} -LANG_CONFIGURE_ARG= PORT -.endif -################################################################ -.if ${LOCALIZED_LANG} == "pt-BR" -COMMENT= Editor texto/grBaGico, banco de dados/planilha/navegador integrado -CATEGORIES+= portuguese -LANG_PKGNAME= pt -LANG_SUFFIX= BR -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ru" -CATEGORIES+= russian -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "rw" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sh" -LANG_PKGNAME= sh -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sk" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sl" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sr" -LANG_PKGNAME= sr -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ss" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "st" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sv" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sw-TZ" -LANG_PKGNAME= sw -LANG_SUFFIX= TZ -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sw" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ta-IN" -LANG_PKGNAME= ta -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "te-IN" -LANG_PKGNAME= te -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "tg" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "th" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ti-ER" -LANG_PKGNAME= ti -LANG_SUFFIX= ER -.endif -################################################################ -.if ${LOCALIZED_LANG} == "tn" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "tr" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ts" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "uk" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ur-IN" -LANG_PKGNAME= ur -LANG_SUFFIX= IN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "uz" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "ve" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "vi" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "xh" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "zh-CN" -CATEGORIES+= chinese -LANG_PKGNAME= zh -LANG_SUFFIX= CN -BUILD_DEPENDS+= ${PREFIX}/share/fonts/TrueType/gbsn00lp.ttf:${PORTSDIR}/chinese/arphicttf -.endif -################################################################ -.if ${LOCALIZED_LANG} == "zh-TW" -CATEGORIES+= chinese -LANG_PKGNAME= zh -LANG_SUFFIX= TW -BUILD_DEPENDS+= ${PREFIX}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf -.endif -################################################################ -.if ${LOCALIZED_LANG} == "zu" -LANG_PKGNAME= ${LOCALIZED_LANG} -.endif -################################################################ -.if ${LOCALIZED_LANG} == "alllangs" -ALL_LOCALIZED_LANGS=yes -PKGNAMESUFFIX= -alllangs -.endif -################################################################ -.endif diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.others b/editors/openoffice.org-vcltesttool/files/Makefile.others deleted file mode 100644 index 444a91beac69..000000000000 --- a/editors/openoffice.org-vcltesttool/files/Makefile.others +++ /dev/null @@ -1,67 +0,0 @@ -# Makefile for other stuffs -# Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD$ - -#other stuffs which are not directly related to making ports -#package-rename: rename package for uploading -#package-canonical: making official packages (WIP) -#ure: URE (Uno Runtime Environment) packages (WIP) -#solver: solver -#languagepack: language pack - -package-rename: - @${ECHO_MSG} "===> Rename package for OpenOffice.org mirror upload"; - @${MV} ${PKGFILE} \ - ${WRKDIR}/../${PACKAGE_BASENAME}_install_${LOCALIZED_LANG}${PKG_SUFX} - -package-canonical: - @${ECHO_MSG} "===> Canonical packaging for OpenOffice.org"; - @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ;\ - ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_native_install_${LOCALIZED_LANG}${PKG_SUFX} . - -sdk: - @${ECHO_MSG} "===> Make SDK of OpenOffice.org" - @${RM} -fr ${WRKDIR}/sdk_tmp - @${MKDIR} ${WRKDIR}/sdk_tmp - @cd ${WRKDIR}/sdk_tmp ; \ - ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_SDK/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.t?z - @cd ${WRKDIR}/sdk_tmp/opt/openoffice* ; \ - ${MKDIR} ../${INSTALLATION_BASEDIR}_sdk ; \ - ${MV} * ../${INSTALLATION_BASEDIR}_sdk ; cd .. ; \ - ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_SDK.tar.bz2 ${INSTALLATION_BASEDIR}_sdk - -ure: - @${ECHO_MSG} "===> Make Uno Runtime Environment of OpenOffice.org" - @${RM} -fr ${WRKDIR}/ure_tmp - @${MKDIR} ${WRKDIR}/ure_tmp - @cd ${WRKDIR}/ure_tmp ; \ - ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/URE/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.t?z - @cd ${WRKDIR}/ure_tmp/opt/openoffice* ; \ - ${MKDIR} ../${INSTALLATION_BASEDIR} ; \ - ${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \ - ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_URE.tar.bz2 ${INSTALLATION_BASEDIR} - -solver: - @${ECHO_MSG} "===> Make Solver of OpenOffice.org" - @cd ${WRKSRC} ; ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_solver.tar.bz2 solver - -languagepack: - @${ECHO_MSG} "===> Make languagepack of OpenOffice.org" -.if defined (ALL_LOCALIZED_LANGS) - @cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack' -.else - @cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}' -.endif - -.if !defined (ALL_LOCALIZED_LANGS) - @${RM} -fr ${WRKDIR}/langpack_tmp - @${MKDIR} ${WRKDIR}/langpack_tmp -.if defined (LOCALIZED_LANG) - @cd ${WRKDIR}/langpack_tmp ; \ - ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.t?z - @cd ${WRKDIR}/langpack_tmp/opt/openoffice* ; \ - ${MKDIR} ../${INSTALLATION_BASEDIR} ; \ - ${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \ - ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_langpack_${LOCALIZED_LANG}.tar.bz2 ${INSTALLATION_BASEDIR} -.endif -.endif diff --git a/editors/openoffice.org-vcltesttool/files/generate.pl b/editors/openoffice.org-vcltesttool/files/generate.pl deleted file mode 100644 index 88ce945c4e9d..000000000000 --- a/editors/openoffice.org-vcltesttool/files/generate.pl +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/perl -# generate full build shell script for OpenOffice.org -# Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/generate.pl,v 1.11 2008-04-04 10:05:21 maho Exp $ - -print "#!/bin/csh\n"; -print "make deinstall clean\n"; -print "/usr/bin/time -h make WITH_CCACHE=yes install package package-rename solver sdk ure languagepack deinstall >& log.en\n"; -print "bzip2 log.en\n"; -#print "rm work/.configure* work/.build* \n"; -#workaround for breakage at odk sdk_oo -print "make deinstall clean\n"; - -print "/usr/bin/time -h make ALL_LOCALIZED_LANGS=yes >& log.all\n"; -print "bzip2 log.all\n"; - -open ( FILE, "< Makefile.localized") ; -while(<FILE>){ -@tmp=split (' ',$_); -@tmp2=split ('"',$tmp[3]); -if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1]; - print "make TWEAK_L10N=yes LOCALIZED_LANG=$LANG pre-everything\n"; - print "/usr/bin/time -h make LOCALIZED_LANG=$LANG WITH_CCACHE=yes languagepack package package-rename deinstall >& log.$LANG\n"; - print "bzip2 log.$LANG\n"; - } -} -close FILE; -print "md5 OOo* > MD5SUMS.log\n"; -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n"; diff --git a/editors/openoffice.org-vcltesttool/files/openoffice.org-wrapper b/editors/openoffice.org-vcltesttool/files/openoffice.org-wrapper deleted file mode 100644 index 45c88c77163a..000000000000 --- a/editors/openoffice.org-vcltesttool/files/openoffice.org-wrapper +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/openoffice.org-wrapper,v 1.3 2006-11-12 22:11:35 maho Exp $ - -oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/ -program=`echo $0 | sed -e 's|.*-%%OOOTAG%%-||'` - -case $program in -$0) - $oopath/soffice "$@" - ;; - *) - $oopath/$program "$@" - ;; -esac diff --git a/editors/openoffice.org-vcltesttool/files/optpatch-freetype b/editors/openoffice.org-vcltesttool/files/optpatch-freetype deleted file mode 100644 index 59a849064ce7..000000000000 --- a/editors/openoffice.org-vcltesttool/files/optpatch-freetype +++ /dev/null @@ -1,38 +0,0 @@ -Index: freetype/freetype-2.2.1.patch -=================================================================== -RCS file: /cvs/external/freetype/freetype-2.2.1.patch,v -retrieving revision 1.2 -diff -u -r1.2 freetype-2.2.1.patch ---- freetype/freetype-2.2.1.patch 3 Aug 2006 14:58:26 -0000 1.2 -+++ freetype/freetype-2.2.1.patch 18 Nov 2006 07:15:21 -0000 -@@ -71,5 +71,5 @@ --*** misc/freetype-2.2.1/include/freetype/config/ftmodule.h Mon Jan 30 11:49:42 2006 ----- misc/build/freetype-2.2.1/include/freetype/config/ftmodule.h Wed Apr 4 20:04:02 2007 -+*** misc/freetype-2.2.1/include/freetype/config/ftmodule.h Tue Jan 31 01:49:42 2006 -+--- misc/build/freetype-2.2.1/include/freetype/config/ftmodule.h Sat Nov 18 16:06:09 2006 - *************** - *** 17,24 **** - --- 17,26 ---- -@@ -94,3 +94,22 @@ - + #endif - - /* EOF */ -+*** misc/freetype-2.2.1/include/freetype/config/ftoption.h Fri May 12 03:05:49 2006 -+--- misc/build/freetype-2.2.1/include/freetype/config/ftoption.h Sat Nov 18 16:07:55 2006 -+*************** -+*** 436,442 **** -+ /* Do not #undef this macro here, since the build system might */ -+ /* define it for certain configurations only. */ -+ /* */ -+! /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ -+ -+ -+ /*************************************************************************/ -+--- 436,442 ---- -+ /* Do not #undef this macro here, since the build system might */ -+ /* define it for certain configurations only. */ -+ /* */ -+! #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER -+ -+ -+ /*************************************************************************/ diff --git a/editors/openoffice.org-vcltesttool/files/patch-i65514 b/editors/openoffice.org-vcltesttool/files/patch-i65514 deleted file mode 100644 index 3a7cabaad912..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i65514 +++ /dev/null @@ -1,13 +0,0 @@ ---- berkeleydb/makefile.mk 25 May 2007 10:48:51 -0000 1.40 -+++ berkeleydb/makefile.mk 2 Jul 2007 20:15:24 -0000 -@@ -105,6 +105,10 @@ - ..$/dist$/configure - CONFIGURE_FLAGS=--disable-cxx --enable-dynamic --enable-shared --enable-compat185 - -+.IF "$(COM)$(CPU)"=="GCCX" -+CONFIGURE_FLAGS+=--with-mutex=x86/gcc-assembly -+.ENDIF -+ - # just pass ARCH_FLAGS to native build - CFLAGS+:=$(ARCH_FLAGS) - CXXFLAGS+:=$(ARCH_FLAGS) diff --git a/editors/openoffice.org-vcltesttool/files/patch-i65974 b/editors/openoffice.org-vcltesttool/files/patch-i65974 deleted file mode 100644 index 40de0acde40f..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i65974 +++ /dev/null @@ -1,12 +0,0 @@ ---- jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx 16 Sep 2006 17:46:13 -0000 1.7 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx 22 Jun 2007 21:36:24 -0000 -@@ -94,6 +94,9 @@ - static char const * ar[] = { - - "/lib/" JFW_PLUGIN_ARCH "/client", -+#if SAL_TYPES_SIZEOFPOINTER == 8 -+ "/lib/" JFW_PLUGIN_ARCH "/server", -+#endif - "/lib/" JFW_PLUGIN_ARCH "/native_threads", - "/lib/" JFW_PLUGIN_ARCH - diff --git a/editors/openoffice.org-vcltesttool/files/patch-i73217 b/editors/openoffice.org-vcltesttool/files/patch-i73217 deleted file mode 100644 index 712631a136f1..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i73217 +++ /dev/null @@ -1,99 +0,0 @@ -It won't fix in the master as it breaks the POSIX. - -Index: epm/epm-3.7.patch -=================================================================== -RCS file: /cvs/external/epm/epm-3.7.patch,v -retrieving revision 1.11 -diff -u -r1.11 epm-3.7.patch ---- epm/epm-3.7.patch 1 Aug 2006 12:20:23 -0000 1.11 -+++ epm/epm-3.7.patch 6 Jan 2007 10:10:38 -0000 -@@ -247,6 +247,23 @@ - *** misc/epm-3.7/dist.c Thu Aug 7 16:14:40 2003 - --- misc/build/epm-3.7/dist.c Wed Jul 26 21:01:11 2006 - *************** -+*** 339,345 **** -+ const char *defval) /* I - Default value of option */ -+ { -+ char *ptr; /* Pointer to option */ -+! static char option[256]; /* Copy of file option */ -+ -+ -+ /* -+--- 339,345 ---- -+ const char *defval) /* I - Default value of option */ -+ { -+ char *ptr; /* Pointer to option */ -+! static char option[1024]; /* Copy of file option */ -+ -+ -+ /* -+*************** - *** 394,401 **** - strcpy(platform->machine, "mips"); - #elif defined(__hpux) -@@ -292,6 +309,35 @@ - else if (strncmp(platform->machine, "sun", 3) == 0) - strcpy(platform->machine, "sparc"); - #endif /* __sgi */ -+*************** -+*** 550,562 **** -+ char line[2048], /* Expanded line from list file */ -+ buf[1024], /* Original line from list file */ -+ type, /* File type */ -+! dst[256], /* Destination path */ -+! src[256], /* Source path */ -+! pattern[256], /* Pattern for source files */ -+ user[32], /* User */ -+ group[32], /* Group */ -+ *temp, /* Temporary pointer */ -+! options[256]; /* File options */ -+ int mode, /* File permissions */ -+ skip; /* 1 = skip files, 0 = archive files */ -+ dist_t *dist; /* Distribution data */ -+--- 560,572 ---- -+ char line[2048], /* Expanded line from list file */ -+ buf[1024], /* Original line from list file */ -+ type, /* File type */ -+! dst[1024], /* Destination path */ -+! src[1024], /* Source path */ -+! pattern[1024], /* Pattern for source files */ -+ user[32], /* User */ -+ group[32], /* Group */ -+ *temp, /* Temporary pointer */ -+! options[1024]; /* File options */ -+ int mode, /* File permissions */ -+ skip; /* 1 = skip files, 0 = archive files */ -+ dist_t *dist; /* Distribution data */ - *** misc/epm-3.7/epm.c Tue Oct 28 15:48:30 2003 - --- misc/build/epm-3.7/epm.c Wed Jul 26 20:59:48 2006 - *************** -@@ -304,6 +350,29 @@ - puts(""); - puts("EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details"); - puts("see the GNU General Public License in the file COPYING or at"); -+*** misc/epm-3.7/epm.h Thu Jul 24 10:20:54 2003 -+--- misc/build/epm-3.7/epm.h Sat Jan 6 19:08:44 2007 -+*************** -+*** 167,175 **** -+ int mode; /* Permissions of file */ -+ char user[32], /* Owner of file */ -+ group[32], /* Group of file */ -+! src[512], /* Source path */ -+! dst[512], /* Destination path */ -+! options[256]; /* File options (nostrip, etc.) */ -+ } file_t; -+ -+ typedef struct /**** Install/Patch/Remove Commands ****/ -+--- 167,175 ---- -+ int mode; /* Permissions of file */ -+ char user[32], /* Owner of file */ -+ group[32], /* Group of file */ -+! src[1024], /* Source path */ -+! dst[1024], /* Destination path */ -+! options[1024]; /* File options (nostrip, etc.) */ -+ } file_t; -+ -+ typedef struct /**** Install/Patch/Remove Commands ****/ - *** misc/epm-3.7/file.c Wed Jul 23 23:41:08 2003 - --- misc/build/epm-3.7/file.c Wed Jul 26 20:59:48 2006 - *************** diff --git a/editors/openoffice.org-vcltesttool/files/patch-i75190 b/editors/openoffice.org-vcltesttool/files/patch-i75190 deleted file mode 100644 index f382267ffd7e..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i75190 +++ /dev/null @@ -1,107 +0,0 @@ -http://www.freebsd.org/cgi/query-pr.cgi?pr=121953 (Dwayne MacKinnon) -http://qa.openoffice.org/issues/show_bug.cgi?id=75190 -Turn the GTK Recent Manager feature off. -Other workaround -% setenv OOO_FORCE_DESKTOP gnome - -Backout of misfeature in cws_src680_obr05 branch. -* rev 1.9 of gsl/shell/source/unix/sysshell/recently_used_file_handler.cxx -* rev 1.8 of gsl/shell/source/unix/sysshell/systemshell.cxx - -See also -http://lists.freebsd.org/pipermail/freebsd-openoffice/2007-December/003453.html -gsl/shell/source/unix/sysshell/recently_used_file_handler.cxx -(rev. 1.8.44.2) -gsl/shell/source/unix/sysshell/systemshell.cxx -(rev. 1.7.44.1) - -Index: systemshell.cxx -=================================================================== -RCS file: /cvs/gsl/shell/source/unix/sysshell/systemshell.cxx,v -retrieving revision 1.8 -diff -u -u -r1.8 systemshell.cxx ---- shell/source/unix/sysshell/systemshell.cxx 19 Jun 2007 16:12:44 -0000 1.8 -+++ shell/source/unix/sysshell/systemshell.cxx 30 Mar 2008 22:06:15 -0000 -@@ -72,9 +72,6 @@ - const rtl::OUString LIB_RECENT_FILE = UNISTRING("librecentfile.so"); - const rtl::OUString DEFAULT_CONTEXT = UNISTRING("DefaultContext"); - --void * (* sym_gtk_recent_manager_get_default) () = NULL; --void (* sym_gtk_recent_manager_add_item) (void *, const char *) = NULL; -- - // We need to re-encode file urls because osl_getFileURLFromSystemPath converts - // to UTF-8 before encoding non ascii characters, which is not what other apps expect. - static rtl::OUString translateToExternalUrl(const rtl::OUString& internalUrl) -@@ -114,57 +111,31 @@ - return url; - } - -- bool init_recent_manager_api() -- { -- oslModule hDefault; -- if( osl_getModuleHandle( NULL, &hDefault ) ) -- { -- sym_gtk_recent_manager_get_default = (void * (*)()) -- osl_getAsciiFunctionSymbol(hDefault, "gtk_recent_manager_get_default"); -- sym_gtk_recent_manager_add_item = (void (*)(void *, const char *)) -- osl_getAsciiFunctionSymbol(hDefault, "gtk_recent_manager_add_item"); -- -- } -- bool ret = (NULL != sym_gtk_recent_manager_get_default) && (NULL != sym_gtk_recent_manager_add_item); -- return ret; -- } -- -- - //############################## - void AddToRecentDocumentList(const rtl::OUString& aFileUrl, const rtl::OUString& aMimeType) - { -- static bool bIsRecentManagerPresent = init_recent_manager_api(); -- - // Convert file URL for external use (see above) - rtl::OUString externalUrl = translateToExternalUrl(aFileUrl); -+ rtl::OUString librecentfile_url = get_absolute_library_url(LIB_RECENT_FILE); -+ - if( 0 == externalUrl.getLength() ) - externalUrl = aFileUrl; -- -- if( bIsRecentManagerPresent ) -- { -- void * recent_manager = sym_gtk_recent_manager_get_default(); -- sym_gtk_recent_manager_add_item(recent_manager, rtl::OUStringToOString(aFileUrl, RTL_TEXTENCODING_UTF8).getStr()); -- } -- else -+ -+ if (librecentfile_url.getLength()) - { -- rtl::OUString librecentfile_url = get_absolute_library_url(LIB_RECENT_FILE); -- -- if (librecentfile_url.getLength()) -- { -- osl::Module module(librecentfile_url); -+ osl::Module module(librecentfile_url); - -- if (module.is()) -- { -- // convert from reinterpret_cast<PFUNC_ADD_TO_RECENTLY_USED_LIST> -- // not allowed in gcc 3.3 without permissive. -- PFUNC_ADD_TO_RECENTLY_USED_LIST add_to_recently_used_file_list = -- reinterpret_cast<PFUNC_ADD_TO_RECENTLY_USED_LIST>(module.getFunctionSymbol(SYM_ADD_TO_RECENTLY_USED_FILE_LIST)); -- -- if (add_to_recently_used_file_list) -- add_to_recently_used_file_list(aFileUrl, aMimeType); -- } -+ if (module.is()) -+ { -+ // convert from reinterpret_cast<PFUNC_ADD_TO_RECENTLY_USED_LIST> -+ // not allowed in gcc 3.3 without permissive. -+ PFUNC_ADD_TO_RECENTLY_USED_LIST add_to_recently_used_file_list = -+ reinterpret_cast<PFUNC_ADD_TO_RECENTLY_USED_LIST>(module.getFunctionSymbol(SYM_ADD_TO_RECENTLY_USED_FILE_LIST)); -+ -+ if (add_to_recently_used_file_list) -+ add_to_recently_used_file_list(aFileUrl, aMimeType); - } -- } -+ } - } - - } // namespace SystemShell diff --git a/editors/openoffice.org-vcltesttool/files/patch-i80129 b/editors/openoffice.org-vcltesttool/files/patch-i80129 deleted file mode 100644 index 90fd4ceb9dc5..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i80129 +++ /dev/null @@ -1,18 +0,0 @@ -Merely a workaround - -Index: scp2/source/ure/ure.scp -=================================================================== -RCS file: /cvs/installation/scp2/source/ure/ure.scp,v -retrieving revision 1.14 -diff -u -r1.14 ure.scp ---- scp2/source/ure/ure.scp 18 Jul 2007 08:07:32 -0000 1.14 -+++ scp2/source/ure/ure.scp 27 Jul 2007 22:07:16 -0000 -@@ -610,6 +610,8 @@ - #endif - #elif defined MACOSX - Name = SCP2_URE_DL_NORMAL(xml2.2); -+#elif defined FREEBSD -+ Name = STRING(CONCAT3(libxml2,UNXSUFFIX,.2.6.17)); - #else - Name = SCP2_URE_DL_VER(xml2, 2); - #endif diff --git a/editors/openoffice.org-vcltesttool/files/patch-i84549 b/editors/openoffice.org-vcltesttool/files/patch-i84549 deleted file mode 100644 index 3f1808c45b5a..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i84549 +++ /dev/null @@ -1,17 +0,0 @@ -? neon/unxfbsdi.pro -Index: neon/neon.patch -=================================================================== -RCS file: /cvs/external/neon/neon.patch,v -retrieving revision 1.20 -diff -u -r1.20 neon.patch ---- neon/neon.patch 14 Nov 2007 09:49:43 -0000 1.20 -+++ neon/neon.patch 13 Dec 2007 17:16:29 -0000 -@@ -268,7 +268,7 @@ - ! #define HAVE_SYS_TYPES_H 1 - ! - ! /* Define if the timezone global is available */ --! #ifndef MACOSX -+! #if !defined (MACOSX) && !defined (FREEBSD) - ! #define HAVE_TIMEZONE 1 - ! #endif - ! diff --git a/editors/openoffice.org-vcltesttool/files/patch-i84586 b/editors/openoffice.org-vcltesttool/files/patch-i84586 deleted file mode 100644 index 7b624c3f77f1..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i84586 +++ /dev/null @@ -1,43 +0,0 @@ -? sc/unxfbsdi.pro -Index: sc/source/ui/vba/vbaaxis.cxx -=================================================================== -RCS file: /cvs/sc/sc/source/ui/vba/vbaaxis.cxx,v -retrieving revision 1.2 -diff -u -r1.2 vbaaxis.cxx ---- sc/source/ui/vba/vbaaxis.cxx 7 Dec 2007 10:43:48 -0000 1.2 -+++ sc/source/ui/vba/vbaaxis.cxx 14 Dec 2007 23:40:31 -0000 -@@ -47,8 +47,8 @@ - - const rtl::OUString ORIGIN( RTL_CONSTASCII_USTRINGPARAM("Origin") ); - const rtl::OUString AUTOORIGIN( RTL_CONSTASCII_USTRINGPARAM("AutoOrigin") ); --const rtl::OUString MIN( RTL_CONSTASCII_USTRINGPARAM("AutoOrigin") ); --const rtl::OUString MAX( RTL_CONSTASCII_USTRINGPARAM("AutoOrigin") ); -+const rtl::OUString VBA_MIN( RTL_CONSTASCII_USTRINGPARAM("AutoOrigin") ); -+const rtl::OUString VBA_MAX( RTL_CONSTASCII_USTRINGPARAM("AutoOrigin") ); - ScVbaChart* - ScVbaAxis::getChartPtr() throw( uno::RuntimeException ) - { -@@ -142,12 +142,12 @@ - bCrossesAreCustomized = sal_False; - return; - case xlAxisCrossesMinimum: // The axis crosses at the minimum value. -- mxPropertySet->getPropertyValue(MIN) >>= fNum; -+ mxPropertySet->getPropertyValue(VBA_MIN) >>= fNum; - setCrossesAt( fNum ); - bCrossesAreCustomized = sal_False; - break; - case xlAxisCrossesMaximum: // The axis crosses at the maximum value. -- mxPropertySet->getPropertyValue(MAX) >>= fNum; -+ mxPropertySet->getPropertyValue(VBA_MAX) >>= fNum; - setCrossesAt(fNum); - bCrossesAreCustomized = sal_False; - break; -@@ -182,7 +182,7 @@ - mxPropertySet->getPropertyValue(ORIGIN) >>= forigin; - //obsolete double fmax = AnyConverter.toDouble(mxPropertySet.getPropertyValue("Max")); - double fmin = 0.0; -- mxPropertySet->getPropertyValue(MIN) >>= fmin; -+ mxPropertySet->getPropertyValue(VBA_MIN) >>= fmin; - if (forigin == fmin) - nCrosses = xlAxisCrossesMinimum; - else diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85027 b/editors/openoffice.org-vcltesttool/files/patch-i85027 deleted file mode 100644 index 7afbd7d17349..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i85027 +++ /dev/null @@ -1,69 +0,0 @@ -Index: scp2/source/ooo/file_library_ooo.scp -=================================================================== -RCS file: /cvs/installation/scp2/source/ooo/file_library_ooo.scp,v -retrieving revision 1.269 -diff -u -r1.269 file_library_ooo.scp ---- scp2/source/ooo/file_library_ooo.scp 12 Dec 2007 13:29:11 -0000 1.269 -+++ scp2/source/ooo/file_library_ooo.scp 6 Jan 2008 04:19:50 -0000 -@@ -979,7 +979,7 @@ - - STD_UNO_LIB_FILE_PATCH( gid_File_Lib_Fwm , fwm) - --#if ! (defined (FREEBSD) || defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT)) -+#if ! (defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT)) - #if defined( _gcc3 ) - - File gid_File_Lib_Gcc -@@ -993,7 +993,7 @@ - - #endif - --#if ! (defined (FREEBSD) || defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT)) -+#if ! (defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT)) - #if defined( _gcc3 ) - - File gid_File_Lib_Stdc - - ------------------ -Strange behaviour of stock gcc of FreeBSD 7. - -# gcc -print-file-name=libgcc_s.so -/usr/lib/libgcc_s.so -# gcc -print-file-name=libgcc_s.so.1 -libgcc_s.so.1 -. This sould be -# gcc -print-file-name=libgcc_s.so.1 -/lib/libgcc_s.so.1 - -However gcc42 from ports behaves correctly; -and -# gcc42 -print-file-name=libgcc_s.so.1 -/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so.1 -# gcc42 -print-file-name=libgcc_s.so -/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so -. - -Index: work/OOH680_m1/external/gcc3_specific/makefile.mk -=================================================================== -RCS file: /cvs/util/external/gcc3_specific/makefile.mk,v -retrieving revision 1.5 -diff -u -r1.5 makefile.mk ---- external/gcc3_specific/makefile.mk 30 Aug 2006 12:39:00 -0000 1.5 -+++ external/gcc3_specific/makefile.mk 6 Jan 2008 08:10:19 -0000 -@@ -12,7 +12,6 @@ - - .IF "$(OS)"!="MACOSX" - .IF "$(OS)"!="IRIX" --.IF "$(OS)"!="FREEBSD" - - .EXPORT : CC - -@@ -25,7 +24,6 @@ - $(LB)$/libgcc_s.so.1 : - $(GCCINSTLIB) libgcc_s.so.1 $(LB) - --.ENDIF - .ENDIF - .ENDIF - diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85126 b/editors/openoffice.org-vcltesttool/files/patch-i85126 deleted file mode 100644 index f70616a998e1..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i85126 +++ /dev/null @@ -1,119 +0,0 @@ -Merge from Linux CWS pj87 (#i83022#: Make bridges warning free) - ---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 16 Sep 2006 15:46:23 -0000 1.3 -+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx 8 Jan 2008 16:57:00 -0000 -@@ -358,6 +358,8 @@ - case X86_64_SSEDF_CLASS: - *pStructAlign++ = *reinterpret_cast<sal_uInt64 *>( *pSSE++ ); - break; -+ default: -+ break; - } - } - ---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 16 Sep 2006 15:46:37 -0000 1.3 -+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx 8 Jan 2008 16:57:00 -0000 -@@ -82,8 +82,8 @@ - void ** gpreg, void ** fpreg, void ** ovrflw, - sal_uInt64 * pRegisterReturn /* space for register return */ ) - { -- int nr_gpr = 0; //number of gpr registers used -- int nr_fpr = 0; //number of fpr regsiters used -+ unsigned int nr_gpr = 0; //number of gpr registers used -+ unsigned int nr_fpr = 0; //number of fpr registers used - - // return - typelib_TypeDescription * pReturnTypeDescr = 0; -@@ -492,7 +492,7 @@ - unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( - void ** slots, unsigned char * code, - typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, -- sal_Int32 functionCount, sal_Int32 nVtableOffset ) -+ sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) - { - for ( sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos ) - { ---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 5 Jul 2007 09:01:44 -0000 1.4 -+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx 8 Jan 2008 16:57:00 -0000 -@@ -180,8 +180,8 @@ - else - { - // try to lookup the symbol in the generated rtti map -- t_rtti_map::const_iterator iFind( m_generatedRttis.find( unoName ) ); -- if (iFind == m_generatedRttis.end()) -+ t_rtti_map::const_iterator iFind2( m_generatedRttis.find( unoName ) ); -+ if (iFind2 == m_generatedRttis.end()) - { - // we must generate it ! - // symbol and rtti-name is nearly identical, -@@ -210,7 +210,7 @@ - } - else // taking already generated rtti - { -- rtti = iFind->second; -+ rtti = iFind2->second; - } - } - } ---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 5 Jul 2007 09:02:53 -0000 1.4 -+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx 8 Jan 2008 16:57:00 -0000 -@@ -73,13 +73,13 @@ - // Let's figure out what is really going on here - { - fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR ); -- for ( int i = 0; i < nGPR; ++i ) -+ for ( unsigned int i = 0; i < nGPR; ++i ) - fprintf( stderr, "0x%lx, ", pGPR[i] ); - fprintf( stderr, "\nFPR's (%d): ", nFPR ); -- for ( int i = 0; i < nFPR; ++i ) -+ for ( unsigned int i = 0; i < nFPR; ++i ) - fprintf( stderr, "%f, ", pFPR[i] ); - fprintf( stderr, "\nStack (%d): ", nStack ); -- for ( int i = 0; i < nStack; ++i ) -+ for ( unsigned int i = 0; i < nStack; ++i ) - fprintf( stderr, "0x%lx, ", pStack[i] ); - fprintf( stderr, "\n" ); - } -@@ -328,6 +328,8 @@ - case typelib_TypeClass_DOUBLE: - INSERT_FLOAT_DOUBLE( pCppArgs[nPos], nFPR, pFPR, pStack ); - break; -+ default: -+ break; - } - - // no longer needed -@@ -440,16 +442,19 @@ - // is my surrogate - bridges::cpp_uno::shared::UnoInterfaceProxy * pThis - = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI); -+#if OSL_DEBUG_LEVEL > 0 - typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr; -+#endif - - switch (pMemberDescr->eTypeClass) - { - case typelib_TypeClass_INTERFACE_ATTRIBUTE: - { -+#if OSL_DEBUG_LEVEL > 0 - // determine vtable call index - sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; - OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); -- -+#endif - VtableSlot aVtableSlot( - getVtableSlot( - reinterpret_cast< -@@ -494,10 +499,11 @@ - } - case typelib_TypeClass_INTERFACE_METHOD: - { -+#if OSL_DEBUG_LEVEL > 0 - // determine vtable call index - sal_Int32 nMemberPos = ((typelib_InterfaceMemberTypeDescription *)pMemberDescr)->nPosition; - OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### member pos out of range!" ); -- -+#endif - VtableSlot aVtableSlot( - getVtableSlot( - reinterpret_cast< diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85127 b/editors/openoffice.org-vcltesttool/files/patch-i85127 deleted file mode 100644 index 60d99db2fc18..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i85127 +++ /dev/null @@ -1,1659 +0,0 @@ -- Add support for FreeBSD 8.x. -- Add patches for setup.py and Lib/posixfile.py. - -Index: python/Python-2.3.4.patch -=================================================================== -RCS file: /cvs/external/python/Python-2.3.4.patch,v -retrieving revision 1.21 -diff -u -r1.21 Python-2.3.4.patch ---- python/Python-2.3.4.patch 4 Feb 2008 12:57:01 -0000 1.21 -+++ python/Python-2.3.4.patch 9 Feb 2008 05:09:14 -0000 -@@ -131,6 +131,1625 @@ - name = 'posix' - linesep = '\n' - from posix import * -+*** misc/Python-2.3.4/Lib/plat-freebsd6/IN.py Wed Dec 31 19:00:00 1969 -+--- misc/build/Python-2.3.4/Lib/plat-freebsd6/IN.py Tue Jan 8 14:12:12 2008 -+*************** -+*** 0 **** -+--- 1,515 ---- -++ # Generated by h2py from /usr/include/netinet/in.h -++ -++ # Included from sys/cdefs.h -++ def __P(protos): return protos -++ -++ def __STRING(x): return #x -++ -++ def __XSTRING(x): return __STRING(x) -++ -++ def __P(protos): return () -++ -++ def __STRING(x): return "x" -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __nonnull(x): return __attribute__((__nonnull__(x))) -++ -++ def __predict_true(exp): return __builtin_expect((exp), 1) -++ -++ def __predict_false(exp): return __builtin_expect((exp), 0) -++ -++ def __predict_true(exp): return (exp) -++ -++ def __predict_false(exp): return (exp) -++ -++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) -++ -++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) -++ -++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) -++ -++ _POSIX_C_SOURCE = 199009 -++ _POSIX_C_SOURCE = 199209 -++ __XSI_VISIBLE = 600 -++ _POSIX_C_SOURCE = 200112 -++ __XSI_VISIBLE = 500 -++ _POSIX_C_SOURCE = 199506 -++ _POSIX_C_SOURCE = 198808 -++ __POSIX_VISIBLE = 200112 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 199506 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199309 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199209 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199009 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 198808 -++ __ISO_C_VISIBLE = 0 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 200112 -++ __XSI_VISIBLE = 600 -++ __BSD_VISIBLE = 1 -++ __ISO_C_VISIBLE = 1999 -++ -++ # Included from sys/_types.h -++ -++ # Included from machine/_types.h -++ -++ # Included from machine/endian.h -++ _QUAD_HIGHWORD = 1 -++ _QUAD_LOWWORD = 0 -++ _LITTLE_ENDIAN = 1234 -++ _BIG_ENDIAN = 4321 -++ _PDP_ENDIAN = 3412 -++ _BYTE_ORDER = _LITTLE_ENDIAN -++ LITTLE_ENDIAN = _LITTLE_ENDIAN -++ BIG_ENDIAN = _BIG_ENDIAN -++ PDP_ENDIAN = _PDP_ENDIAN -++ BYTE_ORDER = _BYTE_ORDER -++ __INTEL_COMPILER_with_FreeBSD_endian = 1 -++ __INTEL_COMPILER_with_FreeBSD_endian = 1 -++ def __word_swap_int_var(x): return \ -++ -++ def __word_swap_int_const(x): return \ -++ -++ def __word_swap_int(x): return __word_swap_int_var(x) -++ -++ def __byte_swap_int_var(x): return \ -++ -++ def __byte_swap_int_var(x): return \ -++ -++ def __byte_swap_int_const(x): return \ -++ -++ def __byte_swap_int(x): return __byte_swap_int_var(x) -++ -++ def __byte_swap_word_var(x): return \ -++ -++ def __byte_swap_word_const(x): return \ -++ -++ def __byte_swap_word(x): return __byte_swap_word_var(x) -++ -++ def __htonl(x): return __bswap32(x) -++ -++ def __htons(x): return __bswap16(x) -++ -++ def __ntohl(x): return __bswap32(x) -++ -++ def __ntohs(x): return __bswap16(x) -++ -++ IPPROTO_IP = 0 -++ IPPROTO_ICMP = 1 -++ IPPROTO_TCP = 6 -++ IPPROTO_UDP = 17 -++ def htonl(x): return __htonl(x) -++ -++ def htons(x): return __htons(x) -++ -++ def ntohl(x): return __ntohl(x) -++ -++ def ntohs(x): return __ntohs(x) -++ -++ IPPROTO_RAW = 255 -++ INET_ADDRSTRLEN = 16 -++ IPPROTO_HOPOPTS = 0 -++ IPPROTO_IGMP = 2 -++ IPPROTO_GGP = 3 -++ IPPROTO_IPV4 = 4 -++ IPPROTO_IPIP = IPPROTO_IPV4 -++ IPPROTO_ST = 7 -++ IPPROTO_EGP = 8 -++ IPPROTO_PIGP = 9 -++ IPPROTO_RCCMON = 10 -++ IPPROTO_NVPII = 11 -++ IPPROTO_PUP = 12 -++ IPPROTO_ARGUS = 13 -++ IPPROTO_EMCON = 14 -++ IPPROTO_XNET = 15 -++ IPPROTO_CHAOS = 16 -++ IPPROTO_MUX = 18 -++ IPPROTO_MEAS = 19 -++ IPPROTO_HMP = 20 -++ IPPROTO_PRM = 21 -++ IPPROTO_IDP = 22 -++ IPPROTO_TRUNK1 = 23 -++ IPPROTO_TRUNK2 = 24 -++ IPPROTO_LEAF1 = 25 -++ IPPROTO_LEAF2 = 26 -++ IPPROTO_RDP = 27 -++ IPPROTO_IRTP = 28 -++ IPPROTO_TP = 29 -++ IPPROTO_BLT = 30 -++ IPPROTO_NSP = 31 -++ IPPROTO_INP = 32 -++ IPPROTO_SEP = 33 -++ IPPROTO_3PC = 34 -++ IPPROTO_IDPR = 35 -++ IPPROTO_XTP = 36 -++ IPPROTO_DDP = 37 -++ IPPROTO_CMTP = 38 -++ IPPROTO_TPXX = 39 -++ IPPROTO_IL = 40 -++ IPPROTO_IPV6 = 41 -++ IPPROTO_SDRP = 42 -++ IPPROTO_ROUTING = 43 -++ IPPROTO_FRAGMENT = 44 -++ IPPROTO_IDRP = 45 -++ IPPROTO_RSVP = 46 -++ IPPROTO_GRE = 47 -++ IPPROTO_MHRP = 48 -++ IPPROTO_BHA = 49 -++ IPPROTO_ESP = 50 -++ IPPROTO_AH = 51 -++ IPPROTO_INLSP = 52 -++ IPPROTO_SWIPE = 53 -++ IPPROTO_NHRP = 54 -++ IPPROTO_MOBILE = 55 -++ IPPROTO_TLSP = 56 -++ IPPROTO_SKIP = 57 -++ IPPROTO_ICMPV6 = 58 -++ IPPROTO_NONE = 59 -++ IPPROTO_DSTOPTS = 60 -++ IPPROTO_AHIP = 61 -++ IPPROTO_CFTP = 62 -++ IPPROTO_HELLO = 63 -++ IPPROTO_SATEXPAK = 64 -++ IPPROTO_KRYPTOLAN = 65 -++ IPPROTO_RVD = 66 -++ IPPROTO_IPPC = 67 -++ IPPROTO_ADFS = 68 -++ IPPROTO_SATMON = 69 -++ IPPROTO_VISA = 70 -++ IPPROTO_IPCV = 71 -++ IPPROTO_CPNX = 72 -++ IPPROTO_CPHB = 73 -++ IPPROTO_WSN = 74 -++ IPPROTO_PVP = 75 -++ IPPROTO_BRSATMON = 76 -++ IPPROTO_ND = 77 -++ IPPROTO_WBMON = 78 -++ IPPROTO_WBEXPAK = 79 -++ IPPROTO_EON = 80 -++ IPPROTO_VMTP = 81 -++ IPPROTO_SVMTP = 82 -++ IPPROTO_VINES = 83 -++ IPPROTO_TTP = 84 -++ IPPROTO_IGP = 85 -++ IPPROTO_DGP = 86 -++ IPPROTO_TCF = 87 -++ IPPROTO_IGRP = 88 -++ IPPROTO_OSPFIGP = 89 -++ IPPROTO_SRPC = 90 -++ IPPROTO_LARP = 91 -++ IPPROTO_MTP = 92 -++ IPPROTO_AX25 = 93 -++ IPPROTO_IPEIP = 94 -++ IPPROTO_MICP = 95 -++ IPPROTO_SCCSP = 96 -++ IPPROTO_ETHERIP = 97 -++ IPPROTO_ENCAP = 98 -++ IPPROTO_APES = 99 -++ IPPROTO_GMTP = 100 -++ IPPROTO_IPCOMP = 108 -++ IPPROTO_PIM = 103 -++ IPPROTO_PGM = 113 -++ IPPROTO_PFSYNC = 240 -++ IPPROTO_OLD_DIVERT = 254 -++ IPPROTO_MAX = 256 -++ IPPROTO_DONE = 257 -++ IPPROTO_DIVERT = 258 -++ IPPORT_RESERVED = 1024 -++ IPPORT_HIFIRSTAUTO = 49152 -++ IPPORT_HILASTAUTO = 65535 -++ IPPORT_RESERVEDSTART = 600 -++ IPPORT_MAX = 65535 -++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) -++ -++ IN_CLASSA_NET = (-16777216) -++ IN_CLASSA_NSHIFT = 24 -++ IN_CLASSA_HOST = 0x00ffffff -++ IN_CLASSA_MAX = 128 -++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) -++ -++ IN_CLASSB_NET = (-65536) -++ IN_CLASSB_NSHIFT = 16 -++ IN_CLASSB_HOST = 0x0000ffff -++ IN_CLASSB_MAX = 65536 -++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) -++ -++ IN_CLASSC_NET = (-256) -++ IN_CLASSC_NSHIFT = 8 -++ IN_CLASSC_HOST = 0x000000ff -++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) -++ -++ IN_CLASSD_NET = (-268435456) -++ IN_CLASSD_NSHIFT = 28 -++ IN_CLASSD_HOST = 0x0fffffff -++ def IN_MULTICAST(i): return IN_CLASSD(i) -++ -++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ INADDR_NONE = (-1) -++ IN_LOOPBACKNET = 127 -++ IP_OPTIONS = 1 -++ IP_HDRINCL = 2 -++ IP_TOS = 3 -++ IP_TTL = 4 -++ IP_RECVOPTS = 5 -++ IP_RECVRETOPTS = 6 -++ IP_RECVDSTADDR = 7 -++ IP_SENDSRCADDR = IP_RECVDSTADDR -++ IP_RETOPTS = 8 -++ IP_MULTICAST_IF = 9 -++ IP_MULTICAST_TTL = 10 -++ IP_MULTICAST_LOOP = 11 -++ IP_ADD_MEMBERSHIP = 12 -++ IP_DROP_MEMBERSHIP = 13 -++ IP_MULTICAST_VIF = 14 -++ IP_RSVP_ON = 15 -++ IP_RSVP_OFF = 16 -++ IP_RSVP_VIF_ON = 17 -++ IP_RSVP_VIF_OFF = 18 -++ IP_PORTRANGE = 19 -++ IP_RECVIF = 20 -++ IP_IPSEC_POLICY = 21 -++ IP_FAITH = 22 -++ IP_ONESBCAST = 23 -++ IP_FW_TABLE_ADD = 40 -++ IP_FW_TABLE_DEL = 41 -++ IP_FW_TABLE_FLUSH = 42 -++ IP_FW_TABLE_GETSIZE = 43 -++ IP_FW_TABLE_LIST = 44 -++ IP_FW_ADD = 50 -++ IP_FW_DEL = 51 -++ IP_FW_FLUSH = 52 -++ IP_FW_ZERO = 53 -++ IP_FW_GET = 54 -++ IP_FW_RESETLOG = 55 -++ IP_DUMMYNET_CONFIGURE = 60 -++ IP_DUMMYNET_DEL = 61 -++ IP_DUMMYNET_FLUSH = 62 -++ IP_DUMMYNET_GET = 64 -++ IP_RECVTTL = 65 -++ IP_DEFAULT_MULTICAST_TTL = 1 -++ IP_DEFAULT_MULTICAST_LOOP = 1 -++ IP_MAX_MEMBERSHIPS = 20 -++ IP_PORTRANGE_DEFAULT = 0 -++ IP_PORTRANGE_HIGH = 1 -++ IP_PORTRANGE_LOW = 2 -++ IPPROTO_MAXID = (IPPROTO_AH + 1) -++ IPCTL_FORWARDING = 1 -++ IPCTL_SENDREDIRECTS = 2 -++ IPCTL_DEFTTL = 3 -++ IPCTL_DEFMTU = 4 -++ IPCTL_RTEXPIRE = 5 -++ IPCTL_RTMINEXPIRE = 6 -++ IPCTL_RTMAXCACHE = 7 -++ IPCTL_SOURCEROUTE = 8 -++ IPCTL_DIRECTEDBROADCAST = 9 -++ IPCTL_INTRQMAXLEN = 10 -++ IPCTL_INTRQDROPS = 11 -++ IPCTL_STATS = 12 -++ IPCTL_ACCEPTSOURCEROUTE = 13 -++ IPCTL_FASTFORWARDING = 14 -++ IPCTL_KEEPFAITH = 15 -++ IPCTL_GIF_TTL = 16 -++ IPCTL_MAXID = 17 -++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) -++ -++ -++ # Included from netinet6/in6.h -++ __KAME_VERSION = "20010528/FreeBSD" -++ IPV6PORT_RESERVED = 1024 -++ IPV6PORT_ANONMIN = 49152 -++ IPV6PORT_ANONMAX = 65535 -++ IPV6PORT_RESERVEDMIN = 600 -++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) -++ INET6_ADDRSTRLEN = 46 -++ IPV6_ADDR_INT32_ONE = 1 -++ IPV6_ADDR_INT32_TWO = 2 -++ IPV6_ADDR_INT32_MNL = (-16711680) -++ IPV6_ADDR_INT32_MLL = (-16646144) -++ IPV6_ADDR_INT32_SMP = 0x0000ffff -++ IPV6_ADDR_INT16_ULL = 0xfe80 -++ IPV6_ADDR_INT16_USL = 0xfec0 -++ IPV6_ADDR_INT16_MLL = 0xff02 -++ IPV6_ADDR_INT32_ONE = 0x01000000 -++ IPV6_ADDR_INT32_TWO = 0x02000000 -++ IPV6_ADDR_INT32_MNL = 0x000001ff -++ IPV6_ADDR_INT32_MLL = 0x000002ff -++ IPV6_ADDR_INT32_SMP = (-65536) -++ IPV6_ADDR_INT16_ULL = 0x80fe -++ IPV6_ADDR_INT16_USL = 0xc0fe -++ IPV6_ADDR_INT16_MLL = 0x02ff -++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ -++ -++ def IN6_IS_ADDR_LOOPBACK(a): return \ -++ -++ def IN6_IS_ADDR_V4COMPAT(a): return \ -++ -++ def IN6_IS_ADDR_V4MAPPED(a): return \ -++ -++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ def IN6_IS_ADDR_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ -++ -++ def IFA6_IS_DEPRECATED(a): return \ -++ -++ def IFA6_IS_INVALID(a): return \ -++ -++ IPV6_OPTIONS = 1 -++ IPV6_RECVOPTS = 5 -++ IPV6_RECVRETOPTS = 6 -++ IPV6_RECVDSTADDR = 7 -++ IPV6_RETOPTS = 8 -++ IPV6_SOCKOPT_RESERVED1 = 3 -++ IPV6_UNICAST_HOPS = 4 -++ IPV6_MULTICAST_IF = 9 -++ IPV6_MULTICAST_HOPS = 10 -++ IPV6_MULTICAST_LOOP = 11 -++ IPV6_JOIN_GROUP = 12 -++ IPV6_LEAVE_GROUP = 13 -++ IPV6_PORTRANGE = 14 -++ ICMP6_FILTER = 18 -++ IPV6_2292PKTINFO = 19 -++ IPV6_2292HOPLIMIT = 20 -++ IPV6_2292NEXTHOP = 21 -++ IPV6_2292HOPOPTS = 22 -++ IPV6_2292DSTOPTS = 23 -++ IPV6_2292RTHDR = 24 -++ IPV6_2292PKTOPTIONS = 25 -++ IPV6_CHECKSUM = 26 -++ IPV6_V6ONLY = 27 -++ IPV6_BINDV6ONLY = IPV6_V6ONLY -++ IPV6_IPSEC_POLICY = 28 -++ IPV6_FAITH = 29 -++ IPV6_FW_ADD = 30 -++ IPV6_FW_DEL = 31 -++ IPV6_FW_FLUSH = 32 -++ IPV6_FW_ZERO = 33 -++ IPV6_FW_GET = 34 -++ IPV6_RTHDRDSTOPTS = 35 -++ IPV6_RECVPKTINFO = 36 -++ IPV6_RECVHOPLIMIT = 37 -++ IPV6_RECVRTHDR = 38 -++ IPV6_RECVHOPOPTS = 39 -++ IPV6_RECVDSTOPTS = 40 -++ IPV6_RECVRTHDRDSTOPTS = 41 -++ IPV6_USE_MIN_MTU = 42 -++ IPV6_RECVPATHMTU = 43 -++ IPV6_PATHMTU = 44 -++ IPV6_REACHCONF = 45 -++ IPV6_PKTINFO = 46 -++ IPV6_HOPLIMIT = 47 -++ IPV6_NEXTHOP = 48 -++ IPV6_HOPOPTS = 49 -++ IPV6_DSTOPTS = 50 -++ IPV6_RTHDR = 51 -++ IPV6_PKTOPTIONS = 52 -++ IPV6_RECVTCLASS = 57 -++ IPV6_AUTOFLOWLABEL = 59 -++ IPV6_TCLASS = 61 -++ IPV6_DONTFRAG = 62 -++ IPV6_PREFER_TEMPADDR = 63 -++ IPV6_RTHDR_LOOSE = 0 -++ IPV6_RTHDR_STRICT = 1 -++ IPV6_RTHDR_TYPE_0 = 0 -++ IPV6_DEFAULT_MULTICAST_HOPS = 1 -++ IPV6_DEFAULT_MULTICAST_LOOP = 1 -++ IPV6_PORTRANGE_DEFAULT = 0 -++ IPV6_PORTRANGE_HIGH = 1 -++ IPV6_PORTRANGE_LOW = 2 -++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) -++ IPV6CTL_FORWARDING = 1 -++ IPV6CTL_SENDREDIRECTS = 2 -++ IPV6CTL_DEFHLIM = 3 -++ IPV6CTL_DEFMTU = 4 -++ IPV6CTL_FORWSRCRT = 5 -++ IPV6CTL_STATS = 6 -++ IPV6CTL_MRTSTATS = 7 -++ IPV6CTL_MRTPROTO = 8 -++ IPV6CTL_MAXFRAGPACKETS = 9 -++ IPV6CTL_SOURCECHECK = 10 -++ IPV6CTL_SOURCECHECK_LOGINT = 11 -++ IPV6CTL_ACCEPT_RTADV = 12 -++ IPV6CTL_KEEPFAITH = 13 -++ IPV6CTL_LOG_INTERVAL = 14 -++ IPV6CTL_HDRNESTLIMIT = 15 -++ IPV6CTL_DAD_COUNT = 16 -++ IPV6CTL_AUTO_FLOWLABEL = 17 -++ IPV6CTL_DEFMCASTHLIM = 18 -++ IPV6CTL_GIF_HLIM = 19 -++ IPV6CTL_KAME_VERSION = 20 -++ IPV6CTL_USE_DEPRECATED = 21 -++ IPV6CTL_RR_PRUNE = 22 -++ IPV6CTL_MAPPED_ADDR = 23 -++ IPV6CTL_V6ONLY = 24 -++ IPV6CTL_RTEXPIRE = 25 -++ IPV6CTL_RTMINEXPIRE = 26 -++ IPV6CTL_RTMAXCACHE = 27 -++ IPV6CTL_USETEMPADDR = 32 -++ IPV6CTL_TEMPPLTIME = 33 -++ IPV6CTL_TEMPVLTIME = 34 -++ IPV6CTL_AUTO_LINKLOCAL = 35 -++ IPV6CTL_RIP6STATS = 36 -++ IPV6CTL_PREFER_TEMPADDR = 37 -++ IPV6CTL_ADDRCTLPOLICY = 38 -++ IPV6CTL_MAXFRAGS = 41 -++ IPV6CTL_MAXID = 42 -+*** misc/Python-2.3.4/Lib/plat-freebsd7/IN.py Wed Dec 31 19:00:00 1969 -+--- misc/build/Python-2.3.4/Lib/plat-freebsd7/IN.py Tue Jan 8 14:13:03 2008 -+*************** -+*** 0 **** -+--- 1,535 ---- -++ # Generated by h2py from /usr/include/netinet/in.h -++ -++ # Included from sys/cdefs.h -++ __GNUCLIKE_ASM = 3 -++ __GNUCLIKE_ASM = 2 -++ __GNUCLIKE___TYPEOF = 1 -++ __GNUCLIKE___OFFSETOF = 1 -++ __GNUCLIKE___SECTION = 1 -++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 -++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 -++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 -++ __GNUCLIKE_BUILTIN_VARARGS = 1 -++ __GNUCLIKE_BUILTIN_VAALIST = 1 -++ __GNUC_VA_LIST_COMPATIBILITY = 1 -++ __GNUCLIKE_BUILTIN_STDARG = 1 -++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 -++ __GNUCLIKE_BUILTIN_MEMCPY = 1 -++ __CC_SUPPORTS_INLINE = 1 -++ __CC_SUPPORTS___INLINE = 1 -++ __CC_SUPPORTS___INLINE__ = 1 -++ __CC_SUPPORTS___FUNC__ = 1 -++ __CC_SUPPORTS_WARNING = 1 -++ __CC_SUPPORTS_VARADIC_XXX = 1 -++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 -++ __CC_INT_IS_32BIT = 1 -++ def __P(protos): return protos -++ -++ def __STRING(x): return #x -++ -++ def __XSTRING(x): return __STRING(x) -++ -++ def __P(protos): return () -++ -++ def __STRING(x): return "x" -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __nonnull(x): return __attribute__((__nonnull__(x))) -++ -++ def __predict_true(exp): return __builtin_expect((exp), 1) -++ -++ def __predict_false(exp): return __builtin_expect((exp), 0) -++ -++ def __predict_true(exp): return (exp) -++ -++ def __predict_false(exp): return (exp) -++ -++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) -++ -++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) -++ -++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) -++ -++ _POSIX_C_SOURCE = 199009 -++ _POSIX_C_SOURCE = 199209 -++ __XSI_VISIBLE = 600 -++ _POSIX_C_SOURCE = 200112 -++ __XSI_VISIBLE = 500 -++ _POSIX_C_SOURCE = 199506 -++ _POSIX_C_SOURCE = 198808 -++ __POSIX_VISIBLE = 200112 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 199506 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199309 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199209 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199009 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 198808 -++ __ISO_C_VISIBLE = 0 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 200112 -++ __XSI_VISIBLE = 600 -++ __BSD_VISIBLE = 1 -++ __ISO_C_VISIBLE = 1999 -++ -++ # Included from sys/_types.h -++ -++ # Included from machine/_types.h -++ -++ # Included from machine/endian.h -++ _QUAD_HIGHWORD = 1 -++ _QUAD_LOWWORD = 0 -++ _LITTLE_ENDIAN = 1234 -++ _BIG_ENDIAN = 4321 -++ _PDP_ENDIAN = 3412 -++ _BYTE_ORDER = _LITTLE_ENDIAN -++ LITTLE_ENDIAN = _LITTLE_ENDIAN -++ BIG_ENDIAN = _BIG_ENDIAN -++ PDP_ENDIAN = _PDP_ENDIAN -++ BYTE_ORDER = _BYTE_ORDER -++ def __word_swap_int_var(x): return \ -++ -++ def __word_swap_int_const(x): return \ -++ -++ def __word_swap_int(x): return __word_swap_int_var(x) -++ -++ def __byte_swap_int_var(x): return \ -++ -++ def __byte_swap_int_const(x): return \ -++ -++ def __byte_swap_int(x): return __byte_swap_int_var(x) -++ -++ def __byte_swap_word_var(x): return \ -++ -++ def __byte_swap_word_const(x): return \ -++ -++ def __byte_swap_word(x): return __byte_swap_word_var(x) -++ -++ def __htonl(x): return __bswap32(x) -++ -++ def __htons(x): return __bswap16(x) -++ -++ def __ntohl(x): return __bswap32(x) -++ -++ def __ntohs(x): return __bswap16(x) -++ -++ IPPROTO_IP = 0 -++ IPPROTO_ICMP = 1 -++ IPPROTO_TCP = 6 -++ IPPROTO_UDP = 17 -++ def htonl(x): return __htonl(x) -++ -++ def htons(x): return __htons(x) -++ -++ def ntohl(x): return __ntohl(x) -++ -++ def ntohs(x): return __ntohs(x) -++ -++ IPPROTO_RAW = 255 -++ INET_ADDRSTRLEN = 16 -++ IPPROTO_HOPOPTS = 0 -++ IPPROTO_IGMP = 2 -++ IPPROTO_GGP = 3 -++ IPPROTO_IPV4 = 4 -++ IPPROTO_IPIP = IPPROTO_IPV4 -++ IPPROTO_ST = 7 -++ IPPROTO_EGP = 8 -++ IPPROTO_PIGP = 9 -++ IPPROTO_RCCMON = 10 -++ IPPROTO_NVPII = 11 -++ IPPROTO_PUP = 12 -++ IPPROTO_ARGUS = 13 -++ IPPROTO_EMCON = 14 -++ IPPROTO_XNET = 15 -++ IPPROTO_CHAOS = 16 -++ IPPROTO_MUX = 18 -++ IPPROTO_MEAS = 19 -++ IPPROTO_HMP = 20 -++ IPPROTO_PRM = 21 -++ IPPROTO_IDP = 22 -++ IPPROTO_TRUNK1 = 23 -++ IPPROTO_TRUNK2 = 24 -++ IPPROTO_LEAF1 = 25 -++ IPPROTO_LEAF2 = 26 -++ IPPROTO_RDP = 27 -++ IPPROTO_IRTP = 28 -++ IPPROTO_TP = 29 -++ IPPROTO_BLT = 30 -++ IPPROTO_NSP = 31 -++ IPPROTO_INP = 32 -++ IPPROTO_SEP = 33 -++ IPPROTO_3PC = 34 -++ IPPROTO_IDPR = 35 -++ IPPROTO_XTP = 36 -++ IPPROTO_DDP = 37 -++ IPPROTO_CMTP = 38 -++ IPPROTO_TPXX = 39 -++ IPPROTO_IL = 40 -++ IPPROTO_IPV6 = 41 -++ IPPROTO_SDRP = 42 -++ IPPROTO_ROUTING = 43 -++ IPPROTO_FRAGMENT = 44 -++ IPPROTO_IDRP = 45 -++ IPPROTO_RSVP = 46 -++ IPPROTO_GRE = 47 -++ IPPROTO_MHRP = 48 -++ IPPROTO_BHA = 49 -++ IPPROTO_ESP = 50 -++ IPPROTO_AH = 51 -++ IPPROTO_INLSP = 52 -++ IPPROTO_SWIPE = 53 -++ IPPROTO_NHRP = 54 -++ IPPROTO_MOBILE = 55 -++ IPPROTO_TLSP = 56 -++ IPPROTO_SKIP = 57 -++ IPPROTO_ICMPV6 = 58 -++ IPPROTO_NONE = 59 -++ IPPROTO_DSTOPTS = 60 -++ IPPROTO_AHIP = 61 -++ IPPROTO_CFTP = 62 -++ IPPROTO_HELLO = 63 -++ IPPROTO_SATEXPAK = 64 -++ IPPROTO_KRYPTOLAN = 65 -++ IPPROTO_RVD = 66 -++ IPPROTO_IPPC = 67 -++ IPPROTO_ADFS = 68 -++ IPPROTO_SATMON = 69 -++ IPPROTO_VISA = 70 -++ IPPROTO_IPCV = 71 -++ IPPROTO_CPNX = 72 -++ IPPROTO_CPHB = 73 -++ IPPROTO_WSN = 74 -++ IPPROTO_PVP = 75 -++ IPPROTO_BRSATMON = 76 -++ IPPROTO_ND = 77 -++ IPPROTO_WBMON = 78 -++ IPPROTO_WBEXPAK = 79 -++ IPPROTO_EON = 80 -++ IPPROTO_VMTP = 81 -++ IPPROTO_SVMTP = 82 -++ IPPROTO_VINES = 83 -++ IPPROTO_TTP = 84 -++ IPPROTO_IGP = 85 -++ IPPROTO_DGP = 86 -++ IPPROTO_TCF = 87 -++ IPPROTO_IGRP = 88 -++ IPPROTO_OSPFIGP = 89 -++ IPPROTO_SRPC = 90 -++ IPPROTO_LARP = 91 -++ IPPROTO_MTP = 92 -++ IPPROTO_AX25 = 93 -++ IPPROTO_IPEIP = 94 -++ IPPROTO_MICP = 95 -++ IPPROTO_SCCSP = 96 -++ IPPROTO_ETHERIP = 97 -++ IPPROTO_ENCAP = 98 -++ IPPROTO_APES = 99 -++ IPPROTO_GMTP = 100 -++ IPPROTO_IPCOMP = 108 -++ IPPROTO_PIM = 103 -++ IPPROTO_CARP = 112 -++ IPPROTO_PGM = 113 -++ IPPROTO_PFSYNC = 240 -++ IPPROTO_OLD_DIVERT = 254 -++ IPPROTO_MAX = 256 -++ IPPROTO_DONE = 257 -++ IPPROTO_DIVERT = 258 -++ IPPROTO_SPACER = 32767 -++ IPPORT_RESERVED = 1024 -++ IPPORT_HIFIRSTAUTO = 49152 -++ IPPORT_HILASTAUTO = 65535 -++ IPPORT_RESERVEDSTART = 600 -++ IPPORT_MAX = 65535 -++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) -++ -++ IN_CLASSA_NET = (-16777216) -++ IN_CLASSA_NSHIFT = 24 -++ IN_CLASSA_HOST = 0x00ffffff -++ IN_CLASSA_MAX = 128 -++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) -++ -++ IN_CLASSB_NET = (-65536) -++ IN_CLASSB_NSHIFT = 16 -++ IN_CLASSB_HOST = 0x0000ffff -++ IN_CLASSB_MAX = 65536 -++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) -++ -++ IN_CLASSC_NET = (-256) -++ IN_CLASSC_NSHIFT = 8 -++ IN_CLASSC_HOST = 0x000000ff -++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) -++ -++ IN_CLASSD_NET = (-268435456) -++ IN_CLASSD_NSHIFT = 28 -++ IN_CLASSD_HOST = 0x0fffffff -++ def IN_MULTICAST(i): return IN_CLASSD(i) -++ -++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ INADDR_NONE = (-1) -++ IN_LOOPBACKNET = 127 -++ IP_OPTIONS = 1 -++ IP_HDRINCL = 2 -++ IP_TOS = 3 -++ IP_TTL = 4 -++ IP_RECVOPTS = 5 -++ IP_RECVRETOPTS = 6 -++ IP_RECVDSTADDR = 7 -++ IP_SENDSRCADDR = IP_RECVDSTADDR -++ IP_RETOPTS = 8 -++ IP_MULTICAST_IF = 9 -++ IP_MULTICAST_TTL = 10 -++ IP_MULTICAST_LOOP = 11 -++ IP_ADD_MEMBERSHIP = 12 -++ IP_DROP_MEMBERSHIP = 13 -++ IP_MULTICAST_VIF = 14 -++ IP_RSVP_ON = 15 -++ IP_RSVP_OFF = 16 -++ IP_RSVP_VIF_ON = 17 -++ IP_RSVP_VIF_OFF = 18 -++ IP_PORTRANGE = 19 -++ IP_RECVIF = 20 -++ IP_IPSEC_POLICY = 21 -++ IP_FAITH = 22 -++ IP_ONESBCAST = 23 -++ IP_FW_TABLE_ADD = 40 -++ IP_FW_TABLE_DEL = 41 -++ IP_FW_TABLE_FLUSH = 42 -++ IP_FW_TABLE_GETSIZE = 43 -++ IP_FW_TABLE_LIST = 44 -++ IP_FW_ADD = 50 -++ IP_FW_DEL = 51 -++ IP_FW_FLUSH = 52 -++ IP_FW_ZERO = 53 -++ IP_FW_GET = 54 -++ IP_FW_RESETLOG = 55 -++ IP_DUMMYNET_CONFIGURE = 60 -++ IP_DUMMYNET_DEL = 61 -++ IP_DUMMYNET_FLUSH = 62 -++ IP_DUMMYNET_GET = 64 -++ IP_RECVTTL = 65 -++ IP_DEFAULT_MULTICAST_TTL = 1 -++ IP_DEFAULT_MULTICAST_LOOP = 1 -++ IP_MAX_MEMBERSHIPS = 20 -++ IP_PORTRANGE_DEFAULT = 0 -++ IP_PORTRANGE_HIGH = 1 -++ IP_PORTRANGE_LOW = 2 -++ IPPROTO_MAXID = (IPPROTO_AH + 1) -++ IPCTL_FORWARDING = 1 -++ IPCTL_SENDREDIRECTS = 2 -++ IPCTL_DEFTTL = 3 -++ IPCTL_DEFMTU = 4 -++ IPCTL_RTEXPIRE = 5 -++ IPCTL_RTMINEXPIRE = 6 -++ IPCTL_RTMAXCACHE = 7 -++ IPCTL_SOURCEROUTE = 8 -++ IPCTL_DIRECTEDBROADCAST = 9 -++ IPCTL_INTRQMAXLEN = 10 -++ IPCTL_INTRQDROPS = 11 -++ IPCTL_STATS = 12 -++ IPCTL_ACCEPTSOURCEROUTE = 13 -++ IPCTL_FASTFORWARDING = 14 -++ IPCTL_KEEPFAITH = 15 -++ IPCTL_GIF_TTL = 16 -++ IPCTL_MAXID = 17 -++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) -++ -++ -++ # Included from netinet6/in6.h -++ __KAME_VERSION = "20010528/FreeBSD" -++ IPV6PORT_RESERVED = 1024 -++ IPV6PORT_ANONMIN = 49152 -++ IPV6PORT_ANONMAX = 65535 -++ IPV6PORT_RESERVEDMIN = 600 -++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) -++ INET6_ADDRSTRLEN = 46 -++ IPV6_ADDR_INT32_ONE = 1 -++ IPV6_ADDR_INT32_TWO = 2 -++ IPV6_ADDR_INT32_MNL = (-16711680) -++ IPV6_ADDR_INT32_MLL = (-16646144) -++ IPV6_ADDR_INT32_SMP = 0x0000ffff -++ IPV6_ADDR_INT16_ULL = 0xfe80 -++ IPV6_ADDR_INT16_USL = 0xfec0 -++ IPV6_ADDR_INT16_MLL = 0xff02 -++ IPV6_ADDR_INT32_ONE = 0x01000000 -++ IPV6_ADDR_INT32_TWO = 0x02000000 -++ IPV6_ADDR_INT32_MNL = 0x000001ff -++ IPV6_ADDR_INT32_MLL = 0x000002ff -++ IPV6_ADDR_INT32_SMP = (-65536) -++ IPV6_ADDR_INT16_ULL = 0x80fe -++ IPV6_ADDR_INT16_USL = 0xc0fe -++ IPV6_ADDR_INT16_MLL = 0x02ff -++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ -++ -++ def IN6_IS_ADDR_LOOPBACK(a): return \ -++ -++ def IN6_IS_ADDR_V4COMPAT(a): return \ -++ -++ def IN6_IS_ADDR_V4MAPPED(a): return \ -++ -++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ def IN6_IS_ADDR_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ -++ -++ def IFA6_IS_DEPRECATED(a): return \ -++ -++ def IFA6_IS_INVALID(a): return \ -++ -++ IPV6_OPTIONS = 1 -++ IPV6_RECVOPTS = 5 -++ IPV6_RECVRETOPTS = 6 -++ IPV6_RECVDSTADDR = 7 -++ IPV6_RETOPTS = 8 -++ IPV6_SOCKOPT_RESERVED1 = 3 -++ IPV6_UNICAST_HOPS = 4 -++ IPV6_MULTICAST_IF = 9 -++ IPV6_MULTICAST_HOPS = 10 -++ IPV6_MULTICAST_LOOP = 11 -++ IPV6_JOIN_GROUP = 12 -++ IPV6_LEAVE_GROUP = 13 -++ IPV6_PORTRANGE = 14 -++ ICMP6_FILTER = 18 -++ IPV6_2292PKTINFO = 19 -++ IPV6_2292HOPLIMIT = 20 -++ IPV6_2292NEXTHOP = 21 -++ IPV6_2292HOPOPTS = 22 -++ IPV6_2292DSTOPTS = 23 -++ IPV6_2292RTHDR = 24 -++ IPV6_2292PKTOPTIONS = 25 -++ IPV6_CHECKSUM = 26 -++ IPV6_V6ONLY = 27 -++ IPV6_BINDV6ONLY = IPV6_V6ONLY -++ IPV6_IPSEC_POLICY = 28 -++ IPV6_FAITH = 29 -++ IPV6_FW_ADD = 30 -++ IPV6_FW_DEL = 31 -++ IPV6_FW_FLUSH = 32 -++ IPV6_FW_ZERO = 33 -++ IPV6_FW_GET = 34 -++ IPV6_RTHDRDSTOPTS = 35 -++ IPV6_RECVPKTINFO = 36 -++ IPV6_RECVHOPLIMIT = 37 -++ IPV6_RECVRTHDR = 38 -++ IPV6_RECVHOPOPTS = 39 -++ IPV6_RECVDSTOPTS = 40 -++ IPV6_RECVRTHDRDSTOPTS = 41 -++ IPV6_USE_MIN_MTU = 42 -++ IPV6_RECVPATHMTU = 43 -++ IPV6_PATHMTU = 44 -++ IPV6_REACHCONF = 45 -++ IPV6_PKTINFO = 46 -++ IPV6_HOPLIMIT = 47 -++ IPV6_NEXTHOP = 48 -++ IPV6_HOPOPTS = 49 -++ IPV6_DSTOPTS = 50 -++ IPV6_RTHDR = 51 -++ IPV6_PKTOPTIONS = 52 -++ IPV6_RECVTCLASS = 57 -++ IPV6_AUTOFLOWLABEL = 59 -++ IPV6_TCLASS = 61 -++ IPV6_DONTFRAG = 62 -++ IPV6_PREFER_TEMPADDR = 63 -++ IPV6_RTHDR_LOOSE = 0 -++ IPV6_RTHDR_STRICT = 1 -++ IPV6_RTHDR_TYPE_0 = 0 -++ IPV6_DEFAULT_MULTICAST_HOPS = 1 -++ IPV6_DEFAULT_MULTICAST_LOOP = 1 -++ IPV6_PORTRANGE_DEFAULT = 0 -++ IPV6_PORTRANGE_HIGH = 1 -++ IPV6_PORTRANGE_LOW = 2 -++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) -++ IPV6CTL_FORWARDING = 1 -++ IPV6CTL_SENDREDIRECTS = 2 -++ IPV6CTL_DEFHLIM = 3 -++ IPV6CTL_DEFMTU = 4 -++ IPV6CTL_FORWSRCRT = 5 -++ IPV6CTL_STATS = 6 -++ IPV6CTL_MRTSTATS = 7 -++ IPV6CTL_MRTPROTO = 8 -++ IPV6CTL_MAXFRAGPACKETS = 9 -++ IPV6CTL_SOURCECHECK = 10 -++ IPV6CTL_SOURCECHECK_LOGINT = 11 -++ IPV6CTL_ACCEPT_RTADV = 12 -++ IPV6CTL_KEEPFAITH = 13 -++ IPV6CTL_LOG_INTERVAL = 14 -++ IPV6CTL_HDRNESTLIMIT = 15 -++ IPV6CTL_DAD_COUNT = 16 -++ IPV6CTL_AUTO_FLOWLABEL = 17 -++ IPV6CTL_DEFMCASTHLIM = 18 -++ IPV6CTL_GIF_HLIM = 19 -++ IPV6CTL_KAME_VERSION = 20 -++ IPV6CTL_USE_DEPRECATED = 21 -++ IPV6CTL_RR_PRUNE = 22 -++ IPV6CTL_MAPPED_ADDR = 23 -++ IPV6CTL_V6ONLY = 24 -++ IPV6CTL_RTEXPIRE = 25 -++ IPV6CTL_RTMINEXPIRE = 26 -++ IPV6CTL_RTMAXCACHE = 27 -++ IPV6CTL_USETEMPADDR = 32 -++ IPV6CTL_TEMPPLTIME = 33 -++ IPV6CTL_TEMPVLTIME = 34 -++ IPV6CTL_AUTO_LINKLOCAL = 35 -++ IPV6CTL_RIP6STATS = 36 -++ IPV6CTL_PREFER_TEMPADDR = 37 -++ IPV6CTL_ADDRCTLPOLICY = 38 -++ IPV6CTL_MAXFRAGS = 41 -++ IPV6CTL_MAXID = 42 -+*** misc/Python-2.3.4/Lib/plat-freebsd8/IN.py Wed Dec 31 19:00:00 1969 -+--- misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py Tue Jan 8 14:13:22 2008 -+*************** -+*** 0 **** -+--- 1,535 ---- -++ # Generated by h2py from /usr/include/netinet/in.h -++ -++ # Included from sys/cdefs.h -++ __GNUCLIKE_ASM = 3 -++ __GNUCLIKE_ASM = 2 -++ __GNUCLIKE___TYPEOF = 1 -++ __GNUCLIKE___OFFSETOF = 1 -++ __GNUCLIKE___SECTION = 1 -++ __GNUCLIKE_ATTRIBUTE_MODE_DI = 1 -++ __GNUCLIKE_CTOR_SECTION_HANDLING = 1 -++ __GNUCLIKE_BUILTIN_CONSTANT_P = 1 -++ __GNUCLIKE_BUILTIN_VARARGS = 1 -++ __GNUCLIKE_BUILTIN_VAALIST = 1 -++ __GNUC_VA_LIST_COMPATIBILITY = 1 -++ __GNUCLIKE_BUILTIN_STDARG = 1 -++ __GNUCLIKE_BUILTIN_NEXT_ARG = 1 -++ __GNUCLIKE_BUILTIN_MEMCPY = 1 -++ __CC_SUPPORTS_INLINE = 1 -++ __CC_SUPPORTS___INLINE = 1 -++ __CC_SUPPORTS___INLINE__ = 1 -++ __CC_SUPPORTS___FUNC__ = 1 -++ __CC_SUPPORTS_WARNING = 1 -++ __CC_SUPPORTS_VARADIC_XXX = 1 -++ __CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 -++ __CC_INT_IS_32BIT = 1 -++ def __P(protos): return protos -++ -++ def __STRING(x): return #x -++ -++ def __XSTRING(x): return __STRING(x) -++ -++ def __P(protos): return () -++ -++ def __STRING(x): return "x" -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __aligned(x): return __attribute__((__aligned__(x))) -++ -++ def __section(x): return __attribute__((__section__(x))) -++ -++ def __nonnull(x): return __attribute__((__nonnull__(x))) -++ -++ def __predict_true(exp): return __builtin_expect((exp), 1) -++ -++ def __predict_false(exp): return __builtin_expect((exp), 0) -++ -++ def __predict_true(exp): return (exp) -++ -++ def __predict_false(exp): return (exp) -++ -++ def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) -++ -++ def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) -++ -++ def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) -++ -++ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) -++ -++ _POSIX_C_SOURCE = 199009 -++ _POSIX_C_SOURCE = 199209 -++ __XSI_VISIBLE = 600 -++ _POSIX_C_SOURCE = 200112 -++ __XSI_VISIBLE = 500 -++ _POSIX_C_SOURCE = 199506 -++ _POSIX_C_SOURCE = 198808 -++ __POSIX_VISIBLE = 200112 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 199506 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199309 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199209 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 199009 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 198808 -++ __ISO_C_VISIBLE = 0 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1990 -++ __POSIX_VISIBLE = 0 -++ __XSI_VISIBLE = 0 -++ __BSD_VISIBLE = 0 -++ __ISO_C_VISIBLE = 1999 -++ __POSIX_VISIBLE = 200112 -++ __XSI_VISIBLE = 600 -++ __BSD_VISIBLE = 1 -++ __ISO_C_VISIBLE = 1999 -++ -++ # Included from sys/_types.h -++ -++ # Included from machine/_types.h -++ -++ # Included from machine/endian.h -++ _QUAD_HIGHWORD = 1 -++ _QUAD_LOWWORD = 0 -++ _LITTLE_ENDIAN = 1234 -++ _BIG_ENDIAN = 4321 -++ _PDP_ENDIAN = 3412 -++ _BYTE_ORDER = _LITTLE_ENDIAN -++ LITTLE_ENDIAN = _LITTLE_ENDIAN -++ BIG_ENDIAN = _BIG_ENDIAN -++ PDP_ENDIAN = _PDP_ENDIAN -++ BYTE_ORDER = _BYTE_ORDER -++ def __word_swap_int_var(x): return \ -++ -++ def __word_swap_int_const(x): return \ -++ -++ def __word_swap_int(x): return __word_swap_int_var(x) -++ -++ def __byte_swap_int_var(x): return \ -++ -++ def __byte_swap_int_const(x): return \ -++ -++ def __byte_swap_int(x): return __byte_swap_int_var(x) -++ -++ def __byte_swap_word_var(x): return \ -++ -++ def __byte_swap_word_const(x): return \ -++ -++ def __byte_swap_word(x): return __byte_swap_word_var(x) -++ -++ def __htonl(x): return __bswap32(x) -++ -++ def __htons(x): return __bswap16(x) -++ -++ def __ntohl(x): return __bswap32(x) -++ -++ def __ntohs(x): return __bswap16(x) -++ -++ IPPROTO_IP = 0 -++ IPPROTO_ICMP = 1 -++ IPPROTO_TCP = 6 -++ IPPROTO_UDP = 17 -++ def htonl(x): return __htonl(x) -++ -++ def htons(x): return __htons(x) -++ -++ def ntohl(x): return __ntohl(x) -++ -++ def ntohs(x): return __ntohs(x) -++ -++ IPPROTO_RAW = 255 -++ INET_ADDRSTRLEN = 16 -++ IPPROTO_HOPOPTS = 0 -++ IPPROTO_IGMP = 2 -++ IPPROTO_GGP = 3 -++ IPPROTO_IPV4 = 4 -++ IPPROTO_IPIP = IPPROTO_IPV4 -++ IPPROTO_ST = 7 -++ IPPROTO_EGP = 8 -++ IPPROTO_PIGP = 9 -++ IPPROTO_RCCMON = 10 -++ IPPROTO_NVPII = 11 -++ IPPROTO_PUP = 12 -++ IPPROTO_ARGUS = 13 -++ IPPROTO_EMCON = 14 -++ IPPROTO_XNET = 15 -++ IPPROTO_CHAOS = 16 -++ IPPROTO_MUX = 18 -++ IPPROTO_MEAS = 19 -++ IPPROTO_HMP = 20 -++ IPPROTO_PRM = 21 -++ IPPROTO_IDP = 22 -++ IPPROTO_TRUNK1 = 23 -++ IPPROTO_TRUNK2 = 24 -++ IPPROTO_LEAF1 = 25 -++ IPPROTO_LEAF2 = 26 -++ IPPROTO_RDP = 27 -++ IPPROTO_IRTP = 28 -++ IPPROTO_TP = 29 -++ IPPROTO_BLT = 30 -++ IPPROTO_NSP = 31 -++ IPPROTO_INP = 32 -++ IPPROTO_SEP = 33 -++ IPPROTO_3PC = 34 -++ IPPROTO_IDPR = 35 -++ IPPROTO_XTP = 36 -++ IPPROTO_DDP = 37 -++ IPPROTO_CMTP = 38 -++ IPPROTO_TPXX = 39 -++ IPPROTO_IL = 40 -++ IPPROTO_IPV6 = 41 -++ IPPROTO_SDRP = 42 -++ IPPROTO_ROUTING = 43 -++ IPPROTO_FRAGMENT = 44 -++ IPPROTO_IDRP = 45 -++ IPPROTO_RSVP = 46 -++ IPPROTO_GRE = 47 -++ IPPROTO_MHRP = 48 -++ IPPROTO_BHA = 49 -++ IPPROTO_ESP = 50 -++ IPPROTO_AH = 51 -++ IPPROTO_INLSP = 52 -++ IPPROTO_SWIPE = 53 -++ IPPROTO_NHRP = 54 -++ IPPROTO_MOBILE = 55 -++ IPPROTO_TLSP = 56 -++ IPPROTO_SKIP = 57 -++ IPPROTO_ICMPV6 = 58 -++ IPPROTO_NONE = 59 -++ IPPROTO_DSTOPTS = 60 -++ IPPROTO_AHIP = 61 -++ IPPROTO_CFTP = 62 -++ IPPROTO_HELLO = 63 -++ IPPROTO_SATEXPAK = 64 -++ IPPROTO_KRYPTOLAN = 65 -++ IPPROTO_RVD = 66 -++ IPPROTO_IPPC = 67 -++ IPPROTO_ADFS = 68 -++ IPPROTO_SATMON = 69 -++ IPPROTO_VISA = 70 -++ IPPROTO_IPCV = 71 -++ IPPROTO_CPNX = 72 -++ IPPROTO_CPHB = 73 -++ IPPROTO_WSN = 74 -++ IPPROTO_PVP = 75 -++ IPPROTO_BRSATMON = 76 -++ IPPROTO_ND = 77 -++ IPPROTO_WBMON = 78 -++ IPPROTO_WBEXPAK = 79 -++ IPPROTO_EON = 80 -++ IPPROTO_VMTP = 81 -++ IPPROTO_SVMTP = 82 -++ IPPROTO_VINES = 83 -++ IPPROTO_TTP = 84 -++ IPPROTO_IGP = 85 -++ IPPROTO_DGP = 86 -++ IPPROTO_TCF = 87 -++ IPPROTO_IGRP = 88 -++ IPPROTO_OSPFIGP = 89 -++ IPPROTO_SRPC = 90 -++ IPPROTO_LARP = 91 -++ IPPROTO_MTP = 92 -++ IPPROTO_AX25 = 93 -++ IPPROTO_IPEIP = 94 -++ IPPROTO_MICP = 95 -++ IPPROTO_SCCSP = 96 -++ IPPROTO_ETHERIP = 97 -++ IPPROTO_ENCAP = 98 -++ IPPROTO_APES = 99 -++ IPPROTO_GMTP = 100 -++ IPPROTO_IPCOMP = 108 -++ IPPROTO_PIM = 103 -++ IPPROTO_CARP = 112 -++ IPPROTO_PGM = 113 -++ IPPROTO_PFSYNC = 240 -++ IPPROTO_OLD_DIVERT = 254 -++ IPPROTO_MAX = 256 -++ IPPROTO_DONE = 257 -++ IPPROTO_DIVERT = 258 -++ IPPROTO_SPACER = 32767 -++ IPPORT_RESERVED = 1024 -++ IPPORT_HIFIRSTAUTO = 49152 -++ IPPORT_HILASTAUTO = 65535 -++ IPPORT_RESERVEDSTART = 600 -++ IPPORT_MAX = 65535 -++ def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) -++ -++ IN_CLASSA_NET = (-16777216) -++ IN_CLASSA_NSHIFT = 24 -++ IN_CLASSA_HOST = 0x00ffffff -++ IN_CLASSA_MAX = 128 -++ def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) -++ -++ IN_CLASSB_NET = (-65536) -++ IN_CLASSB_NSHIFT = 16 -++ IN_CLASSB_HOST = 0x0000ffff -++ IN_CLASSB_MAX = 65536 -++ def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) -++ -++ IN_CLASSC_NET = (-256) -++ IN_CLASSC_NSHIFT = 8 -++ IN_CLASSC_HOST = 0x000000ff -++ def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) -++ -++ IN_CLASSD_NET = (-268435456) -++ IN_CLASSD_NSHIFT = 28 -++ IN_CLASSD_HOST = 0x0fffffff -++ def IN_MULTICAST(i): return IN_CLASSD(i) -++ -++ def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) -++ -++ INADDR_NONE = (-1) -++ IN_LOOPBACKNET = 127 -++ IP_OPTIONS = 1 -++ IP_HDRINCL = 2 -++ IP_TOS = 3 -++ IP_TTL = 4 -++ IP_RECVOPTS = 5 -++ IP_RECVRETOPTS = 6 -++ IP_RECVDSTADDR = 7 -++ IP_SENDSRCADDR = IP_RECVDSTADDR -++ IP_RETOPTS = 8 -++ IP_MULTICAST_IF = 9 -++ IP_MULTICAST_TTL = 10 -++ IP_MULTICAST_LOOP = 11 -++ IP_ADD_MEMBERSHIP = 12 -++ IP_DROP_MEMBERSHIP = 13 -++ IP_MULTICAST_VIF = 14 -++ IP_RSVP_ON = 15 -++ IP_RSVP_OFF = 16 -++ IP_RSVP_VIF_ON = 17 -++ IP_RSVP_VIF_OFF = 18 -++ IP_PORTRANGE = 19 -++ IP_RECVIF = 20 -++ IP_IPSEC_POLICY = 21 -++ IP_FAITH = 22 -++ IP_ONESBCAST = 23 -++ IP_FW_TABLE_ADD = 40 -++ IP_FW_TABLE_DEL = 41 -++ IP_FW_TABLE_FLUSH = 42 -++ IP_FW_TABLE_GETSIZE = 43 -++ IP_FW_TABLE_LIST = 44 -++ IP_FW_ADD = 50 -++ IP_FW_DEL = 51 -++ IP_FW_FLUSH = 52 -++ IP_FW_ZERO = 53 -++ IP_FW_GET = 54 -++ IP_FW_RESETLOG = 55 -++ IP_DUMMYNET_CONFIGURE = 60 -++ IP_DUMMYNET_DEL = 61 -++ IP_DUMMYNET_FLUSH = 62 -++ IP_DUMMYNET_GET = 64 -++ IP_RECVTTL = 65 -++ IP_DEFAULT_MULTICAST_TTL = 1 -++ IP_DEFAULT_MULTICAST_LOOP = 1 -++ IP_MAX_MEMBERSHIPS = 20 -++ IP_PORTRANGE_DEFAULT = 0 -++ IP_PORTRANGE_HIGH = 1 -++ IP_PORTRANGE_LOW = 2 -++ IPPROTO_MAXID = (IPPROTO_AH + 1) -++ IPCTL_FORWARDING = 1 -++ IPCTL_SENDREDIRECTS = 2 -++ IPCTL_DEFTTL = 3 -++ IPCTL_DEFMTU = 4 -++ IPCTL_RTEXPIRE = 5 -++ IPCTL_RTMINEXPIRE = 6 -++ IPCTL_RTMAXCACHE = 7 -++ IPCTL_SOURCEROUTE = 8 -++ IPCTL_DIRECTEDBROADCAST = 9 -++ IPCTL_INTRQMAXLEN = 10 -++ IPCTL_INTRQDROPS = 11 -++ IPCTL_STATS = 12 -++ IPCTL_ACCEPTSOURCEROUTE = 13 -++ IPCTL_FASTFORWARDING = 14 -++ IPCTL_KEEPFAITH = 15 -++ IPCTL_GIF_TTL = 16 -++ IPCTL_MAXID = 17 -++ def in_nullhost(x): return ((x).s_addr == INADDR_ANY) -++ -++ -++ # Included from netinet6/in6.h -++ __KAME_VERSION = "20010528/FreeBSD" -++ IPV6PORT_RESERVED = 1024 -++ IPV6PORT_ANONMIN = 49152 -++ IPV6PORT_ANONMAX = 65535 -++ IPV6PORT_RESERVEDMIN = 600 -++ IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) -++ INET6_ADDRSTRLEN = 46 -++ IPV6_ADDR_INT32_ONE = 1 -++ IPV6_ADDR_INT32_TWO = 2 -++ IPV6_ADDR_INT32_MNL = (-16711680) -++ IPV6_ADDR_INT32_MLL = (-16646144) -++ IPV6_ADDR_INT32_SMP = 0x0000ffff -++ IPV6_ADDR_INT16_ULL = 0xfe80 -++ IPV6_ADDR_INT16_USL = 0xfec0 -++ IPV6_ADDR_INT16_MLL = 0xff02 -++ IPV6_ADDR_INT32_ONE = 0x01000000 -++ IPV6_ADDR_INT32_TWO = 0x02000000 -++ IPV6_ADDR_INT32_MNL = 0x000001ff -++ IPV6_ADDR_INT32_MLL = 0x000002ff -++ IPV6_ADDR_INT32_SMP = (-65536) -++ IPV6_ADDR_INT16_ULL = 0x80fe -++ IPV6_ADDR_INT16_USL = 0xc0fe -++ IPV6_ADDR_INT16_MLL = 0x02ff -++ def IN6_IS_ADDR_UNSPECIFIED(a): return \ -++ -++ def IN6_IS_ADDR_LOOPBACK(a): return \ -++ -++ def IN6_IS_ADDR_V4COMPAT(a): return \ -++ -++ def IN6_IS_ADDR_V4MAPPED(a): return \ -++ -++ IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ __IPV6_ADDR_SCOPE_NODELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 -++ __IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 -++ __IPV6_ADDR_SCOPE_SITELOCAL = 0x05 -++ __IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 -++ __IPV6_ADDR_SCOPE_GLOBAL = 0x0e -++ def IN6_IS_ADDR_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_NODELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_SITELOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ -++ -++ def IN6_IS_ADDR_MC_GLOBAL(a): return \ -++ -++ def IN6_IS_SCOPE_LINKLOCAL(a): return \ -++ -++ def IFA6_IS_DEPRECATED(a): return \ -++ -++ def IFA6_IS_INVALID(a): return \ -++ -++ IPV6_OPTIONS = 1 -++ IPV6_RECVOPTS = 5 -++ IPV6_RECVRETOPTS = 6 -++ IPV6_RECVDSTADDR = 7 -++ IPV6_RETOPTS = 8 -++ IPV6_SOCKOPT_RESERVED1 = 3 -++ IPV6_UNICAST_HOPS = 4 -++ IPV6_MULTICAST_IF = 9 -++ IPV6_MULTICAST_HOPS = 10 -++ IPV6_MULTICAST_LOOP = 11 -++ IPV6_JOIN_GROUP = 12 -++ IPV6_LEAVE_GROUP = 13 -++ IPV6_PORTRANGE = 14 -++ ICMP6_FILTER = 18 -++ IPV6_2292PKTINFO = 19 -++ IPV6_2292HOPLIMIT = 20 -++ IPV6_2292NEXTHOP = 21 -++ IPV6_2292HOPOPTS = 22 -++ IPV6_2292DSTOPTS = 23 -++ IPV6_2292RTHDR = 24 -++ IPV6_2292PKTOPTIONS = 25 -++ IPV6_CHECKSUM = 26 -++ IPV6_V6ONLY = 27 -++ IPV6_BINDV6ONLY = IPV6_V6ONLY -++ IPV6_IPSEC_POLICY = 28 -++ IPV6_FAITH = 29 -++ IPV6_FW_ADD = 30 -++ IPV6_FW_DEL = 31 -++ IPV6_FW_FLUSH = 32 -++ IPV6_FW_ZERO = 33 -++ IPV6_FW_GET = 34 -++ IPV6_RTHDRDSTOPTS = 35 -++ IPV6_RECVPKTINFO = 36 -++ IPV6_RECVHOPLIMIT = 37 -++ IPV6_RECVRTHDR = 38 -++ IPV6_RECVHOPOPTS = 39 -++ IPV6_RECVDSTOPTS = 40 -++ IPV6_RECVRTHDRDSTOPTS = 41 -++ IPV6_USE_MIN_MTU = 42 -++ IPV6_RECVPATHMTU = 43 -++ IPV6_PATHMTU = 44 -++ IPV6_REACHCONF = 45 -++ IPV6_PKTINFO = 46 -++ IPV6_HOPLIMIT = 47 -++ IPV6_NEXTHOP = 48 -++ IPV6_HOPOPTS = 49 -++ IPV6_DSTOPTS = 50 -++ IPV6_RTHDR = 51 -++ IPV6_PKTOPTIONS = 52 -++ IPV6_RECVTCLASS = 57 -++ IPV6_AUTOFLOWLABEL = 59 -++ IPV6_TCLASS = 61 -++ IPV6_DONTFRAG = 62 -++ IPV6_PREFER_TEMPADDR = 63 -++ IPV6_RTHDR_LOOSE = 0 -++ IPV6_RTHDR_STRICT = 1 -++ IPV6_RTHDR_TYPE_0 = 0 -++ IPV6_DEFAULT_MULTICAST_HOPS = 1 -++ IPV6_DEFAULT_MULTICAST_LOOP = 1 -++ IPV6_PORTRANGE_DEFAULT = 0 -++ IPV6_PORTRANGE_HIGH = 1 -++ IPV6_PORTRANGE_LOW = 2 -++ IPV6PROTO_MAXID = (IPPROTO_PIM + 1) -++ IPV6CTL_FORWARDING = 1 -++ IPV6CTL_SENDREDIRECTS = 2 -++ IPV6CTL_DEFHLIM = 3 -++ IPV6CTL_DEFMTU = 4 -++ IPV6CTL_FORWSRCRT = 5 -++ IPV6CTL_STATS = 6 -++ IPV6CTL_MRTSTATS = 7 -++ IPV6CTL_MRTPROTO = 8 -++ IPV6CTL_MAXFRAGPACKETS = 9 -++ IPV6CTL_SOURCECHECK = 10 -++ IPV6CTL_SOURCECHECK_LOGINT = 11 -++ IPV6CTL_ACCEPT_RTADV = 12 -++ IPV6CTL_KEEPFAITH = 13 -++ IPV6CTL_LOG_INTERVAL = 14 -++ IPV6CTL_HDRNESTLIMIT = 15 -++ IPV6CTL_DAD_COUNT = 16 -++ IPV6CTL_AUTO_FLOWLABEL = 17 -++ IPV6CTL_DEFMCASTHLIM = 18 -++ IPV6CTL_GIF_HLIM = 19 -++ IPV6CTL_KAME_VERSION = 20 -++ IPV6CTL_USE_DEPRECATED = 21 -++ IPV6CTL_RR_PRUNE = 22 -++ IPV6CTL_MAPPED_ADDR = 23 -++ IPV6CTL_V6ONLY = 24 -++ IPV6CTL_RTEXPIRE = 25 -++ IPV6CTL_RTMINEXPIRE = 26 -++ IPV6CTL_RTMAXCACHE = 27 -++ IPV6CTL_USETEMPADDR = 32 -++ IPV6CTL_TEMPPLTIME = 33 -++ IPV6CTL_TEMPVLTIME = 34 -++ IPV6CTL_AUTO_LINKLOCAL = 35 -++ IPV6CTL_RIP6STATS = 36 -++ IPV6CTL_PREFER_TEMPADDR = 37 -++ IPV6CTL_ADDRCTLPOLICY = 38 -++ IPV6CTL_MAXFRAGS = 41 -++ IPV6CTL_MAXID = 42 -+*** misc/Python-2.3.4/Lib/posixfile.py Wed Oct 24 18:03:35 2001 -+--- misc/build/Python-2.3.4/Lib/posixfile.py Tue Jan 8 14:16:12 2008 -+*************** -+*** 185,191 **** -+ if sys.platform in ('netbsd1', -+ 'openbsd2', -+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', -+! 'bsdos2', 'bsdos3', 'bsdos4'): -+ flock = struct.pack('lxxxxlxxxxlhh', \ -+ l_start, l_len, os.getpid(), l_type, l_whence) -+ elif sys.platform in ['aix3', 'aix4']: -+--- 185,191 ---- -+ if sys.platform in ('netbsd1', -+ 'openbsd2', -+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', -+! 'freebsd6', 'freebsd7', 'freebsd8', 'bsdos2', 'bsdos3', 'bsdos4'): -+ flock = struct.pack('lxxxxlxxxxlhh', \ -+ l_start, l_len, os.getpid(), l_type, l_whence) -+ elif sys.platform in ['aix3', 'aix4']: - *** misc/Python-2.3.4/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 - --- misc/build/Python-2.3.4/Mac/OSX/Makefile Tue Jan 15 12:11:51 2008 - *************** -@@ -15547,3 +17166,22 @@ - - /* Define the macros needed if on a UnixWare 7.x system. */ - #if defined(__USLC__) && defined(__SCO_VERSION__) -+*** misc/Python-2.3.4/setup.py Tue Oct 21 16:01:21 2003 -+--- misc/build/Python-2.3.4/setup.py Tue Jan 8 14:17:55 2008 -+*************** -+*** 770,776 **** -+ # Linux-specific modules -+ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) -+ -+! if platform in ('linux2', 'freebsd4'): -+ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) -+ -+ if platform == 'sunos5': -+--- 770,776 ---- -+ # Linux-specific modules -+ exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) -+ -+! if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): -+ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) -+ -+ if platform == 'sunos5': diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85972 b/editors/openoffice.org-vcltesttool/files/patch-i85972 deleted file mode 100644 index 4b24c9d2ca7d..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i85972 +++ /dev/null @@ -1,68 +0,0 @@ -Index: lpsolve/lp_solve_5.5.patch -=================================================================== -RCS file: /cvs/external/lpsolve/lp_solve_5.5.patch,v -retrieving revision 1.2 -diff -u -r1.2 lp_solve_5.5.patch ---- lpsolve/lp_solve_5.5.patch 20 Dec 2007 15:58:45 -0000 1.2 -+++ lpsolve/lp_solve_5.5.patch 9 Feb 2008 07:19:59 -0000 -@@ -29,3 +29,27 @@ - ! fi - ! - ! rm *.o 2>/dev/null -+*** misc/lp_solve_5.5/lpsolve55/ccc.freebsd Fri Nov 23 21:38:12 2007 -+--- misc/build/lp_solve_5.5/lpsolve55/ccc.freebsd Fri Nov 23 21:58:29 2007 -+*************** -+*** 1 **** -+! dummy -+--- 1,18 ---- -+! src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' -+! -+! def= -+! so=yes -+! -+! opts='-O3 -DINTEGERTIME' -+! -+! $CC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -+! ranlib liblpsolve55.a -+! -+! if [ "$so" != "" ] -+! then -+! $CC -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -+! fi -+! -+! rm *.o 2>/dev/null -Index: lpsolve/makefile.mk -=================================================================== -RCS file: /cvs/external/lpsolve/makefile.mk,v -retrieving revision 1.3 -diff -u -r1.3 makefile.mk ---- lpsolve/makefile.mk 21 Dec 2007 09:32:37 -0000 1.3 -+++ lpsolve/makefile.mk 9 Feb 2008 07:20:00 -0000 -@@ -50,7 +50,7 @@ - PATCH_FILE_NAME=lp_solve_5.5-windows.patch - .ELSE - PATCH_FILE_NAME=lp_solve_5.5.patch --ADDITIONAL_FILES=lpsolve55$/ccc.solaris -+ADDITIONAL_FILES=lpsolve55$/ccc.solaris lpsolve55$/ccc.freebsd - .ENDIF - - CONFIGURE_DIR= -@@ -70,11 +70,16 @@ - .IF "$(COMNAME)"=="sunpro5" - BUILD_ACTION=sh ccc.solaris - .ELSE -+.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=sh -x ccc.freebsd -+OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so -+.ELSE - BUILD_ACTION=sh ccc - .ENDIF - OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so - .ENDIF - .ENDIF -+.ENDIF - - OUT2INC=lp_lib.h lp_types.h lp_utils.h lp_Hash.h lp_matrix.h lp_mipbb.h lp_SOS.h - diff --git a/editors/openoffice.org-vcltesttool/files/patch-i86558 b/editors/openoffice.org-vcltesttool/files/patch-i86558 deleted file mode 100644 index ff723e835f09..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-i86558 +++ /dev/null @@ -1,18 +0,0 @@ ---- psprint/source/printer/printerinfomanager.cxx.orig 2007-12-12 09:56:19.000000000 -0500 -+++ psprint/source/printer/printerinfomanager.cxx 2008-02-28 17:46:34.000000000 -0500 -@@ -145,12 +145,12 @@ - bool bSuccess = false; - - // try libpaper -- #ifdef SOLARIS -+ #ifdef LINUX - // #i78617# workaround missing paperconf command; on e.g. Linux - // the 2>/dev/null works on the started shell also -- FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" ); -- #else - FILE* pPipe = popen( "paperconf 2>/dev/null", "r" ); -+ #else -+ FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" ); - #endif - if( pPipe ) - { diff --git a/editors/openoffice.org-vcltesttool/files/pkg-message.in b/editors/openoffice.org-vcltesttool/files/pkg-message.in deleted file mode 100644 index 03a7ca76151e..000000000000 --- a/editors/openoffice.org-vcltesttool/files/pkg-message.in +++ /dev/null @@ -1,42 +0,0 @@ -OpenOffice.org Build %%OOOTAG%% Personal Install How-To - -Written by: Martin Blapp <mbr@freebsd.org> - and Maho Nakata <maho@FreeBSD.org> - -OpenOffice.org %%OOOTAG%% will soon been installed in -%%PREFIX%%/%%EXECBASE%% - -1. User installation --------------------- - -Just type "%%EXECBASE%%" after you have successfully -installed the package. If there is no installed -OO.org dir in your homedir, you'll be prompted to -install some files and choose an installed JDK. -The setup installs a ".openoffice.org2" folder -in your homedir. - -2. Starting OO.org ------------------- - -There are some wrappers installed for faster startup. -Add "%%PREFIX%%/bin/" to your PATH and you will be able -to use them. - -%%PREFIX%%/bin/%%EXECBASE%% -%%PREFIX%%/bin/%%EXECBASE%%-sbase -%%PREFIX%%/bin/%%EXECBASE%%-scalc -%%PREFIX%%/bin/%%EXECBASE%%-sdraw -%%PREFIX%%/bin/%%EXECBASE%%-setofficelang -%%PREFIX%%/bin/%%EXECBASE%%-smath -%%PREFIX%%/bin/%%EXECBASE%%-simpress -%%PREFIX%%/bin/%%EXECBASE%%-spadmin -%%PREFIX%%/bin/%%EXECBASE%%-swriter - -OO.org does need $LANG to be set to a suitable value. - -3. If you run into problems --------------------------------------------------- -If you somehow run into problems, please remove the already installed -".openoffice.org2" dir in your homedir. Redo the user -installation and the problems should go away. diff --git a/editors/openoffice.org-vcltesttool/files/rtld-workaround-i66667 b/editors/openoffice.org-vcltesttool/files/rtld-workaround-i66667 deleted file mode 100644 index 26c0b1b4a88c..000000000000 --- a/editors/openoffice.org-vcltesttool/files/rtld-workaround-i66667 +++ /dev/null @@ -1,55 +0,0 @@ -Index: vcl/unx/gtk/app/gtkinst.cxx -=================================================================== -RCS file: /cvs/gsl/vcl/unx/gtk/app/gtkinst.cxx,v -retrieving revision 1.14 -diff -u -r1.14 gtkinst.cxx ---- vcl/unx/gtk/app/gtkinst.cxx 19 Jun 2006 19:44:33 -0000 1.14 -+++ vcl/unx/gtk/app/gtkinst.cxx 27 Jun 2006 02:11:09 -0000 -@@ -43,6 +43,7 @@ - #include <plugins/gtk/atkbridge.hxx> - - #include <rtl/strbuf.hxx> -+#include <rtl/ustrbuf.hxx> - - #if OSL_DEBUG_LEVEL > 1 - #include <stdio.h> -@@ -111,13 +112,27 @@ - GtkHookedYieldMutex *pYieldMutex = GET_YIELD_MUTEX(); - pYieldMutex->ThreadsLeave(); - } -- static bool hookLocks( oslModule pModule ) -+ static bool hookLocks( void ) - { -- typedef void (*GdkLockFn) (GCallback enter_fn, GCallback leave_fn); -+ typedef void (*GdkLockFn) ( GCallback enter_fn, GCallback leave_fn ); - rtl::OUString aSymbolName( RTL_CONSTASCII_USTRINGPARAM( "gdk_threads_set_lock_functions") ); - -+ /* XXX GDK library path should be set by configure. */ -+ OUStringBuffer aModName( 128 ); -+ aModName.appendAscii( SAL_DLLPREFIX"gdk-x11-2.0" ); -+ aModName.appendAscii( SAL_DLLEXTENSION ); -+ OUString aModule = aModName.makeStringAndClear(); -+ oslModule aMod = osl_loadModule( aModule.pData, SAL_LOADMODULE_DEFAULT ); -+ -+ if ( !aMod ) -+ { -+#if OSL_DEBUG_LEVEL > 1 -+ fprintf( stderr, "Failed to load "SAL_DLLPREFIX"gdk-x11-2.0"SAL_DLLEXTENSION"\n" ); -+#endif -+ return false; -+ } - GdkLockFn gdk_threads_set_lock_functions = -- (GdkLockFn) osl_getFunctionSymbol( pModule, aSymbolName.pData ); -+ (GdkLockFn) osl_getFunctionSymbol( aMod, aSymbolName.pData ); - if ( !gdk_threads_set_lock_functions ) - { - #if OSL_DEBUG_LEVEL > 1 -@@ -150,7 +165,7 @@ - if ( !g_thread_supported() ) - g_thread_init( NULL ); - -- if ( hookLocks( pModule ) ) -+ if ( hookLocks() ) - pYieldMutex = new GtkHookedYieldMutex(); - else - pYieldMutex = new GtkYieldMutex(); |