summaryrefslogtreecommitdiffstats
path: root/libraries/ptlib/make-4.3.patch
diff options
context:
space:
mode:
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 0000000000..eb115f6f04
--- /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
+