aboutsummaryrefslogtreecommitdiff
path: root/libraries/ptlib/make-4.3.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-04 19:45:59 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:54:36 -0500
commit447232ca71db651ae6ca8adb0333f33868f5af07 (patch)
treecdf66d4936662f39228fbfa2b632d76d3d5a8fbf /libraries/ptlib/make-4.3.patch
parentdbcc2bb62a20330b572bb10621be06634ca41ed2 (diff)
libraries/ptlib: Patched for the newer gcc, openssl and make.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/ptlib/make-4.3.patch')
-rw-r--r--libraries/ptlib/make-4.3.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/libraries/ptlib/make-4.3.patch b/libraries/ptlib/make-4.3.patch
new file mode 100644
index 0000000000000..eb115f6f041a3
--- /dev/null
+++ b/libraries/ptlib/make-4.3.patch
@@ -0,0 +1,29 @@
+Index: ptlib-2.10.11/make/common.mak
+===================================================================
+--- ptlib-2.10.11.orig/make/common.mak
++++ ptlib-2.10.11/make/common.mak
+@@ -370,20 +370,20 @@ ifdef VERSION_FILE
+ # If not specified, find the various version components in the VERSION_FILE
+
+ ifndef MAJOR_VERSION
+- MAJOR_VERSION:=$(strip $(subst \#define,, $(subst $(MAJOR_VERSION_DEFINE),,\
++ MAJOR_VERSION:=$(strip $(subst #define,, $(subst $(MAJOR_VERSION_DEFINE),,\
+ $(shell grep "define *$(MAJOR_VERSION_DEFINE) *" $(VERSION_FILE)))))
+ endif
+ ifndef MINOR_VERSION
+- MINOR_VERSION:=$(strip $(subst \#define,, $(subst $(MINOR_VERSION_DEFINE),,\
++ MINOR_VERSION:=$(strip $(subst #define,, $(subst $(MINOR_VERSION_DEFINE),,\
+ $(shell grep "define *$(MINOR_VERSION_DEFINE)" $(VERSION_FILE)))))
+ endif
+ ifndef BUILD_TYPE
+- BUILD_TYPE:=$(strip $(subst \#define,,$(subst BUILD_TYPE,,\
++ BUILD_TYPE:=$(strip $(subst #define,,$(subst BUILD_TYPE,,\
+ $(subst AlphaCode,alpha,$(subst BetaCode,beta,$(subst ReleaseCode,.,\
+ $(shell grep "define *BUILD_TYPE" $(VERSION_FILE))))))))
+ endif
+ ifndef BUILD_NUMBER
+- BUILD_NUMBER:=$(strip $(subst \#define,,$(subst $(BUILD_NUMBER_DEFINE),,\
++ BUILD_NUMBER:=$(strip $(subst #define,,$(subst $(BUILD_NUMBER_DEFINE),,\
+ $(shell grep "define *$(BUILD_NUMBER_DEFINE)" $(VERSION_FILE)))))
+ endif
+