From patchwork Fri Oct 18 14:12:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1179422 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="I622GSEm"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46vp060xkGz9sNx for ; Sat, 19 Oct 2019 01:12:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 05F3F24E83; Fri, 18 Oct 2019 14:12:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7izHmLiFrq9U; Fri, 18 Oct 2019 14:12:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 77A2D24C4F; Fri, 18 Oct 2019 14:12:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C55071BF2C5 for ; Fri, 18 Oct 2019 14:12:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C28ED8878C for ; Fri, 18 Oct 2019 14:12:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kkh8WB-cytMo for ; Fri, 18 Oct 2019 14:12:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6E021886FB for ; Fri, 18 Oct 2019 14:12:44 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id t20so9232037qtr.10 for ; Fri, 18 Oct 2019 07:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=c0ngX+YjMbENZtAm2BnHXOTfnrKRDfGAjfKpQu7V14Q=; b=I622GSEmU9YygGzgrvpRuM40MyxhTwdl09K8A3fPcYj9B7wOaznE5V437MbJxcj9GC 67eG8S+4YfavQi0FTILEbyHkq3gO0o+YaRrlL/OcSH0iDRg2vX4HWY5qtXz6RHszHBn3 oVJo5xR1I/7xX7IyYrehUbhqWpfMVxdDlhjEkeLkUjEnCLjT9QMtlKHrBr0+n3id48MS edPpIBOC44AybFZBBh329iu8J2hdtHi6rgZtM0LOQ5UJDsqkqgfxBpRGWh96b8ynMIid u3Sjg14LvuI5uI6fTLnptJkizV5aFA4Yv08G4bWI6dt7G1A24D33s4eDZVOBS4GwcrxQ vBRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=c0ngX+YjMbENZtAm2BnHXOTfnrKRDfGAjfKpQu7V14Q=; b=P2+MsEM+o0JqVyJedXrWQ0wuUXN61VlGoG5tIfziA4COnAT330gFi11dtXD5yjCkaM yMAVT41JHfk7MQn+XjXIcoD00SO3WrBPnTvybYcSmDnZcfm+nrZqbn08JkBV4EVgmtDS 2ZgEa24dunQ9vDC9I59Q2JNaK2zRMfLSZBslF8g2aDghVlKu3rVxXiA7BtngHtdBzZ5k f3rdxwDfxhyyt/hQ0Mo2mHS0cvWnAlX6AVLvLdpom4Yb1pz88dQMraZ/nrwv8mWbsR7j rmvT3HgBhTUSeLxIPX0ORe46bub/1o1R9E82EeAZ7pe3tYxTDcPj4d/cHFxAz6zGeQmk Hbqw== X-Gm-Message-State: APjAAAX1V+h0IoocT52szYbEKcaRbWUDzNT2076djSQEpOW0wiMc57C8 0nzZn++g13kLBIMCPLOxTPJ2TvXzjqY= X-Google-Smtp-Source: APXvYqymNRVhfvTeuffuNI+sTeDbn267mZVIXsxzJUhb4+TAIBskH3TiM6F/b1Bp8eW8aMC6NIEoUA== X-Received: by 2002:ac8:3512:: with SMTP id y18mr10272117qtb.106.1571407963183; Fri, 18 Oct 2019 07:12:43 -0700 (PDT) Received: from casantos.remote.csb ([177.18.44.193]) by smtp.gmail.com with ESMTPSA id t64sm3329823qkc.70.2019.10.18.07.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 07:12:42 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Fri, 18 Oct 2019 11:12:29 -0300 Message-Id: <20191018141229.19951-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 Subject: [Buildroot] [PATCH 2019.08.x] package/cups-filters: fix ln -r workaround for older patch versions X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Olivier Schonken MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos 0001-install-support-old-ln-versions-without-the-r-option.patch adds a ln-srf script for older distributions to emulate 'ln -r', but GNU patch < 2.7 does not handle the git patch permission extensions - So ensure it is executable. https://savannah.gnu.org/forum/forum.php?forum_id=7361 Fixes: http://autobuild.buildroot.net/results/5c88115b92abc1360a979cd46e00332f61c41cb4 Signed-off-by: Peter Korsgaard Signed-off-by: Carlos Santos --- package/cups-filters/cups-filters.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/cups-filters/cups-filters.mk b/package/cups-filters/cups-filters.mk index fa7627ee96..47e1b11bfd 100644 --- a/package/cups-filters/cups-filters.mk +++ b/package/cups-filters/cups-filters.mk @@ -22,6 +22,16 @@ CUPS_FILTERS_CONF_OPTS = --disable-imagefilters \ --with-pdftops=pdftops \ --with-jpeg +# 0001-install-support-old-ln-versions-without-the-r-option.patch adds +# a ln-srf script for older distributions, but GNU patch < 2.7 does +# not handle the git patch permission extensions - So ensure it is +# executable +define CUPS_FILTERS_MAKE_LN_SRF_EXECUTABLE + chmod +x $(@D)/ln-srf +endef + +CUPS_FILTERS_POST_PATCH_HOOKS += CUPS_FILTERS_MAKE_LN_SRF_EXECUTABLE + # After 0002-filter-texttotext.c-link-with-libiconv-if-needed.patch autoreconf # needs config.rpath and ABOUT-NLS, which are not in v1.25.4 yet. Fake them. define CUPS_FILTERS_ADD_MISSING_FILE