dos2unix: Update to 7.3.5

This commit is contained in:
Erwin Waterlander
2017-07-04 23:17:07 +02:00
parent a660a8323b
commit 10bea8cf31
2 changed files with 3 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=dos2unix
pkgver=7.3.4
pkgver=7.3.5
pkgrel=1
pkgdesc='Text file format converter'
arch=('i686' 'x86_64')
@@ -11,14 +11,11 @@ depends=('libintl')
groups=('base-devel')
makedepends=('perl' 'gettext-devel')
conflicts=('hd2u')
source=("https://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz"
dos2unix-7.3.4-msys2.patch )
sha256sums=('8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5'
'103d99896fd87d00871097b36ed80ba4e0fc9bf0f158e1d53a63c9f05a339bcb')
source=("https://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('a72caa2fb5cb739403315472fe522eda41aabab2a02ad6f5589639330af262e5')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/dos2unix-7.3.4-msys2.patch
}
build() {

View File

@@ -1,19 +0,0 @@
diff -ru dos2unix-7.3.4.orig/common.c dos2unix-7.3.4/common.c
--- dos2unix-7.3.4.orig/common.c 2016-05-24 22:11:15.000000000 +0200
+++ dos2unix-7.3.4/common.c 2016-05-25 21:05:33.862572800 +0200
@@ -800,6 +800,7 @@
return path;
}
+#ifdef NO_MKSTEMP
char *basename(char *path)
{
char *ptr;
@@ -821,6 +822,7 @@
return ptr ;
}
#endif
+#endif
/* Standard mktemp() is not safe to use (See mktemp(3)).
* On Windows it is recommended to use GetTempFileName() (See MSDN).