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

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 19:38:03 UTC 2015


    Date: Sunday, September 6, 2015 @ 21:38:03
  Author: foutrelis
Revision: 139346

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hexer/repos/community-staging-i686/
  hexer/repos/community-staging-i686/PKGBUILD
    (from rev 139345, hexer/trunk/PKGBUILD)
  hexer/repos/community-staging-i686/fix-sig-sa_mask.patch
    (from rev 139345, hexer/trunk/fix-sig-sa_mask.patch)
  hexer/repos/community-staging-x86_64/
  hexer/repos/community-staging-x86_64/PKGBUILD
    (from rev 139345, hexer/trunk/PKGBUILD)
  hexer/repos/community-staging-x86_64/fix-sig-sa_mask.patch
    (from rev 139345, hexer/trunk/fix-sig-sa_mask.patch)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   37 +++++++++++++++++++++++
 community-staging-i686/fix-sig-sa_mask.patch   |   11 ++++++
 community-staging-x86_64/PKGBUILD              |   37 +++++++++++++++++++++++
 community-staging-x86_64/fix-sig-sa_mask.patch |   11 ++++++
 4 files changed, 96 insertions(+)

Copied: hexer/repos/community-staging-i686/PKGBUILD (from rev 139345, hexer/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 19:38:03 UTC (rev 139346)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Contributor: Magnus Therning <magnus at therning.org>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+
+pkgname=hexer
+pkgver=0.1.8
+pkgrel=4
+pkgdesc="A multi buffer editor for binary files with vi-like interface"
+arch=('i686' 'x86_64')
+url="http://devel.ringlet.net/"
+license=('custom')
+depends=('ncurses')
+source=(${pkgname}-${pkgver}.tar.gz::http://devel.ringlet.net/editors/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        fix-sig-sa_mask.patch)
+sha512sums=('c831b00f5ea201e38fc5bede991320b07f3e7c70043d53aed107f8bff8f102d2ecea3fb7f0d57dd7a079d8a5bbb0a84e01eca8a91723fdd76be2e066a8075df4'
+            '0ccaf8353fbe3aa5ac2c4c7ed1ebd9a5c4820533f383b6af29ec1b86a2d9e430b4996121600af8d1f0d068ac4f58cb971c6b881cdede710d560ba451554f044e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cp config.{linux,h}
+  sed -i "s|/usr/local|/usr|" Makefile
+  sed -i "s|/man/|/share/man/|" Makefile
+  patch -p0 < "${srcdir}/fix-sig-sa_mask.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Copied: hexer/repos/community-staging-i686/fix-sig-sa_mask.patch (from rev 139345, hexer/trunk/fix-sig-sa_mask.patch)
===================================================================
--- community-staging-i686/fix-sig-sa_mask.patch	                        (rev 0)
+++ community-staging-i686/fix-sig-sa_mask.patch	2015-09-06 19:38:03 UTC (rev 139346)
@@ -0,0 +1,11 @@
+--- tio.c	2015-04-02 17:32:27.653607986 +0200
++++ tio.c	2015-04-02 17:35:27.386616788 +0200
+@@ -816,7 +816,7 @@
+ #ifdef SA_INTERRUPT
+     static struct sigaction act;
+     act.sa_handler = sigwinch_handler;
+-    act.sa_mask = 0;
++    sigemptyset(&act.sa_mask);
+     act.sa_flags = SA_INTERRUPT;
+     sigaction(SIGWINCH, &act, 0);
+ #else

Copied: hexer/repos/community-staging-x86_64/PKGBUILD (from rev 139345, hexer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 19:38:03 UTC (rev 139346)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Contributor: Magnus Therning <magnus at therning.org>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+
+pkgname=hexer
+pkgver=0.1.8
+pkgrel=4
+pkgdesc="A multi buffer editor for binary files with vi-like interface"
+arch=('i686' 'x86_64')
+url="http://devel.ringlet.net/"
+license=('custom')
+depends=('ncurses')
+source=(${pkgname}-${pkgver}.tar.gz::http://devel.ringlet.net/editors/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        fix-sig-sa_mask.patch)
+sha512sums=('c831b00f5ea201e38fc5bede991320b07f3e7c70043d53aed107f8bff8f102d2ecea3fb7f0d57dd7a079d8a5bbb0a84e01eca8a91723fdd76be2e066a8075df4'
+            '0ccaf8353fbe3aa5ac2c4c7ed1ebd9a5c4820533f383b6af29ec1b86a2d9e430b4996121600af8d1f0d068ac4f58cb971c6b881cdede710d560ba451554f044e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cp config.{linux,h}
+  sed -i "s|/usr/local|/usr|" Makefile
+  sed -i "s|/man/|/share/man/|" Makefile
+  patch -p0 < "${srcdir}/fix-sig-sa_mask.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Copied: hexer/repos/community-staging-x86_64/fix-sig-sa_mask.patch (from rev 139345, hexer/trunk/fix-sig-sa_mask.patch)
===================================================================
--- community-staging-x86_64/fix-sig-sa_mask.patch	                        (rev 0)
+++ community-staging-x86_64/fix-sig-sa_mask.patch	2015-09-06 19:38:03 UTC (rev 139346)
@@ -0,0 +1,11 @@
+--- tio.c	2015-04-02 17:32:27.653607986 +0200
++++ tio.c	2015-04-02 17:35:27.386616788 +0200
+@@ -816,7 +816,7 @@
+ #ifdef SA_INTERRUPT
+     static struct sigaction act;
+     act.sa_handler = sigwinch_handler;
+-    act.sa_mask = 0;
++    sigemptyset(&act.sa_mask);
+     act.sa_flags = SA_INTERRUPT;
+     sigaction(SIGWINCH, &act, 0);
+ #else



More information about the arch-commits mailing list