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

Allan McRae allan at archlinux.org
Fri Jan 6 03:39:30 UTC 2017


    Date: Friday, January 6, 2017 @ 03:39:29
  Author: allan
Revision: 285319

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

Added:
  flex/repos/testing-i686/
  flex/repos/testing-i686/PKGBUILD
    (from rev 285318, flex/trunk/PKGBUILD)
  flex/repos/testing-i686/flex-2.6.0-comment-style.patch
    (from rev 285318, flex/trunk/flex-2.6.0-comment-style.patch)
  flex/repos/testing-x86_64/
  flex/repos/testing-x86_64/PKGBUILD
    (from rev 285318, flex/trunk/PKGBUILD)
  flex/repos/testing-x86_64/flex-2.6.0-comment-style.patch
    (from rev 285318, flex/trunk/flex-2.6.0-comment-style.patch)

-----------------------------------------------+
 testing-i686/PKGBUILD                         |   42 ++++++++++++++++++++++++
 testing-i686/flex-2.6.0-comment-style.patch   |   22 ++++++++++++
 testing-x86_64/PKGBUILD                       |   42 ++++++++++++++++++++++++
 testing-x86_64/flex-2.6.0-comment-style.patch |   22 ++++++++++++
 4 files changed, 128 insertions(+)

Copied: flex/repos/testing-i686/PKGBUILD (from rev 285318, flex/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-06 03:39:29 UTC (rev 285319)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=flex
+pkgver=2.6.3
+pkgrel=1
+pkgdesc="A tool for generating text-scanning programs"
+arch=('i686' 'x86_64')
+url="https://github.com/westes/flex"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'm4' 'sh')
+# the released man pages are screwy...
+makedepends=('help2man')
+source=(https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.gz)
+md5sums=('a5f65570cd9107ec8a8ec88f17b31bb1')
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  
+  # cxx_restart fails - https://github.com/westes/flex/issues/98
+  make -k check || true
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+  ln -s flex ${pkgdir}/usr/bin/lex
+
+  install -Dm644 COPYING \
+  	$pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+

Copied: flex/repos/testing-i686/flex-2.6.0-comment-style.patch (from rev 285318, flex/trunk/flex-2.6.0-comment-style.patch)
===================================================================
--- testing-i686/flex-2.6.0-comment-style.patch	                        (rev 0)
+++ testing-i686/flex-2.6.0-comment-style.patch	2017-01-06 03:39:29 UTC (rev 285319)
@@ -0,0 +1,22 @@
+From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001
+From: Will Estes <westes575 at gmail.com>
+Date: Fri, 11 Dec 2015 09:45:14 -0500
+Subject: [PATCH] Commented in C style in skeleton; fixed sf#195
+
+---
+ src/flex.skl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/flex.skl b/src/flex.skl
+index b63c8c8..40287b6 100644
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
+ 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ 		 * immediate realloc on the next call.
+          */
+-		num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
++      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+ 		YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ 								(num_to_alloc * sizeof(struct yy_buffer_state*)
+ 								M4_YY_CALL_LAST_ARG);

Copied: flex/repos/testing-x86_64/PKGBUILD (from rev 285318, flex/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-06 03:39:29 UTC (rev 285319)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=flex
+pkgver=2.6.3
+pkgrel=1
+pkgdesc="A tool for generating text-scanning programs"
+arch=('i686' 'x86_64')
+url="https://github.com/westes/flex"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'm4' 'sh')
+# the released man pages are screwy...
+makedepends=('help2man')
+source=(https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.gz)
+md5sums=('a5f65570cd9107ec8a8ec88f17b31bb1')
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  
+  # cxx_restart fails - https://github.com/westes/flex/issues/98
+  make -k check || true
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+  ln -s flex ${pkgdir}/usr/bin/lex
+
+  install -Dm644 COPYING \
+  	$pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+

Copied: flex/repos/testing-x86_64/flex-2.6.0-comment-style.patch (from rev 285318, flex/trunk/flex-2.6.0-comment-style.patch)
===================================================================
--- testing-x86_64/flex-2.6.0-comment-style.patch	                        (rev 0)
+++ testing-x86_64/flex-2.6.0-comment-style.patch	2017-01-06 03:39:29 UTC (rev 285319)
@@ -0,0 +1,22 @@
+From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001
+From: Will Estes <westes575 at gmail.com>
+Date: Fri, 11 Dec 2015 09:45:14 -0500
+Subject: [PATCH] Commented in C style in skeleton; fixed sf#195
+
+---
+ src/flex.skl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/flex.skl b/src/flex.skl
+index b63c8c8..40287b6 100644
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
+ 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ 		 * immediate realloc on the next call.
+          */
+-		num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
++      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+ 		YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ 								(num_to_alloc * sizeof(struct yy_buffer_state*)
+ 								M4_YY_CALL_LAST_ARG);



More information about the arch-commits mailing list