summaryrefslogtreecommitdiff
path: root/data/pcre
diff options
context:
space:
mode:
Diffstat (limited to 'data/pcre')
-rw-r--r--data/pcre/_metadata/version2
-rw-r--r--data/pcre/clearcache.diff19
-rw-r--r--data/pcre/make.sh3
-rw-r--r--data/pcre/pcre-7.9.tar.bz2bin861580 -> 0 bytes
-rw-r--r--data/pcre/pcre-8.30.tar.bz2bin0 -> 1248556 bytes
5 files changed, 22 insertions, 2 deletions
diff --git a/data/pcre/_metadata/version b/data/pcre/_metadata/version
index fbf1779b2..b0aabe1d7 100644
--- a/data/pcre/_metadata/version
+++ b/data/pcre/_metadata/version
@@ -1 +1 @@
-7.9
+8.30
diff --git a/data/pcre/clearcache.diff b/data/pcre/clearcache.diff
new file mode 100644
index 000000000..c404dccf4
--- /dev/null
+++ b/data/pcre/clearcache.diff
@@ -0,0 +1,19 @@
+diff -ru pcre-8.30/sljit/sljitConfigInternal.h pcre-8.30+iPhone/sljit/sljitConfigInternal.h
+--- pcre-8.30/sljit/sljitConfigInternal.h 2012-01-15 11:28:29.000000000 +0000
++++ pcre-8.30+iPhone/sljit/sljitConfigInternal.h 2012-05-02 00:29:17.000000000 +0000
+@@ -207,9 +207,15 @@
+
+ #else
+
++#ifdef __APPLE__
++/* Apple does not believe in __clear_cache */
++#define SLJIT_CACHE_FLUSH(from, to) \
++ sys_icache_invalidate((char*)(from), (char*)(to) - (char*)(from))
++#else
+ /* Calls __ARM_NR_cacheflush on ARM-Linux. */
+ #define SLJIT_CACHE_FLUSH(from, to) \
+ __clear_cache((char*)(from), (char*)(to))
++#endif
+
+ #endif
+
diff --git a/data/pcre/make.sh b/data/pcre/make.sh
index 452a4bfd5..fdd2a5cf2 100644
--- a/data/pcre/make.sh
+++ b/data/pcre/make.sh
@@ -1,4 +1,5 @@
pkg:setup
-pkg:configure
+pkg:configure --enable-jit --enable-utf
make
pkg:install
+pkg: ln -s libpcre.1.dylib /usr/lib/libpcre.0.dylib
diff --git a/data/pcre/pcre-7.9.tar.bz2 b/data/pcre/pcre-7.9.tar.bz2
deleted file mode 100644
index 9dd36842d..000000000
--- a/data/pcre/pcre-7.9.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/data/pcre/pcre-8.30.tar.bz2 b/data/pcre/pcre-8.30.tar.bz2
new file mode 100644
index 000000000..3887a1b9a
--- /dev/null
+++ b/data/pcre/pcre-8.30.tar.bz2
Binary files differ