X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 08F4CDC022F for ; Sat, 13 Sep 2014 03:18:39 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id kx10so2565891pab.17 for ; Fri, 12 Sep 2014 20:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=utJVCQLqeCysvVQXzBgj8+apALF5RsY7KH6UxpIcmYc=; b=kdCmanrPlHMGdFNxnucx7Nz4RPKPcTyP84JKf3Z/UxOXGSYqobsj2NShfQjsk2fNmY 3a0rz+38nkT1r45vu62Q7ARdv/snREXij649QRE0p4GB3iY4G9URhZAArm6DBy5ClfE0 TeDS7JYuU4RwG2Pfw/ydGlMFy2zAt67LXB4sueEKQRSZVxYTExiKA3ADWQniha+eqFK/ ajeM1FbCAPVgz3/csulQvbhe2lbsZzWKfMCCDRZG1QK0GA3b2N3fBPg2iCoZaC4ykfKp CGbJju3gMSThd8R46s4GEY/OWtzSCDwc65grMYTe3BE4yyUNQnYGgnAe/MQ9Awk31Bu8 xlDQ== X-Received: by 10.66.191.200 with SMTP id ha8mr17398938pac.107.1410578318847; Fri, 12 Sep 2014 20:18:38 -0700 (PDT) Received: from localhost.localdomain ([50.0.224.156]) by mx.google.com with ESMTPSA id v11sm5373364pas.24.2014.09.12.20.18.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Sep 2014 20:18:38 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] unmaintained/mailx-support: build fix Date: Fri, 12 Sep 2014 20:18:32 -0700 Message-Id: <1410578312-13366-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.1.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: lockspool failed to build because it needed sys/file.h. --- unmaintained/mailx-support/APKBUILD | 20 +++++++++++++++++--- unmaintained/mailx-support/include-sys-file.patch | 10 ++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 unmaintained/mailx-support/include-sys-file.patch diff --git a/unmaintained/mailx-support/APKBUILD b/unmaintained/mailx-support/APKBUILD index 503f203..fdeb19b 100644 --- a/unmaintained/mailx-support/APKBUILD +++ b/unmaintained/mailx-support/APKBUILD @@ -5,25 +5,39 @@ pkgver=20060102 pkgrel=0 pkgdesc="Provides lockspool utility" url="http://www.openbsd.org" +arch="all" license="BSD" depends="" makedepends="" install= subpackages="$pkgname-doc" source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2 - mailx-support-ldflags.patch" + mailx-support-ldflags.patch + include-sys-file.patch" -build() { +prepare() { cd "$srcdir"/$pkgname-$pkgver for i in ../*.patch; do msg "Appling $i..." patch -p1 < $i || return 1 done +} +build() { make || return 1 +} + +package() { install -m755 -D "$srcdir"/"$pkgname-$pkgver"/lockspool "$pkgdir"/usr/libexec/lockspool install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockspool.1 "$pkgdir"-doc/usr/share/man/man1/lockspool.1 } md5sums="3f671fe4368a5b536e8384980a9a5c80 mailx-support-20060102.tar.bz2 -32a98aee973db8860f1f53a9297b8dd9 mailx-support-ldflags.patch" +32a98aee973db8860f1f53a9297b8dd9 mailx-support-ldflags.patch +47de91b42ab72a38ab0c775b32eebd7c include-sys-file.patch" +sha256sums="e962d12116a99ab72cc04304cc0f9b86dce2ab84c5028599e052c21930fc4d62 mailx-support-20060102.tar.bz2 +543147f90765b6466ec2669354a4b1816da193f029f5120a409ea0e1a16a70ee mailx-support-ldflags.patch +437ee9b39ef9b916258b8ee9b76cc332aa60bdf818f5f362d8eae85b8935057d include-sys-file.patch" +sha512sums="a4bd84253fcb5a97119e75290dfda01004115c3eb5898bb792c75f7b01c7e48fa1189b9ec4ed195c404196893af8b9390062f2f258da68889b464b53aa0ecbc2 mailx-support-20060102.tar.bz2 +7272c36ceb7ba971522cdeabf880bff22d6a02abdb1413e8cfdcc68fa1532cb1919442f031736ad16f6597bd9c0e362704a8d9fb58d15d47ef49686d69a06b5a mailx-support-ldflags.patch +2e417f7d59106073f490f7d6ae539552e7698fbb7a0ea1147a1061321fb5030bb59d356228c980f5e6e8e8e29cb1a75614703c9d6d9b6b61885ba5ed32b6c34e include-sys-file.patch" diff --git a/unmaintained/mailx-support/include-sys-file.patch b/unmaintained/mailx-support/include-sys-file.patch new file mode 100644 index 0000000..069e118 --- /dev/null +++ b/unmaintained/mailx-support/include-sys-file.patch @@ -0,0 +1,10 @@ +diff --git a/open_with_exlock.c b/open_with_exlock.c +index b844d20..89aa4f3 100644 +--- a/open_with_exlock.c ++++ b/open_with_exlock.c +@@ -1,4 +1,5 @@ + #include ++#include + + int open_with_exlock(const char *path, int flags, mode_t mode) + { -- 2.1.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---