Update to 2.0.12.

PR:		38584
Submitted by:	Oliver Lehmann <lehmann@ans-netz.de>
This commit is contained in:
Pete Fritchman 2002-06-09 23:28:55 +00:00
parent e4cf94dfac
commit 9e61cf08b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61011
5 changed files with 8 additions and 27 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= gftp
PORTVERSION= 2.0.11
PORTVERSION= 2.0.12
CATEGORIES= ftp
MASTER_SITES= http://gftp.seul.org/ \
ftp://gftp.seul.org/pub/gftp/

View file

@ -1 +1 @@
MD5 (gftp-2.0.11.tar.gz) = 3c63b5eed2faffe820bace112be2db8a
MD5 (gftp-2.0.12.tar.gz) = cda2957361b42e51e80a1d63610ba8b0

View file

@ -1,11 +1,11 @@
--- src/text/Makefile.in.orig Thu Jan 10 16:15:43 2002
+++ src/text/Makefile.in Thu Jan 10 16:17:37 2002
@@ -104,7 +104,7 @@
--- src/text/Makefile.in.orig Sun May 26 21:27:10 2002
+++ src/text/Makefile.in Sun May 26 21:28:58 2002
@@ -105,7 +105,7 @@
EXTRA_PROGRAMS = gftp-text
gftp_text_SOURCES = gftp-text.c
INCLUDES = @GLIB_CFLAGS@ -DSHARE_DIR=\"$(datadir)/gftp\" -DLOCALE_DIR=\"$(localedir)\" -I../../intl
-LDADD = ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@
+LDADD = -lintl ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@
-LDADD = ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@ @READLINE_LIBS@
+LDADD = -lintl ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@ @READLINE_LIBS@
noinst_HEADERS = gftp-text.h
localedir = $(prefix)/share/locale
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs

View file

@ -1,20 +0,0 @@
--- lib/cache.c.orig Fri Jul 20 21:26:19 2001
+++ lib/cache.c Wed Jan 2 13:54:45 2002
@@ -45,7 +45,7 @@
}
g_free (tempstr);
- srand (time (NULL));
+ srandomdev();
tempstr = NULL;
cachefile = NULL;
do
@@ -57,7 +57,7 @@
g_free (cachefile);
cachefile = g_strdup_printf ("cache%ld",
- 1 + (long) (99999999.0 * rand () /
+ 1 + (long) (99999999.0 * random () /
(RAND_MAX + 1.0)));
tempstr = g_strdup_printf ("%s/%s", cachedir, cachefile);
}

View file

@ -30,6 +30,7 @@ bin/gftp-text
%%DATADIR%%/gftp/up.xpm
%%DATADIR%%/gftp/world.xpm
%%GNOME:%%share/gnome/pixmaps/gftp.png
share/locale/bg/LC_MESSAGES/gftp.mo
share/locale/br/LC_MESSAGES/gftp.mo
share/locale/cs/LC_MESSAGES/gftp.mo
share/locale/da/LC_MESSAGES/gftp.mo