File libpt2-gnu-make-4.3.patch of Package ptlib

---
 make/post.mak |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: ptlib-2.18.8/make/post.mak
===================================================================
--- ptlib-2.18.8.orig/make/post.mak
+++ ptlib-2.18.8/make/post.mak
@@ -458,27 +458,27 @@ 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 CODE_STATUS
     # For historical reasons there is ab it of confusion between CODE_STATUS and BUILD_TYPE
-    CODE_STATUS:=$(strip $(subst \#define,,$(subst BUILD_TYPE,,\
+    CODE_STATUS:=$(strip $(subst #define,,$(subst BUILD_TYPE,,\
                  $(shell grep "define *BUILD_TYPE" $(VERSION_FILE)))))
   endif
   ifndef BUILD_TYPE
     BUILD_TYPE:=$(subst AlphaCode,alpha,$(subst BetaCode,beta,$(subst ReleaseCode,.,$(CODE_STATUS))))
   endif
   ifndef PATCH_VERSION
-    PATCH_VERSION:=$(strip $(subst \#define,,$(subst $(PATCH_VERSION_DEFINE),,\
+    PATCH_VERSION:=$(strip $(subst #define,,$(subst $(PATCH_VERSION_DEFINE),,\
                    $(shell grep "define *$(PATCH_VERSION_DEFINE)" $(VERSION_FILE)))))
   endif
   ifndef OEM_VERSION
-    OEM_VERSION:=$(strip $(subst \#define,,$(subst $(OEM_VERSION_DEFINE),,\
+    OEM_VERSION:=$(strip $(subst #define,,$(subst $(OEM_VERSION_DEFINE),,\
                   $(shell grep "define *$(OEM_VERSION_DEFINE)" $(VERSION_FILE)))))
   endif
 
openSUSE Build Service is sponsored by