summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2016-08-13 23:49:07 -0300
committerIsmael Luceno2016-08-13 23:52:22 -0300
commitc6b9155473701ad6a69eeb4075aa228c10759065 (patch)
tree5d63dfd0b854bde3dfd2c4be8f0aee4b4bfdf1d2
parent80ffc9dddcaf1ccff400584556c962579ff131cd (diff)
ptlib: Use apply_patch_dir
-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