summaryrefslogtreecommitdiffstats
path: root/source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-07-21 19:59:48 +0000
committer Eric Hameleers <alien@slackware.com>2020-07-22 08:59:52 +0200
commit7d9c2791415eda030376b7243b0ab9ae94a1c54e (patch)
tree16bf1fd8da03a5dc06dd389498e61d0ca1a6a50d /source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
parent98e52ba8a56e076e38a00ec721f601c438c6a160 (diff)
downloadcurrent-20200721195948.tar.gz
current-20200721195948.tar.xz
Tue Jul 21 19:59:48 UTC 202020200721195948
a/kernel-firmware-20200721_2b823fc-noarch-1.txz: Upgraded. d/python3-3.8.5-x86_64-1.txz: Upgraded. d/re2c-2.0-x86_64-1.txz: Upgraded. l/farstream-0.2.9-x86_64-1.txz: Added. Needed by pidgin-2.14.1. l/libnice-0.1.17-x86_64-1.txz: Added. Needed by farstream-0.2.9. n/iptraf-ng-1.2.1-x86_64-1.txz: Upgraded. n/proftpd-1.3.7a-x86_64-1.txz: Upgraded. xap/pidgin-2.14.1-x86_64-1.txz: Upgraded. This update adds support for voice and video via Farstream.
Diffstat (limited to 'source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch')
-rw-r--r--source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch b/source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
new file mode 100644
index 000000000..7b1ec9a9e
--- /dev/null
+++ b/source/l/farstream/farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
@@ -0,0 +1,38 @@
+From 54987d445ea714b467d901b7daf8c09ed0644189 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@freedesktop.org>
+Date: Thu, 12 Mar 2020 14:07:23 +0100
+Subject: [PATCH] build: Adapt to backwards incompatible change in GNU Make 4.3
+
+GNU Make 4.3 has a backwards incompatible change affecting the use of
+number signs or hashes (ie., #) inside function invocations. See:
+https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html
+
+In this case, it would expand the '\#' in the '\n\#include \"$(h)\"'
+argument to the foreach call to '\#', not '#'. This would lead to
+spurious backslashes in front of the '#include' directives in the
+generated fs-enumtypes.c file.
+
+Spotted by Ernestas Kulik.
+
+https://gitlab.freedesktop.org/farstream/farstream/-/merge_requests/4
+---
+ common-modified/gst-glib-gen.mak | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/common-modified/gst-glib-gen.mak b/common-modified/gst-glib-gen.mak
+index 14f1ba37c788..2247a41c49ea 100644
+--- a/common-modified/gst-glib-gen.mak
++++ b/common-modified/gst-glib-gen.mak
+@@ -6,7 +6,8 @@
+ #glib_gen_prefix=gst_color_balance
+ #glib_gen_basename=colorbalance
+
+-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
++hash:=\#
++enum_headers=$(foreach h,$(glib_enum_headers),\n$(hash)include \"$(h)\")
+
+ # these are all the rules generating the relevant files
+ $(glib_gen_basename)-enumtypes.h: $(glib_enum_headers)
+--
+2.24.1
+