Hello community,
here is the log from the commit of package libpt2 for openSUSE:Factory checked in at 2020-02-29 21:23:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
and /work/SRC/openSUSE:Factory/.libpt2.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpt2"
Sat Feb 29 21:23:19 2020 rev:42 rq:779683 version:2.10.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes 2018-11-28 11:09:37.323214562 +0100
+++ /work/SRC/openSUSE:Factory/.libpt2.new.26092/libpt2.changes 2020-02-29 21:23:25.670387471 +0100
@@ -1,0 +2,8 @@
+Mon Feb 24 13:19:40 UTC 2020 - Dominique Leuenberger
+
+- Add libpt2-gnu-make-4.3.patch: Fix build with GNU Make 4.3
+ (number signs (#) appearing inside a macro reference or function
+ invocation no longer introduce comments and should not be escaped
+ with backslahes.
+
+-------------------------------------------------------------------
New:
----
libpt2-gnu-make-4.3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.eUDdo9/_old 2020-02-29 21:23:26.494389102 +0100
+++ /var/tmp/diff_new_pack.eUDdo9/_new 2020-02-29 21:23:26.494389102 +0100
@@ -49,6 +49,7 @@
# PATCH-FIX-UPSTREAM libpt2-openssl11.patch boo#1055477 mgorse@suse.com -- port to OpenSSL 1.1.
Patch8: libpt2-openssl11.patch
Patch9: reproducible.patch
+Patch10: libpt2-gnu-make-4.3.patch
BuildRequires: SDL-devel
BuildRequires: alsa-devel
BuildRequires: bison
@@ -187,6 +188,9 @@
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%if %{pkg_vcmp make >= 4.3}
+%patch10 -p1
+%endif
%build
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
++++++ libpt2-gnu-make-4.3.patch ++++++
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