aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/farstream-make.patch
blob: 6c1e9e7119e802ba37fc54bd9544d28ad0d1f4bc (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This patch comes from upstream:
https://gitlab.freedesktop.org/farstream/farstream/-/merge_requests/4

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.
---
 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 14f1ba37..2247a41c 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)
-- 
GitLab

ass='msg-avail'>...Miguel Ángel Arruga Vivas 2020-10-15ui: Only suggest modules that export the unbound variable identifier....Ludovic Courtès 2020-10-12guix build: Add '--with-c-toolchain'....Ludovic Courtès 2020-10-12packages: Add 'package-with-c-toolchain'....Ludovic Courtès 2020-10-12tests: Add missing copyright line....Ludovic Courtès 2020-10-12channels: Address test failure....Ludovic Courtès 2020-10-12tests: Mark the channel-instances->manifest as expected to fail....Maxim Cournoyer 2020-10-05environment: Turn "lo" up in network-less containers....Ludovic Courtès 2020-10-02environment: Provide /etc/hosts in containers without '--network'....Ludovic Courtès 2020-10-02guix package: Re-apply package transformation when upgrading....Ludovic Courtès 2020-10-02guix build: Record package transformations in manifest entries....Ludovic Courtès 2020-10-02tests: Adjust to recent changes to the 'emacs' package....Ludovic Courtès 2020-10-02gexp: 'local-file' warns when passed a non-literal relative file name....Ludovic Courtès 2020-10-02tests: opam: Test additional syntax....Julien Lepiller 2020-10-02tests: opam: Factorize tests....Julien Lepiller 2020-10-01linux-container: Reset jailed root permissions....Jelle Licht 2020-09-30scripts: system: Add support for image-type....Mathieu Othacehe 2020-09-29openpgp: Fix argument order of 'fxbit-set?'....Lars-Dominik Braun 2020-09-28tests: Simplify shell exit status negation;...Eric Bavier 2020-09-27packages: 'package-input-rewriting' has a #:deep? parameter....Ludovic Courtès 2020-09-27packages: 'package-mapping' correctly recurses into 'replacement'....Ludovic Courtès 2020-09-27packages: 'package-input-rewriting/spec' can rewrite implicit dependencies....Ludovic Courtès 2020-09-27packages: 'package-mapping' can recurse on implicit inputs....Ludovic Courtès 2020-09-27guix build: Add '--without-tests'....Ludovic Courtès 2020-09-21environment: '--link-profile' uses ~/.guix-profile for environment variables....Ludovic Courtès 2020-09-16repl: Look for script files in (getcwd)....Konrad Hinsen 2020-09-15authenticate: Encode strings as ISO-8859-1....Ludovic Courtès 2020-09-14tests: Remove one 'delete-paths' call in 'tests/store.scm'....Ludovic Courtès 2020-09-14daemon: Spawn 'guix authenticate' once for all....Ludovic Courtès 2020-09-11daemon: Simplify interface with 'guix authenticate'....Ludovic Courtès 2020-09-11store: Test 'import-paths' with unauthorized and unsigned nar bundles....Ludovic Courtès 2020-08-29build: Remove references to the 'nix-hash' program....Ludovic Courtès 2020-08-28store: 'with-store' returns as many values as its body....Ludovic Courtès 2020-08-25offload: Modify the build-machine record to accept multiple systems....Maxim Cournoyer 2020-08-24Use "guile-zlib" and "guile-lzlib" instead of (guix config)....Mathieu Othacehe 2020-08-24tests: Add a debug output to "fold-available-packages with/without cache"....Mathieu Othacehe 2020-08-23lint: formatting: Gracefully handle relative file names....Ludovic Courtès