Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a2dec29e4ad327207961d840e279200b4ecb99f1

commit a2dec29e4ad327207961d840e279200b4ecb99f1
Author: Slown <sl...@frugalware.org>
Date:   Wed Nov 30 12:51:25 2016 +0100

ncftp-3.2.6-2-x86_64

* fix build
* add patch
* pkg++

diff --git a/source/network-extra/ncftp/FrugalBuild 
b/source/network-extra/ncftp/FrugalBuild
index ac8979a..d03b90a 100644
--- a/source/network-extra/ncftp/FrugalBuild
+++ b/source/network-extra/ncftp/FrugalBuild
@@ -3,14 +3,25 @@

pkgname=ncftp
pkgver=3.2.6
-pkgrel=1
+pkgrel=2
pkgdesc="Console based FTP client"
url="http://www.ncftp.com/";
depends=('ncurses>=6.0-15')
groups=('network-extra')
archs=('x86_64')
up2date="lynx -dump $url/download/|grep src.tar.gz$|sed -n 
's/.*-\(.*\)-.*/\1/;1 p'"
-source=(ftp://ftp.ncftp.com/$pkgname/$pkgname-$pkgver-src.tar.gz)
-sha1sums=('20092311d3a7495888f8cb6bc960bddee1cbeacb')
+source=(ftp://ftp.ncftp.com/$pkgname/$pkgname-$pkgver-src.tar.gz \
+       fix-build.patch)
+sha1sums=('20092311d3a7495888f8cb6bc960bddee1cbeacb' \
+          '36f488eda3bfafb4b86689c653b4af6fc9cd39aa')
+
+unset CPPFLAGS
+
+build() {
+       Fcd
+       CPP=/usr/bin/cpp Fconf --prefix=/usr --sysconfdir=/etc
+       Fmake
+       make prefix="${Fdestdir}/usr" mandir="${Fdestdir}/usr/share/man" 
install || Fdie
+}

# optimization OK
diff --git a/source/network-extra/ncftp/fix-build.patch 
b/source/network-extra/ncftp/fix-build.patch
new file mode 100644
index 0000000..6d27d50
--- /dev/null
+++ b/source/network-extra/ncftp/fix-build.patch
@@ -0,0 +1,11 @@
+--- ncftp-3.2.6/ncftp/main.c~  2014-03-06 11:20:05.006777392 +0000
++++ ncftp-3.2.6/ncftp/main.c   2014-03-06 11:20:25.739974714 +0000
+@@ -21,6 +21,7 @@
+ #include "log.h"
+ #include "spool.h"
+ #include "util.h"
++#include "locale.h"
+
+ int gStartupUrlParameterGiven = 0;
+ int gIsTTY, gIsTTYr;
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to