[arch-commits] Commit in vbindiff/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Mon May 25 16:24:50 UTC 2020


    Date: Monday, May 25, 2020 @ 16:24:50
  Author: felixonmars
Revision: 634667

archrelease: copy trunk to community-x86_64

Added:
  vbindiff/repos/community-x86_64/0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch
    (from rev 634666, vbindiff/trunk/0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch)
  vbindiff/repos/community-x86_64/PKGBUILD
    (from rev 634666, vbindiff/trunk/PKGBUILD)
Deleted:
  vbindiff/repos/community-x86_64/0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch
  vbindiff/repos/community-x86_64/PKGBUILD

-----------------------------------------------------------------+
 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch |   52 +++++-----
 PKGBUILD                                                        |   49 ++++-----
 2 files changed, 50 insertions(+), 51 deletions(-)

Deleted: 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch
===================================================================
--- 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch	2020-05-25 16:24:28 UTC (rev 634666)
+++ 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch	2020-05-25 16:24:50 UTC (rev 634667)
@@ -1,26 +0,0 @@
-From 879a63ac5f0ffdbe7350ccc7438692a6669d26f2 Mon Sep 17 00:00:00 2001
-From: Peter Ross <pross at xvid.org>
-Date: Sat, 22 Feb 2014 22:50:54 +1100
-Subject: [PATCH] vbindiff: prevent segfault when comparing files of different
- length
-
----
- vbindiff.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/vbindiff.cpp b/vbindiff.cpp
-index 116a037..a032bc6 100644
---- a/vbindiff.cpp
-+++ b/vbindiff.cpp
-@@ -487,6 +487,8 @@ void FileDisplay::display()
- 
-       buf[index++] = displayTable[data->line[i][j]];
-     }
-+    if (index < 0)
-+        index = 0;
-     memset(buf + index, ' ', sizeof(buf) - index - 1);
-     memset(str, ' ', screenWidth - (str - buf2));
- 
--- 
-1.8.3.2
-

Copied: vbindiff/repos/community-x86_64/0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch (from rev 634666, vbindiff/trunk/0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch)
===================================================================
--- 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch	                        (rev 0)
+++ 0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch	2020-05-25 16:24:50 UTC (rev 634667)
@@ -0,0 +1,26 @@
+From 879a63ac5f0ffdbe7350ccc7438692a6669d26f2 Mon Sep 17 00:00:00 2001
+From: Peter Ross <pross at xvid.org>
+Date: Sat, 22 Feb 2014 22:50:54 +1100
+Subject: [PATCH] vbindiff: prevent segfault when comparing files of different
+ length
+
+---
+ vbindiff.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/vbindiff.cpp b/vbindiff.cpp
+index 116a037..a032bc6 100644
+--- a/vbindiff.cpp
++++ b/vbindiff.cpp
+@@ -487,6 +487,8 @@ void FileDisplay::display()
+ 
+       buf[index++] = displayTable[data->line[i][j]];
+     }
++    if (index < 0)
++        index = 0;
+     memset(buf + index, ' ', sizeof(buf) - index - 1);
+     memset(str, ' ', screenWidth - (str - buf2));
+ 
+-- 
+1.8.3.2
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 16:24:28 UTC (rev 634666)
+++ PKGBUILD	2020-05-25 16:24:50 UTC (rev 634667)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: tyr0 <thomas.hoernes at gmx.at>
-
-pkgname=vbindiff
-pkgver=3.0_beta5
-pkgrel=1
-pkgdesc="displays files in hexadecimal and ASCII (or EBCDIC) and highlight the differences between them"
-arch=('x86_64')
-url="https://www.cjmweb.net/vbindiff/"
-license=('GPL')
-depends=('gcc-libs' 'ncurses')
-source=($url/$pkgname-$pkgver.tar.gz)
-sha256sums=('f04da97de993caf8b068dcb57f9de5a4e7e9641dc6c47f79b60b8138259133b8')
-
-build() {
-  cd "$srcdir"/$pkgname-$pkgver
-  ./configure --prefix="$pkgdir"/usr
-  make
-}
-
-package() {
-  cd "$srcdir"/$pkgname-$pkgver
-  make install
-}

Copied: vbindiff/repos/community-x86_64/PKGBUILD (from rev 634666, vbindiff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-25 16:24:50 UTC (rev 634667)
@@ -0,0 +1,24 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: tyr0 <thomas.hoernes at gmx.at>
+
+pkgname=vbindiff
+pkgver=3.0_beta5
+pkgrel=2
+pkgdesc="displays files in hexadecimal and ASCII (or EBCDIC) and highlight the differences between them"
+arch=('x86_64')
+url="https://www.cjmweb.net/vbindiff/"
+license=('GPL')
+depends=('gcc-libs' 'ncurses')
+source=($url/$pkgname-$pkgver.tar.gz)
+sha256sums=('f04da97de993caf8b068dcb57f9de5a4e7e9641dc6c47f79b60b8138259133b8')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./configure --prefix="$pkgdir"/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make install
+}



More information about the arch-commits mailing list