summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chat-libs/ptlib/HISTORY3
-rwxr-xr-xchat-libs/ptlib/PRE_BUILD5
2 files changed, 4 insertions, 4 deletions
diff --git a/chat-libs/ptlib/HISTORY b/chat-libs/ptlib/HISTORY
index f8ee17df62..31e695099f 100644
--- a/chat-libs/ptlib/HISTORY
+++ b/chat-libs/ptlib/HISTORY
@@ -1,3 +1,6 @@
+2016-08-14 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Use apply_patch_dir
+
2016-08-11 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 2.16.2
diff --git a/chat-libs/ptlib/PRE_BUILD b/chat-libs/ptlib/PRE_BUILD
index f9d7f22c09..32c0555d44 100755
--- a/chat-libs/ptlib/PRE_BUILD
+++ b/chat-libs/ptlib/PRE_BUILD
@@ -1,6 +1,3 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-if [ -d "$SPELL_DIRECTORY/patches" ]; then
- find "$SPELL_DIRECTORY/patches" \( -name \*.patch -o -name \*.diff \) \
- -exec patch -fp1 -i '{}' \;
-fi
+apply_patch_dir patches