head 1.2; access; symbols pkgsrc-2023Q2:1.1.0.18 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.16 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.14 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.12 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.10 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.8 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.6 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.4 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.2 pkgsrc-2021Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2023.06.26.12.24.08; author wiz; state dead; branches; next 1.1; commitid TNYa6d1lwUpIdsuE; 1.1 date 2021.05.06.08.16.00; author wiz; state Exp; branches; next ; commitid UiFFdpqTgCheX3SC; desc @@ 1.2 log @*: remove gstreamer 0.10, its support packages, and its remaining users @ text @$NetBSD: patch-common_gst-glib-gen.mak,v 1.1 2021/05/06 08:16:00 wiz Exp $ 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/-/commit/54987d445ea714b467d901b7daf8c09ed0644189 --- common/gst-glib-gen.mak.orig 2011-12-11 19:03:48.000000000 +0000 +++ common/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)-marshal.h: $(glib_gen_basename)-marshal.list @ 1.1 log @gst-plugins0.10-base: fix build with gmake 4.3 Based on patches for chat/farstream. @ text @d1 1 a1 1 $NetBSD$ @