xerces-c: removed obsolete package.

This commit is contained in:
Ricardo Martins 2015-10-26 17:57:52 +00:00
parent ed40748169
commit 9a91ede3c6
2 changed files with 0 additions and 97 deletions

View File

@ -1,74 +0,0 @@
version=\
(
"2.8.0"
)
vendor_version="$(echo $version | tr . _)"
url=\
(
"http://mirrors.fe.up.pt/pub/apache/xerces/c/2/sources/xerces-c-src_$vendor_version.tar.gz"
)
md5=\
(
"5daf514b73f3e0de9e3fce704387c0d2"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
post_unpack()
{
patches=$(ls "$pkg_dir"/patches/*.patch)
if [ -n "$patches" ]; then
cd ../xerces-c-src_$vendor_version &&
cat $patches | patch -p1
fi
}
configure()
{
export LDFLAGS="-L$cfg_dir_toolchain_sysroot/usr/lib"
export XERCESCROOT=$PWD/../xerces-c-src_$vendor_version
cd $XERCESCROOT/src/xercesc &&
./runConfigure -plinux \
-P "$cfg_dir_toolchain_sysroot/usr" \
-nfileonly \
-tnative \
-rpthread \
-c"$cfg_target_canonical"-gcc \
-x"$cfg_target_canonical"-g++ \
-C "--host=$cfg_target_canonical"
}
build()
{
export XERCESCROOT=$PWD/../xerces-c-src_$vendor_version
$cmd_make -j1 \
VERBOSE=1 \
XERCESCROOT="$PWD/../xerces-c-src_$vendor_version" \
-C "$XERCESCROOT/src/xercesc"
}
host_install()
{
export XERCESCROOT=$PWD/../xerces-c-src_$vendor_version
$cmd_make -j1 \
VERBOSE=1 \
XERCESCROOT="$PWD/../xerces-c-src_$vendor_version" \
-C "$XERCESCROOT/src/xercesc" install
}
target_install()
{
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/libxerces-"* $cfg_dir_rootfs/lib &&
for f in $cfg_dir_rootfs/lib/libxerces-*; do
$cmd_target_strip "$f"
done
}

View File

@ -1,23 +0,0 @@
diff -Nru xerces-c-src_2_8_0.ori/src/xercesc/Makefile.incl xerces-c-src_2_8_0/src/xercesc/Makefile.incl
--- xerces-c-src_2_8_0.ori/src/xercesc/Makefile.incl 2007-08-30 13:10:20.000000000 +0100
+++ xerces-c-src_2_8_0/src/xercesc/Makefile.incl 2011-01-21 15:01:12.000000000 +0000
@@ -531,7 +531,7 @@
ifeq (${TRANSCODER}, ICU)
ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licuuc -licudata
else
- ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib
+ ALLLIBS = ${LIBS} #-L/usr/lib -L/usr/local/lib -L/usr/ccs/lib
endif
ifeq (${MESSAGELOADER}, ICU)
diff -Nru xerces-c-src_2_8_0.ori/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp xerces-c-src_2_8_0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
--- xerces-c-src_2_8_0.ori/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp 2007-08-28 19:44:40.000000000 +0100
+++ xerces-c-src_2_8_0/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp 2011-01-21 15:01:44.000000000 +0000
@@ -23,6 +23,7 @@
// Includes
// ---------------------------------------------------------------------------
#include <ctype.h>
+#include <cstdio>
#include <locale.h>
#include <iconv.h>