Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
Kill ABI compatibility bits, we don't need them.
Fixes build failures on non-ELF (blackfin) targets.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura pcre-8.32.orig/pcrecpp.cc pcre-8.32/pcrecpp.cc
--- pcre-8.32.orig/pcrecpp.cc 2012-12-28 08:32:10.193847937 -0300
+++ pcre-8.32/pcrecpp.cc 2012-12-28 08:32:26.924376180 -0300
@@ -58,22 +58,6 @@
// Special object that stands-in for no argument
Arg RE::no_arg((void*)NULL);
-// This is for ABI compatibility with old versions of pcre (pre-7.6),
-// which defined a global no_arg variable instead of putting it in the
-// RE class. This works on GCC >= 3, at least. It definitely works
-// for ELF, but may not for other object formats (Mach-O, for
-// instance, does not support aliases.) We could probably have a more
-// inclusive test if we ever needed it. (Note that not only the
-// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
-// gnu-specific.)
-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
-# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
-# define ULP_AS_STRING_INTERNAL(x) #x
-# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)
-extern Arg no_arg
- __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
-#endif
-
// If a regular expression has no error, its error_ field points here
static const string empty_string;

View File

@@ -0,0 +1,31 @@
Disable PCRE C++ unit tests, they fail to build on static scenarios
and they're not installed.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura pcre-8.33.orig/Makefile.in pcre-8.33/Makefile.in
--- pcre-8.33.orig/Makefile.in 2013-05-28 06:09:27.000000000 -0300
+++ pcre-8.33/Makefile.in 2013-09-03 11:28:28.398198832 -0300
@@ -123,12 +123,6 @@
@WITH_PCRE8_TRUE@am__append_20 = libpcreposix.la
@WITH_GCOV_TRUE@@WITH_PCRE8_TRUE@am__append_21 = $(GCOV_CFLAGS)
@WITH_PCRE_CPP_TRUE@am__append_22 = libpcrecpp.la
-@WITH_PCRE_CPP_TRUE@am__append_23 = pcrecpp_unittest \
-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \
-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest
-@WITH_PCRE_CPP_TRUE@am__append_24 = pcrecpp_unittest \
-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \
-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest
@WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_25 = $(GCOV_CXXFLAGS)
@WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_26 = $(GCOV_LIBS)
@WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_27 = $(GCOV_LIBS)
@@ -360,9 +354,6 @@
@WITH_PCRE8_TRUE@am__EXEEXT_1 = pcregrep$(EXEEXT)
@WITH_REBUILD_CHARTABLES_TRUE@am__EXEEXT_2 = dftables$(EXEEXT)
@WITH_JIT_TRUE@am__EXEEXT_3 = pcre_jit_test$(EXEEXT)
-@WITH_PCRE_CPP_TRUE@am__EXEEXT_4 = pcrecpp_unittest$(EXEEXT) \
-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest$(EXEEXT) \
-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
am__dftables_SOURCES_DIST = dftables.c
@WITH_REBUILD_CHARTABLES_TRUE@am_dftables_OBJECTS = \

View File

@@ -0,0 +1,34 @@
config BR2_PACKAGE_PCRE
bool "pcre"
help
Perl Compatible Regular Expressions. By default, only the
8-bits libpcre is built. To get the 16-bits and/or 32-bits
variants libpcre16/libpcre32, use the package sub-options.
http://www.pcre.org/
if BR2_PACKAGE_PCRE
config BR2_PACKAGE_PCRE_16
bool "16-bit pcre"
help
This option builds the 16-bits pcre library, i.e 'libpcre16'
config BR2_PACKAGE_PCRE_32
bool "32-bit pcre"
help
This option builds the 32-bits pcre library, i.e 'libpcre32'
config BR2_PACKAGE_PCRE_UTF
bool "UTF-8/16/32 support in pcre"
help
This option builds the pcre library with UTF-8/16/32 support
config BR2_PACKAGE_PCRE_UCP
bool "Unicode properties support in pcre"
select BR2_PACKAGE_PCRE_UTF
help
This option builds the pcre library with Unicode properties
support (implies UTF-8/16/32 support)'
endif

View File

@@ -0,0 +1,2 @@
# Locally calculated after checking pgp signature
sha256 b9e02d36e23024d6c02a2e5b25204b3a4fa6ade43e0a5f869f254f49535079df pcre-8.38.tar.bz2

View File

@@ -0,0 +1,27 @@
################################################################################
#
# pcre
#
################################################################################
PCRE_VERSION = 8.38
PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
PCRE_LICENSE = BSD-3c
PCRE_LICENSE_FILES = LICENCE
PCRE_INSTALL_STAGING = YES
PCRE_CONFIG_SCRIPTS = pcre-config
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
# pcre will use the host g++ if a cross version isn't available
PCRE_CONF_OPTS = --disable-cpp
endif
PCRE_CONF_OPTS += --enable-pcre8
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16)
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32)
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf)
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties)
$(eval $(autotools-package))
$(eval $(host-autotools-package))