[arch-commits] Commit in patch/repos (6 files)

Allan McRae allan at archlinux.org
Thu Sep 13 04:53:24 UTC 2012


    Date: Thursday, September 13, 2012 @ 00:53:23
  Author: allan
Revision: 166613

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  patch/repos/testing-i686/
  patch/repos/testing-i686/PKGBUILD
    (from rev 166612, patch/trunk/PKGBUILD)
  patch/repos/testing-i686/patch-2.6.1-get-arg.patch
    (from rev 166612, patch/trunk/patch-2.6.1-get-arg.patch)
  patch/repos/testing-x86_64/
  patch/repos/testing-x86_64/PKGBUILD
    (from rev 166612, patch/trunk/PKGBUILD)
  patch/repos/testing-x86_64/patch-2.6.1-get-arg.patch
    (from rev 166612, patch/trunk/patch-2.6.1-get-arg.patch)

------------------------------------------+
 testing-i686/PKGBUILD                    |   34 +++++++++++++++++++++++++++++
 testing-i686/patch-2.6.1-get-arg.patch   |   12 ++++++++++
 testing-x86_64/PKGBUILD                  |   34 +++++++++++++++++++++++++++++
 testing-x86_64/patch-2.6.1-get-arg.patch |   12 ++++++++++
 4 files changed, 92 insertions(+)

Copied: patch/repos/testing-i686/PKGBUILD (from rev 166612, patch/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-09-13 04:53:23 UTC (rev 166613)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=patch
+pkgver=2.7
+pkgrel=1
+pkgdesc="A utility to apply patch files to original sources"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/patch/patch.html"
+license=('GPL')
+groups=('base-devel')
+depends=('glibc')
+makedepends=('ed')
+optdepends=('ed: for patch -e functionality')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('d443f9d9a7d1bf1715831883917699d9'
+         '874fb55b72bc5c3c44794645b04e69a9')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=$pkgdir install
+}

Copied: patch/repos/testing-i686/patch-2.6.1-get-arg.patch (from rev 166612, patch/trunk/patch-2.6.1-get-arg.patch)
===================================================================
--- testing-i686/patch-2.6.1-get-arg.patch	                        (rev 0)
+++ testing-i686/patch-2.6.1-get-arg.patch	2012-09-13 04:53:23 UTC (rev 166613)
@@ -0,0 +1,12 @@
+diff -up patch-2.6.1/src/patch.c.get-arg patch-2.6.1/src/patch.c
+--- patch-2.6.1/src/patch.c.get-arg	2010-07-27 18:05:26.217150510 +0100
++++ patch-2.6.1/src/patch.c	2010-07-27 18:05:47.464150892 +0100
+@@ -558,7 +558,7 @@ static struct option const longopts[] =
+   {"remove-empty-files", no_argument, NULL, 'E'},
+   {"force", no_argument, NULL, 'f'},
+   {"fuzz", required_argument, NULL, 'F'},
+-  {"get", no_argument, NULL, 'g'},
++  {"get", required_argument, NULL, 'g'},
+   {"input", required_argument, NULL, 'i'},
+   {"ignore-whitespace", no_argument, NULL, 'l'},
+ #ifdef ENABLE_MERGE

Copied: patch/repos/testing-x86_64/PKGBUILD (from rev 166612, patch/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-09-13 04:53:23 UTC (rev 166613)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=patch
+pkgver=2.7
+pkgrel=1
+pkgdesc="A utility to apply patch files to original sources"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/patch/patch.html"
+license=('GPL')
+groups=('base-devel')
+depends=('glibc')
+makedepends=('ed')
+optdepends=('ed: for patch -e functionality')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('d443f9d9a7d1bf1715831883917699d9'
+         '874fb55b72bc5c3c44794645b04e69a9')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=$pkgdir install
+}

Copied: patch/repos/testing-x86_64/patch-2.6.1-get-arg.patch (from rev 166612, patch/trunk/patch-2.6.1-get-arg.patch)
===================================================================
--- testing-x86_64/patch-2.6.1-get-arg.patch	                        (rev 0)
+++ testing-x86_64/patch-2.6.1-get-arg.patch	2012-09-13 04:53:23 UTC (rev 166613)
@@ -0,0 +1,12 @@
+diff -up patch-2.6.1/src/patch.c.get-arg patch-2.6.1/src/patch.c
+--- patch-2.6.1/src/patch.c.get-arg	2010-07-27 18:05:26.217150510 +0100
++++ patch-2.6.1/src/patch.c	2010-07-27 18:05:47.464150892 +0100
+@@ -558,7 +558,7 @@ static struct option const longopts[] =
+   {"remove-empty-files", no_argument, NULL, 'E'},
+   {"force", no_argument, NULL, 'f'},
+   {"fuzz", required_argument, NULL, 'F'},
+-  {"get", no_argument, NULL, 'g'},
++  {"get", required_argument, NULL, 'g'},
+   {"input", required_argument, NULL, 'i'},
+   {"ignore-whitespace", no_argument, NULL, 'l'},
+ #ifdef ENABLE_MERGE




More information about the arch-commits mailing list