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

Levente Polyak anthraxx at archlinux.org
Thu May 28 10:03:25 UTC 2015


    Date: Thursday, May 28, 2015 @ 12:03:25
  Author: anthraxx
Revision: 134265

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

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

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

Copied: hexer/repos/community-i686/PKGBUILD (from rev 134264, hexer/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-05-28 10:03:25 UTC (rev 134265)
@@ -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=3
+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-i686/fix-sig-sa_mask.patch (from rev 134264, hexer/trunk/fix-sig-sa_mask.patch)
===================================================================
--- community-i686/fix-sig-sa_mask.patch	                        (rev 0)
+++ community-i686/fix-sig-sa_mask.patch	2015-05-28 10:03:25 UTC (rev 134265)
@@ -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-x86_64/PKGBUILD (from rev 134264, hexer/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-05-28 10:03:25 UTC (rev 134265)
@@ -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=3
+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-x86_64/fix-sig-sa_mask.patch (from rev 134264, hexer/trunk/fix-sig-sa_mask.patch)
===================================================================
--- community-x86_64/fix-sig-sa_mask.patch	                        (rev 0)
+++ community-x86_64/fix-sig-sa_mask.patch	2015-05-28 10:03:25 UTC (rev 134265)
@@ -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