wok-next rev 20619
Up / fix build: wvstreams, xalan-c, xerces-c
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 15:29:57 2018 +0300 (2018-04-21) |
parents | d329acd936d3 |
children | 0c30a9a773d1 |
files | wvstreams/receipt wvstreams/stuff/patches/openssl-buildfix.patch wvstreams/stuff/patches/package-wvstreams-add-patch-to-fix-build-with-C99-compilers.patch wvstreams/stuff/patches/series wvstreams/stuff/patches/wvstreams-4.6.1-gcc47.patch wvstreams/stuff/patches/wvstreams-4.6.1-glibc212.patch xalan-c/receipt xerces-c/receipt |
line diff
1.1 --- a/wvstreams/receipt Sat Apr 21 14:23:02 2018 +0300 1.2 +++ b/wvstreams/receipt Sat Apr 21 15:29:57 2018 +0300 1.3 @@ -6,55 +6,55 @@ 1.4 SHORT_DESC="makes modem-based connection to Internet" 1.5 MAINTAINER="jozee@slitaz.org" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="https://code.google.com/archive/p/wvstreams/" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 -WEB_SITE="http://wvstreams.googlecode.com" 1.11 -WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" 1.12 +WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/$TARBALL" 1.13 1.14 -BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash zlib-dev" 1.15 -SPLIT="wvstreams wvstreams-dev" 1.16 +BUILD_DEPENDS="ppp-dev openssl10-dev xplc-dev readline-dev bash zlib-dev" 1.17 +SPLIT="wvstreams-dev" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 +compile_rules() { 1.23 sed -i 's/wvuid.h"/&\n#include <unistd.h>/' utils/wvuid.cc 1.24 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc 1.25 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \ 1.26 ipstreams/wvunixdgsocket.cc 1.27 - ./configure $CONFIGURE_ARGS \ 1.28 - --prefix=/usr \ 1.29 + 1.30 + CPPFLAGS=-I/usr/include/openssl-1.0 \ 1.31 + LDFLAGS=-L/usr/lib/openssl-1.0 \ 1.32 + ./configure \ 1.33 --without-dbus \ 1.34 --without-tcl \ 1.35 --without-qt \ 1.36 --without-pam \ 1.37 - --without-valgrind && 1.38 - make -j1 && make -j1 install 1.39 + --without-valgrind \ 1.40 + $CONFIGURE_ARGS && 1.41 + make \ 1.42 + -j1 \ 1.43 + COPTS="$CFLAGS -fPIC" \ 1.44 + CXXOPTS="$CXXFLAGS -fPIC -fpermissive -fno-tree-dce -fno-optimize-sibling-calls" \ 1.45 + VERBOSE=1 && 1.46 + make -j1 install || return 1 1.47 + 1.48 + # --without-dbus still installs the .pc file 1.49 + rm $install/usr/lib/pkgconfig/libwvdbus.pc 1.50 + # --without-qt still installs the .pc file 1.51 + rm $install/usr/lib/pkgconfig/libwvqt.pc 1.52 } 1.53 1.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.55 -genpkg_rules() 1.56 -{ 1.57 +genpkg_rules() { 1.58 case $PACKAGE in 1.59 - wvstreams) 1.60 - TAGS="network 3G" 1.61 - DEPENDS="ppp openssl xplc readline" 1.62 - mkdir -p $fs/usr/lib $fs/etc $fs/var 1.63 - cp -a $install/usr/bin $fs/usr 1.64 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.65 - cp -a $install/usr/lib/valgrind $fs/usr/lib 1.66 - cp -a $install/usr/sbin $fs/usr 1.67 - cp -a $install/usr/etc/* $fs/etc 1.68 - cp -a $install/usr/var/* $fs/var 1.69 - ;; 1.70 - wvstreams-dev) 1.71 - mkdir -p $fs/usr/lib 1.72 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.73 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.74 - cp -a $install/usr/include/ $fs/usr 1.75 - ;; 1.76 + wvstreams) 1.77 + copy @std 1.78 + DEPENDS="openssl10 readline zlib ppp xplc" 1.79 + TAGS="network 3G" 1.80 + ;; 1.81 + *-dev) 1.82 + copy @dev 1.83 + ;; 1.84 esac 1.85 } 1.86 1.87 -post_remove_wvstreams() 1.88 -{ 1.89 +post_remove_wvstreams() { 1.90 rm -rf "$1/etc/ppp/peers/wvdial" 1.91 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/wvstreams/stuff/patches/openssl-buildfix.patch Sat Apr 21 15:29:57 2018 +0300 2.3 @@ -0,0 +1,14 @@ 2.4 +--- wvstreams-4.6.1/crypto/wvx509.cc 2008-10-23 22:23:49.000000000 +0200 2.5 ++++ wvstreams-4.6.1-1/crypto/wvx509.cc 2010-01-27 11:09:06.000000000 +0100 2.6 +@@ -1157,7 +1157,11 @@ 2.7 + 2.8 + if (ext) 2.9 + { 2.10 ++#if OPENSSL_VERSION_NUMBER >= 0x10000000L 2.11 ++ const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); 2.12 ++#else 2.13 + X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); 2.14 ++#endif 2.15 + if (!method) 2.16 + { 2.17 + WvDynBuf buf;
3.1 --- a/wvstreams/stuff/patches/package-wvstreams-add-patch-to-fix-build-with-C99-compilers.patch Sat Apr 21 14:23:02 2018 +0300 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,170 +0,0 @@ 3.4 -From patchwork Fri Sep 23 21:42:27 2016 3.5 -Content-Type: text/plain; charset="utf-8" 3.6 -MIME-Version: 1.0 3.7 -Content-Transfer-Encoding: 8bit 3.8 -Subject: package/wvstreams: add patch to fix build with C99 compilers 3.9 -X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= 3.10 - <joerg.krause@embedded.rocks> 3.11 -X-Patchwork-Id: 674238 3.12 -Message-Id: <20160923214227.12888-1-joerg.krause@embedded.rocks> 3.13 -To: buildroot@buildroot.org 3.14 -Date: Fri, 23 Sep 2016 23:42:27 +0200 3.15 -From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> 3.16 -List-Id: Discussion and development of buildroot <buildroot.busybox.net> 3.17 - 3.18 -wvstreams uses a bundled version of argp. Compiling argp fails for all 3.19 -compilers not using the C89 standard by default: 3.20 - 3.21 -""" 3.22 -In file included from argp-fmtstream.c:35:0: 3.23 -argp-namefrob.h:62:32: error: redefinition of ‘argp_fmtstream_write’ 3.24 - #define __argp_fmtstream_write argp_fmtstream_write 3.25 - ^ 3.26 -argp-fmtstream.c:395:1: note: in expansion of macro 3.27 -‘__argp_fmtstream_write’ 3.28 - __argp_fmtstream_write (argp_fmtstream_t __fs, 3.29 - ^ 3.30 -In file included from argp-fmtstream.c:34:0: 3.31 -argp-fmtstream.h:209:32: note: previous definition of 3.32 -‘argp_fmtstream_write’ was here 3.33 - #define __argp_fmtstream_write argp_fmtstream_write 3.34 - ^ 3.35 -argp-fmtstream.h:223:1: note: in expansion of macro 3.36 -‘__argp_fmtstream_write’ 3.37 - __argp_fmtstream_write (argp_fmtstream_t __fs, 3.38 - ^ 3.39 -""" 3.40 - 3.41 -The issue is that C99 changed inline semantics. This patch takes these 3.42 -changes into account and allows to build the bundled argp and therefore 3.43 -wvstreams with non-C89-compilers. 3.44 - 3.45 -Note, that wvstreams is not maintained anymore. Last activity was on 3.46 -Github was 2011, the current version 1.6.1 dates from 2009. 3.47 - 3.48 -Fetch-from: http://review.gluster.org/6034 3.49 - 3.50 -Fixes: 3.51 -http://autobuild.buildroot.net/results/f01/f0166f030875ecaf0d757790de6361339071831e/ 3.52 -http://autobuild.buildroot.net/results/32b/32b4eba8c7cbe8a3b1cde2d67f1af3f913fcc292/ 3.53 -http://autobuild.buildroot.net/results/38f/38fefa126596c6e267ffaf0f2dd9c5e3dcf09aff/ 3.54 -http://autobuild.buildroot.net/results/ea2/ea223c8a4f817541f55aa36c47b159a316031bff/ 3.55 -.. and many more. 3.56 - 3.57 -Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> 3.58 ---- 3.59 - .../0006-fix-build-with-C99-compilers.patch | 105 +++++++++++++++++++++ 3.60 - 1 file changed, 105 insertions(+) 3.61 - create mode 100644 package/wvstreams/0006-fix-build-with-C99-compilers.patch 3.62 - 3.63 -diff --git a/package/wvstreams/0006-fix-build-with-C99-compilers.patch b/package/wvstreams/0006-fix-build-with-C99-compilers.patch 3.64 -new file mode 100644 3.65 -index 0000000..2bd34a0 3.66 ---- /dev/null 3.67 -+++ b/package/wvstreams/0006-fix-build-with-C99-compilers.patch 3.68 -@@ -0,0 +1,105 @@ 3.69 -+From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 3.70 -+From: Emmanuel Dreyfus <manu@netbsd.org> 3.71 -+Date: Wed, 22 Jan 2014 14:47:23 +0100 3.72 -+Subject: [PATCH] Fix build with C99 compilers 3.73 -+ 3.74 -+wvstreams uses a bundled version of argp. Compiling argp fails for all compilers 3.75 -+not using the C89 standard by default: 3.76 -+ 3.77 -+""" 3.78 -+In file included from argp-fmtstream.c:35:0: 3.79 -+argp-namefrob.h:62:32: error: redefinition of ‘argp_fmtstream_write’ 3.80 -+ #define __argp_fmtstream_write argp_fmtstream_write 3.81 -+ ^ 3.82 -+argp-fmtstream.c:395:1: note: in expansion of macro ‘__argp_fmtstream_write’ 3.83 -+ __argp_fmtstream_write (argp_fmtstream_t __fs, 3.84 -+ ^ 3.85 -+In file included from argp-fmtstream.c:34:0: 3.86 -+argp-fmtstream.h:209:32: note: previous definition of ‘argp_fmtstream_write’ was here 3.87 -+ #define __argp_fmtstream_write argp_fmtstream_write 3.88 -+ ^ 3.89 -+argp-fmtstream.h:223:1: note: in expansion of macro ‘__argp_fmtstream_write’ 3.90 -+ __argp_fmtstream_write (argp_fmtstream_t __fs, 3.91 -+ ^ 3.92 -+""" 3.93 -+ 3.94 -+The issue is that C99 changed inline semantics. This patch allows to build 3.95 -+argp with non-C89-compilers. 3.96 -+ 3.97 -+Fetch-from: http://review.gluster.org/6034 3.98 -+ 3.99 -+Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> 3.100 -+Reviewed-by: Harshavardhana <harsha@harshavardhana.net> 3.101 -+Tested-by: Gluster Build System <jenkins@build.gluster.com> 3.102 -+ 3.103 -+[Adapt paths for wvstreams. Add commit message.] 3.104 -+Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> 3.105 -+--- 3.106 -+ 3.107 -+diff --git a/argp/argp-fmtstream.c b/argp/argp-fmtstream.c 3.108 -+index 7f79285..494b6b3 100644 3.109 -+--- a/argp/argp-fmtstream.c 3.110 -++++ b/argp/argp-fmtstream.c 3.111 -+@@ -389,6 +389,7 @@ 3.112 -+ weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) 3.113 -+ #endif 3.114 -+ 3.115 -++#if __STDC_VERSION__ - 199900L < 1 3.116 -+ /* Duplicate the inline definitions in argp-fmtstream.h, for compilers 3.117 -+ * that don't do inlining. */ 3.118 -+ size_t 3.119 -+@@ -471,5 +472,6 @@ 3.120 -+ __argp_fmtstream_update (__fs); 3.121 -+ return __fs->point_col >= 0 ? __fs->point_col : 0; 3.122 -+ } 3.123 -++#endif /* __STDC_VERSION__ - 199900L < 1 */ 3.124 -+ 3.125 -+ #endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ 3.126 -+diff --git a/argp/argp-fmtstream.h b/argp/argp-fmtstream.h 3.127 -+index e797b11..828f435 100644 3.128 -+--- a/argp/argp-fmtstream.h 3.129 -++++ b/argp/argp-fmtstream.h 3.130 -+@@ -153,6 +153,7 @@ 3.131 -+ __const char *__fmt, ...) 3.132 -+ PRINTF_STYLE(2,3); 3.133 -+ 3.134 -++#if __STDC_VERSION__ - 199900L < 1 3.135 -+ extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); 3.136 -+ extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); 3.137 -+ 3.138 -+@@ -163,6 +164,7 @@ 3.139 -+ __const char *__str, size_t __len); 3.140 -+ extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, 3.141 -+ __const char *__str, size_t __len); 3.142 -++#endif /* __STDC_VERSION__ - 199900L < 1 */ 3.143 -+ 3.144 -+ /* Access macros for various bits of state. */ 3.145 -+ #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) 3.146 -+@@ -172,6 +174,7 @@ 3.147 -+ #define __argp_fmtstream_rmargin argp_fmtstream_rmargin 3.148 -+ #define __argp_fmtstream_wmargin argp_fmtstream_wmargin 3.149 -+ 3.150 -++#if __STDC_VERSION__ - 199900L < 1 3.151 -+ /* Set __FS's left margin to LMARGIN and return the old value. */ 3.152 -+ extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, 3.153 -+ size_t __lmargin); 3.154 -+@@ -193,6 +196,7 @@ 3.155 -+ /* Return the column number of the current output point in __FS. */ 3.156 -+ extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); 3.157 -+ extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); 3.158 -++#endif /* __STDC_VERSION__ - 199900L < 1 */ 3.159 -+ 3.160 -+ /* Internal routines. */ 3.161 -+ extern void _argp_fmtstream_update (argp_fmtstream_t __fs); 3.162 -+@@ -216,7 +220,11 @@ 3.163 -+ #endif 3.164 -+ 3.165 -+ #ifndef ARGP_FS_EI 3.166 -++#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) 3.167 -+ #define ARGP_FS_EI extern inline 3.168 -++#else 3.169 -++#define ARGP_FS_EI inline 3.170 -++#endif 3.171 -+ #endif 3.172 -+ 3.173 -+ ARGP_FS_EI size_t
4.1 --- a/wvstreams/stuff/patches/series Sat Apr 21 14:23:02 2018 +0300 4.2 +++ b/wvstreams/stuff/patches/series Sat Apr 21 15:29:57 2018 +0300 4.3 @@ -1,2 +1,5 @@ 4.4 -package-wvstreams-add-patch-to-fix-build-with-C99-compilers.patch 4.5 -gcc-6.patch 4.6 +# from https://www.archlinux.org/packages/community/x86_64/wvstreams/ 4.7 +-p0|wvstreams-4.6.1-glibc212.patch 4.8 +-p0|wvstreams-4.6.1-gcc47.patch 4.9 +-p1|openssl-buildfix.patch 4.10 +-p1|gcc-6.patch
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/wvstreams/stuff/patches/wvstreams-4.6.1-gcc47.patch Sat Apr 21 15:29:57 2018 +0300 5.3 @@ -0,0 +1,50 @@ 5.4 +http://bugs.gentoo.org/419563 5.5 +http://bugs.gentoo.org/419971 5.6 + 5.7 +See -gcc47-patch and -magic.patch in Fedora git: 5.8 + 5.9 +http://pkgs.fedoraproject.org/gitweb/?p=libwvstreams.git;a=tree 5.10 + 5.11 +--- include/wvtask.h 5.12 ++++ include/wvtask.h 5.13 +@@ -45,7 +45,8 @@ 5.14 + typedef void TaskFunc(void *userdata); 5.15 + 5.16 + static int taskcount, numtasks, numrunning; 5.17 +- int magic_number, *stack_magic; 5.18 ++ int volatile magic_number; 5.19 ++ int *stack_magic; 5.20 + WvString name; 5.21 + int tid; 5.22 + 5.23 +@@ -84,7 +85,7 @@ 5.24 + static WvTaskMan *singleton; 5.25 + static int links; 5.26 + 5.27 +- static int magic_number; 5.28 ++ static int volatile magic_number; 5.29 + static WvTaskList all_tasks, free_tasks; 5.30 + 5.31 + static void get_stack(WvTask &task, size_t size); 5.32 +--- include/wvuid.h 5.33 ++++ include/wvuid.h 5.34 +@@ -7,6 +7,7 @@ 5.35 + #ifndef __WVUID_H 5.36 + #define __WVUID_H 5.37 + 5.38 ++#include <unistd.h> 5.39 + #include "wvstring.h" 5.40 + 5.41 + #if WIN32 5.42 +--- utils/wvtask.cc 5.43 ++++ utils/wvtask.cc 5.44 +@@ -58,7 +58,8 @@ 5.45 + int WvTask::taskcount, WvTask::numtasks, WvTask::numrunning; 5.46 + 5.47 + WvTaskMan *WvTaskMan::singleton; 5.48 +-int WvTaskMan::links, WvTaskMan::magic_number; 5.49 ++int WvTaskMan::links; 5.50 ++int volatile WvTaskMan::magic_number; 5.51 + WvTaskList WvTaskMan::all_tasks, WvTaskMan::free_tasks; 5.52 + ucontext_t WvTaskMan::stackmaster_task, WvTaskMan::get_stack_return, 5.53 + WvTaskMan::toplevel;
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/wvstreams/stuff/patches/wvstreams-4.6.1-glibc212.patch Sat Apr 21 15:29:57 2018 +0300 6.3 @@ -0,0 +1,24 @@ 6.4 +http://bugs.gentoo.org/333301 6.5 +https://bugs.archlinux.org/task/27188 6.6 + 6.7 +--- ipstreams/wvunixdgsocket.cc 6.8 ++++ ipstreams/wvunixdgsocket.cc 6.9 +@@ -1,5 +1,5 @@ 6.10 + #include "wvunixdgsocket.h" 6.11 +-#ifdef MACOS 6.12 ++#if defined(MACOS) || defined(__GNUC__) 6.13 + #include <sys/types.h> 6.14 + #include <sys/stat.h> 6.15 + #endif 6.16 +--- streams/wvatomicfile.cc 6.17 ++++ streams/wvatomicfile.cc 6.18 +@@ -11,7 +11,8 @@ 6.19 + #include "wvfileutils.h" 6.20 + #include "wvstrutils.h" 6.21 + 6.22 +-#ifdef MACOS 6.23 ++#if defined(MACOS) || defined(__GNUC__) 6.24 ++#include <sys/types.h> 6.25 + #include <sys/stat.h> 6.26 + #endif 6.27 +
7.1 --- a/xalan-c/receipt Sat Apr 21 14:23:02 2018 +0300 7.2 +++ b/xalan-c/receipt Sat Apr 21 15:29:57 2018 +0300 7.3 @@ -1,7 +1,7 @@ 7.4 # SliTaz package receipt v2. 7.5 7.6 PACKAGE="xalan-c" 7.7 -VERSION="1.10.0-r705082" 7.8 +VERSION="1.11" 7.9 CATEGORY="development" 7.10 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, \ 7.11 or other XML document types" 7.12 @@ -9,22 +9,16 @@ 7.13 LICENSE="Apache" 7.14 WEB_SITE="http://xalan.apache.org/" 7.15 7.16 -TARBALL="Xalan-C_r705082-src.tar.gz" 7.17 -# Need to use the patched r705082 version on Gentoo's mirrors 7.18 -# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 7.19 -WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 7.20 +TARBALL="xalan_c-$VERSION-src.tar.gz" 7.21 +WGET_URL="http://www.eu.apache.org/dist/xalan/xalan-c/sources/$TARBALL" 7.22 7.23 BUILD_DEPENDS="xerces-c-dev" 7.24 SPLIT="xalan-c-dev" 7.25 7.26 compile_rules() { 7.27 - fix math 7.28 - mv c/* . && rm -r c 7.29 - sed -i 's/isnan/std::&/' src/xalanc/PlatformSupport/DoubleSupport.hpp 7.30 - sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp 7.31 - 7.32 export XERCESCROOT=/usr 7.33 - export XALANCROOT=$src 7.34 + export XALANCROOT=$src/c 7.35 + cd c 7.36 7.37 ./runConfigure \ 7.38 -p linux \ 7.39 @@ -40,14 +34,11 @@ 7.40 genpkg_rules() { 7.41 case $PACKAGE in 7.42 xalan-c) 7.43 - mkdir -p $fs/usr/lib 7.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 7.45 - cp -a $install/usr/bin $fs/usr 7.46 - DEPENDS="glibc-base gcc-lib-base xerces-c libcurl openssl icu" 7.47 + copy @std 7.48 + DEPENDS="xerces-c" 7.49 ;; 7.50 *-dev) 7.51 - mkdir -p $fs/usr 7.52 - cp -a $install/usr/include $fs/usr 7.53 + copy @dev 7.54 ;; 7.55 esac 7.56 }
8.1 --- a/xerces-c/receipt Sat Apr 21 14:23:02 2018 +0300 8.2 +++ b/xerces-c/receipt Sat Apr 21 15:29:57 2018 +0300 8.3 @@ -1,12 +1,12 @@ 8.4 # SliTaz package receipt v2. 8.5 8.6 PACKAGE="xerces-c" 8.7 -VERSION="3.1.1" 8.8 +VERSION="3.2.1" 8.9 CATEGORY="development" 8.10 SHORT_DESC="A validating XML parser written in a portable subset of C++" 8.11 MAINTAINER="rcx@zoominternet.net" 8.12 LICENSE="Apache" 8.13 -WEB_SITE="http://xerces.apache.org/xerces-c" 8.14 +WEB_SITE="http://xerces.apache.org/xerces-c/" 8.15 8.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 8.17 WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL" 8.18 @@ -14,7 +14,14 @@ 8.19 SPLIT="xerces-c-dev" 8.20 8.21 compile_rules() { 8.22 - ./configure $CONFIGURE_ARGS && 8.23 + case $ARCH in 8.24 + i?86) ARCH_ARGS='--disable-sse2';; 8.25 + *) ARCH_ARGS='';; 8.26 + esac 8.27 + 8.28 + ./configure \ 8.29 + $ARCH_ARGS \ 8.30 + $CONFIGURE_ARGS && 8.31 fix libtool && 8.32 make $MAKEFLAGS && 8.33 make install 8.34 @@ -22,12 +29,7 @@ 8.35 8.36 genpkg_rules() { 8.37 case $PACKAGE in 8.38 - xerces-c) 8.39 - copy @std 8.40 - DEPENDS="libcurl openssl icu" 8.41 - ;; 8.42 - *-dev) 8.43 - copy @dev 8.44 - ;; 8.45 + xerces-c) copy @std;; 8.46 + *-dev) copy @dev;; 8.47 esac 8.48 }