X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by lists.alpinelinux.org (Postfix) with ESMTP id D2BA15C516D for ; Fri, 17 Mar 2017 11:10:20 +0000 (GMT) Received: by mail-qt0-f193.google.com with SMTP id n37so8981394qtb.3 for ; Fri, 17 Mar 2017 04:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flatglobe.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=/7QMObBGU81aIwhUxvhS98/QDHRtcCYuCKAtjYbwSos=; b=FB8vlwDW6xmPft/cN5woQpW13XMtEbSHTppt5wmqwEQXNgMyd+rJ2aORy7C7NAusjL Le5Dv3HyZnHu05hF7rHkOCc89Ht6aPeRgOhVN2KAp38rsSb4tz80Ygz/wBm6F/H1Uj/k klT6+FGrtLZBsludIbTfs2hXkvAY8gG5q2Zt0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=/7QMObBGU81aIwhUxvhS98/QDHRtcCYuCKAtjYbwSos=; b=pXb7b6AbSmR0H3LYC6dzv2VLoUBS5kl4fRnuW+YV95U8efRGl6QRce3TEc8lZWFejz uGEhbLJflowLZhD50aI2uQcJE5mb9d4/977LB42mx+gM66KU+2hV7CjrAodjOpSZBL5P 1/PnduZythLz+7xk569c6d9YNlMrrR7BOLOCdnx5LIJuBcwWF/8j3J+NOKbydgCmrArg 4/MKxMkLMaHQtt0+cmS2Ub4ifNhBhbX/dr3xOo0oUmmOJlVajsmNOsJpoq12bXiFExlR BxeU5aPmNTYo8O7j4yYBxMNvhp1FB1i33aWhlfOZAgebG7WvmzK2Dejvp94b/J4Ktk2R q67Q== X-Gm-Message-State: AFeK/H0yCJbXEUUObb4dfsMXv5VfSM8FUy+tuVeozDXJVp5ICBzWNuJEoCzxkXD2n3E7tg== X-Received: by 10.200.35.250 with SMTP id r55mr12732457qtr.280.1489749020136; Fri, 17 Mar 2017 04:10:20 -0700 (PDT) Received: from localhost.localdomain (cpe-204-210-151-44.hvc.res.rr.com. [204.210.151.44]) by smtp.gmail.com with ESMTPSA id t124sm5654769qkf.27.2017.03.17.04.10.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Mar 2017 04:10:19 -0700 (PDT) From: "Tuan M. Hoang" To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 8/13] main/pcmciautils: fix bug Date: Fri, 17 Mar 2017 07:10:09 -0400 Message-Id: <20170317111009.23880-1-tmhoang@flatglobe.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170317110855.23575-1-tmhoang@flatglobe.org> References: <20170317110855.23575-1-tmhoang@flatglobe.org> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Source : https://github.com/openwrt/packages/blob/master/utils/pcmciautils/patches/ --- main/pcmciautils/APKBUILD | 9 ++++----- main/pcmciautils/disable_yywrap.patch | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 main/pcmciautils/disable_yywrap.patch diff --git a/main/pcmciautils/APKBUILD b/main/pcmciautils/APKBUILD index a459d000cf..8c8be38f32 100644 --- a/main/pcmciautils/APKBUILD +++ b/main/pcmciautils/APKBUILD @@ -10,7 +10,9 @@ subpackages="$pkgname-doc" depends= makedepends="sysfsutils-dev bison flex" source="https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz - unsigned.patch" + unsigned.patch + disable_yywrap.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -33,9 +35,6 @@ package() { make DESTDIR="$pkgdir"/ install ln -sf pccardctl "$pkgdir"/sbin/lspcmcia } -md5sums="2e9469c44dcb790d2b497723c2fa0566 pcmciautils-018.tar.xz -ba7aa35c8082cf2ca67785cd8f7f9524 unsigned.patch" -sha256sums="a5c09abeba95f750e8a8b01704114d733f0f0345f34e5c327bbb6a1bfd09c4b8 pcmciautils-018.tar.xz -6f08ef800e0cf1d1b73cd51dfe2f60fb8d1b410150b2f52e32b1439af9fc5f6d unsigned.patch" sha512sums="c7c1ecde41a60d3d1fcb12e3be309f8287d0242ad93e17b1286bf2818a0de1f415c89f63fec0571264e5ff87e99ba7ded905e6b671c2f6795ea910a0045261f5 pcmciautils-018.tar.xz +b96f9bc3176f1eeb936a31f8fab5a495ce14218e92fbae2350aa970328b53bd6732ade90721f1ca55d80a94436189773f83a300aa8af7c43ecc5ed62c95f3557 disable_yywrap.patch 18e5d3bfe3316c49e4a899b9181177c1c275274d5788a4af7299d0c6b8cbdfca8f3465f242356d35c6e96103cb620173e6f93e7e66787d5d2b194c5a4264bf91 unsigned.patch" diff --git a/main/pcmciautils/disable_yywrap.patch b/main/pcmciautils/disable_yywrap.patch new file mode 100644 index 0000000000..e30abb0d10 --- /dev/null +++ b/main/pcmciautils/disable_yywrap.patch @@ -0,0 +1,27 @@ +--- pcmciautils-018/src/lex_config.l ++++ pcmciautils-018/src/lex_config.l +@@ -1,8 +1,8 @@ + /* Special state for handling include files */ + %x src +-%option noinput nounput ++%option noinput nounput noyywrap + + %{ + /* + * Startup tool for non statically mapped PCMCIA sockets + * +@@ -75,14 +75,10 @@ module /* skip */ ; + + . return yytext[0]; + + %% + +-#ifndef yywrap +-int yywrap() { return 1; } +-#endif +- + /*====================================================================== + + Stuff to parse basic data types + + ======================================================================*/ -- 2.11.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---