diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile index 5c2706ed8e17..1c3ba5fd685a 100644 --- a/sysutils/vobcopy/Makefile +++ b/sysutils/vobcopy/Makefile @@ -1,44 +1,44 @@ PORTNAME= vobcopy -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.2 PORTREVISION= 0 CATEGORIES= sysutils MAINTAINER= dinoex@FreeBSD.org COMMENT= Decrypts and copies DVD .vob files WWW= https://github.com/barak/vobcopy LICENSE= GPLv2+ LIB_DEPENDS= libdvdread.so:multimedia/libdvdread USES= autoreconf gettext-tools localbase iconv USE_GITHUB= yes GH_ACCOUNT= barak GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CFLAGS+= -DUSE_STATFS_FOR_DEV=1 MAKE_ARGS= CCLD="${CC}" PLIST_FILES= bin/vobcopy \ share/man/de/man1/vobcopy.1.gz \ share/man/man1/vobcopy.1.gz PORTDOCS= COPYING ChangeLog Changelog README Release-Notes TODO \ alternative_programs.txt OPTIONS_DEFINE= NLS DOCS OPTIONS_DEFAULT= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl post-configure: ${REINPLACE_CMD} -e 's|/usr/local/share/|${PREFIX}/share/|' \ ${WRKSRC}/vobcopy.c do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo index c2fe319bace0..bec3aa265c34 100644 --- a/sysutils/vobcopy/distinfo +++ b/sysutils/vobcopy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1705270645 -SHA256 (barak-vobcopy-1.2.1_GH0.tar.gz) = f4737efaf5ad4f84b5c94ca82cda04dbb20c59cebc23588e3662e0c2813d6fde -SIZE (barak-vobcopy-1.2.1_GH0.tar.gz) = 67342 +TIMESTAMP = 1776935666 +SHA256 (barak-vobcopy-1.2.2_GH0.tar.gz) = 44a435d048d57820a6396ed5a666f94856e11eac20f45dab59a5ca1bad793e95 +SIZE (barak-vobcopy-1.2.2_GH0.tar.gz) = 66725 diff --git a/sysutils/vobcopy/files/patch-Makefile.am b/sysutils/vobcopy/files/patch-Makefile.am index ce1dea8e8cc5..9d21307857e4 100644 --- a/sysutils/vobcopy/files/patch-Makefile.am +++ b/sysutils/vobcopy/files/patch-Makefile.am @@ -1,11 +1,11 @@ ---- Makefile.am.orig 2022-05-03 19:55:34 UTC +--- Makefile.am.orig 2026-04-19 12:31:47 UTC +++ Makefile.am -@@ -15,7 +15,7 @@ dist_doc_DATA = alternative_programs.txt Changelog REA +@@ -12,7 +12,7 @@ intl/de/vobcopy.1: vobcopy.1.de intl/de/vobcopy.1: vobcopy.1.de $(MKDIR_P) intl/de - ln $< $@ + ln ${.ALLSRC} $@ MOSTLYCLEANFILES = intl/de/vobcopy.1 diff --git a/sysutils/vobcopy/files/patch-vobcopy.c b/sysutils/vobcopy/files/patch-vobcopy.c index d1b89451b22a..36042b04209f 100644 --- a/sysutils/vobcopy/files/patch-vobcopy.c +++ b/sysutils/vobcopy/files/patch-vobcopy.c @@ -1,65 +1,11 @@ ---- vobcopy.c.orig 2022-05-03 19:55:34 UTC +--- vobcopy.c.orig 2026-04-19 12:31:47 UTC +++ vobcopy.c -@@ -25,7 +25,7 @@ - * rosenauer@users.sf.net - helped me a lot! - * Billy Biggs - took some of his play_title.c code - * and implemeted it here -- * Håkan Hjort and Billy Biggs - libdvdread -+ * HÃ¥kan Hjort and Billy Biggs - libdvdread - * Stephen Birch - debian packaging - */ - @@ -160,7 +160,7 @@ and potentially fatal." - Thanks Leigh!*/ #if defined( __gettext__ ) setlocale(LC_ALL, ""); textdomain("vobcopy"); - bindtextdomain("vobcopy", "/usr/share/locale"); + bindtextdomain("vobcopy", "/usr/local/share/locale"); #endif /* initialize string */ -@@ -1205,7 +1205,7 @@ next: /*for the goto - ugly, I know... */ - fprintf( stderr, _("\n")); - if( !stdout_flag ) - { -- if( fdatasync( streamout ) < 0 ) -+ if( fsync( streamout ) < 0 ) - { - fprintf( stderr, _("\n[Error] error writing to %s \n"), output_file ); - fprintf( stderr, _("[Error] error: %s\n"), strerror( errno ) ); -@@ -1241,7 +1241,7 @@ next: /*for the goto - ugly, I know... */ - fprintf( stderr, _("\n")); - if( !stdout_flag ) - { -- if( fdatasync( streamout ) < 0 ) -+ if( fsync( streamout ) < 0 ) - { - fprintf( stderr, _("\n[Error] error writing to %s \n"), output_file ); - fprintf( stderr, _("[Error] error: %s\n"), strerror( errno ) ); -@@ -1389,7 +1389,7 @@ next: /*for the goto - ugly, I know... */ - fprintf( stderr, _("\n") ); - if( !stdout_flag ) - { -- if( fdatasync( streamout ) < 0 ) -+ if( fsync( streamout ) < 0 ) - { - fprintf( stderr, _("\n[Error] error writing to %s \n"), output_file ); - fprintf( stderr, _("[Error] error: %s\n"), strerror( errno ) ); -@@ -1421,6 +1421,8 @@ next: /*for the goto - ugly, I know... */ - - - -+ /* initialize string */ -+ dvd_path[0] = '\0'; - - /* - * Open now up the actual files for reading -@@ -1847,7 +1849,7 @@ The man replies, "I was talking to the sheep." - } - if( !stdout_flag ) - { -- if( fdatasync( streamout ) < 0 ) -+ if( fsync( streamout ) < 0 ) - { - fprintf( stderr, _("\n[Error] error writing to %s \n"), name ); - fprintf( stderr, _("[Error] error: %s\n"), strerror( errno ) );