View | Details | Raw Unified | Return to bug 206565
Collapse All | Expand All

(-)../../home/pi/myp/www/castget/Makefile (-6 / +4 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/www/castget/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
2
# $FreeBSD: head/www/castget/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
3
3
4
PORTNAME=	castget
4
PORTNAME=	castget
5
PORTVERSION=	1.0.1
5
PORTVERSION=	1.2.1
6
PORTREVISION=	7
7
CATEGORIES=	www
6
CATEGORIES=	www
8
MASTER_SITES=	SAVANNAH
7
MASTER_SITES=	SAVANNAH
9
8
Lines 17-32 Link Here
17
		libcurl.so:${PORTSDIR}/ftp/curl
16
		libcurl.so:${PORTSDIR}/ftp/curl
18
17
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
USES=		libtool pkgconfig
19
USES=		libtool pkgconfig tar:bzip2
21
USE_GNOME=	glib20 libxml2
20
USE_GNOME=	glib20 libxml2
22
CPPFLAGS+=	-I${LOCALBASE}/include
21
CPPFLAGS+=	-I${LOCALBASE}/include
23
LDFLAGS+=	-L${LOCALBASE}/lib
22
LDFLAGS+=	-L${LOCALBASE}/lib
24
CONFIGURE_ARGS=	--disable-static
23
# CONFIGURE_ARGS=	--disable-static
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
27
26
28
PLIST_FILES=	bin/castget include/libcastget.h \
27
PLIST_FILES=	bin/castget \
29
		lib/libcastget.so lib/libcastget.so.0 lib/libcastget.so.0.0.0 \
30
		man/man1/castget.1.gz man/man5/castgetrc.5.gz
28
		man/man1/castget.1.gz man/man5/castgetrc.5.gz
31
29
32
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)../../home/pi/myp/www/castget/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (castget-1.0.1.tar.gz) = 44a201d3bf6f95a580d2a3c446f3595f3b5d1a92770206d311cae8ab05e680ea
1
SHA256 (castget-1.2.1.tar.bz2) = 6cbad3a6476bc5cb66c7e60a8176b85837ac6bd575e6efd8ec32a0be4a687b9a
2
SIZE (castget-1.0.1.tar.gz) = 355696
2
SIZE (castget-1.2.1.tar.bz2) = 300637
(-)../../home/pi/myp/www/castget/files/patch-src_progress.c (+11 lines)
Line 0 Link Here
1
--- src/progress.c.orig	2016-01-24 11:51:53 UTC
2
+++ src/progress.c
3
@@ -92,7 +92,7 @@ progress_bar *progress_bar_new(long resu
4
   if (columns) {
5
     char *endptr;
6
     long num = strtol(columns, &endptr, 10);
7
-    if ((endptr != columns) && (endptr == columns + g_strlen(columns)) && (num > 0)) {
8
+    if ((endptr != columns) && (endptr == columns + strlen(columns)) && (num > 0)) {
9
       pb->width = MIN(pb->width, (int)num); /* restrict width of progress bar to avoid insane values */
10
     }
11
   }

Return to bug 206565