1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Upgrade to 0.5.

PR:		ports/47864
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2003-02-06 05:57:03 +00:00
parent 2a949d1733
commit a8ce5e0d1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74944
5 changed files with 2 additions and 43 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= zphoto
PORTVERSION= 0.4
PORTVERSION= 0.5
CATEGORIES= graphics www
MASTER_SITES= http://namazu.org/~satoru/zphoto/
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1 +1 @@
MD5 (zphoto-0.4.tar.gz) = 585faf9925ec65c33a599feb014147df
MD5 (zphoto-0.5.tar.gz) = 8ad7d216d0e4aa0d37546cf2de087ed3

View File

@ -1,11 +0,0 @@
--- templates/all/Makefile.in.orig Tue Jan 28 22:56:04 2003
+++ templates/all/Makefile.in Fri Jan 31 01:51:27 2003
@@ -70,7 +70,7 @@
ZPHOTO_URL = @ZPHOTO_URL@
templatesdir = $(pkgdatadir)/templates/all
-templates_DATA = zphoto.css
+templates_DATA = zphoto.css .photo.html
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =

View File

@ -1,11 +0,0 @@
--- util.c.orig Tue Jan 28 19:18:20 2003
+++ util.c Wed Jan 29 00:55:26 2003
@@ -57,7 +57,7 @@
exit(2);
}
-extern int vasprintf (char **ptr, const char *fmt, ...);
+/* extern int vasprintf (char **ptr, const char *fmt, ...); */
char *
zphoto_asprintf (const char *fmt, ...)

View File

@ -1,19 +0,0 @@
--- zphoto.c.orig Tue Jan 28 19:18:20 2003
+++ zphoto.c Fri Jan 31 01:34:57 2003
@@ -248,7 +248,7 @@
int width, height;
char *photo_width, *photo_height;
- photo_file_name = basename(options->input_photos[id]);
+ photo_file_name = zphoto_strdup(basename(options->input_photos[id]));
if (id > 0)
prev_file_name =
zphoto_modify_suffix(basename(options->input_photos[id - 1]),
@@ -283,6 +283,7 @@
zphoto_create_date_string(date_string, BUFSIZ,
zphoto_get_mtime(options->input_photos[id]));
zphoto_template_add_subst(template, "photo_date", date_string);
+ free(photo_file_name);
free(prev_file_name);
free(next_file_name);
free(photo_width);