summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz>2003-03-21 23:25:00 +0000
committerwiz <wiz>2003-03-21 23:25:00 +0000
commit4956860d2b33106210c51e9198b94c8bc2472e0a (patch)
tree8e6fafcd3195c372fe6cd8c2c26886a292d93c27 /misc
parentdda8d419aac5dc5c4870d13bbaeb47e7e7b85465 (diff)
downloadpkgsrc-4956860d2b33106210c51e9198b94c8bc2472e0a.tar.gz
Update to 1.2.6nb1: include a patch from Christopher Richards, sent in
PR 20496, which fixes broken key caching (mkdir /path/with/slash/ problem again).
Diffstat (limited to 'misc')
-rw-r--r--misc/libdvdcss/Makefile3
-rw-r--r--misc/libdvdcss/distinfo3
-rw-r--r--misc/libdvdcss/patches/patch-aa21
3 files changed, 25 insertions, 2 deletions
diff --git a/misc/libdvdcss/Makefile b/misc/libdvdcss/Makefile
index 38692f9120f..508bcc41eb9 100644
--- a/misc/libdvdcss/Makefile
+++ b/misc/libdvdcss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/03/14 11:40:55 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/03/21 23:25:00 wiz Exp $
#
# Unfortunately, some reading of the United States law (DMCA) means
# that we are not able to provide pointers to the source or homepage
@@ -8,6 +8,7 @@
# or MASTER_SITES definitions in this Makefile.
DISTNAME= libdvdcss-1.2.6
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${LIBDVDCSS_MASTER_SITES}
EXTRACT_SUFX= .tar.bz2
diff --git a/misc/libdvdcss/distinfo b/misc/libdvdcss/distinfo
index a48e17ccd84..eacea287933 100644
--- a/misc/libdvdcss/distinfo
+++ b/misc/libdvdcss/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.4 2003/03/14 11:40:55 wiz Exp $
+$NetBSD: distinfo,v 1.5 2003/03/21 23:25:01 wiz Exp $
SHA1 (libdvdcss-1.2.6.tar.bz2) = 82f50b22b544bdbb41bd5365087b91f9a612b3fe
Size (libdvdcss-1.2.6.tar.bz2) = 209352 bytes
+SHA1 (patch-aa) = 4d50a8cd7b0aeb61b2da7944657f05cebb5dccfc
diff --git a/misc/libdvdcss/patches/patch-aa b/misc/libdvdcss/patches/patch-aa
new file mode 100644
index 00000000000..d0879ed5f7c
--- /dev/null
+++ b/misc/libdvdcss/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2003/03/21 23:25:02 wiz Exp $
+
+--- src/libdvdcss.c.orig Sat Feb 1 16:24:49 2003
++++ src/libdvdcss.c
+@@ -398,7 +398,7 @@ extern dvdcss_t dvdcss_open ( char *psz_
+ goto nocache;
+ }
+
+- i += sprintf( dvdcss->psz_cachefile + i, "/%s/", psz_data );
++ i += sprintf( dvdcss->psz_cachefile + i, "/%s", psz_data );
+ #if !defined( WIN32 ) || defined( SYS_CYGWIN )
+ i_ret = mkdir( dvdcss->psz_cachefile, 0755 );
+ #else
+@@ -410,6 +410,7 @@ extern dvdcss_t dvdcss_open ( char *psz_
+ dvdcss->psz_cachefile[0] = '\0';
+ goto nocache;
+ }
++ i += sprintf( dvdcss->psz_cachefile + i, "/");
+
+ /* Pointer to the filename we will use. */
+ dvdcss->psz_block = dvdcss->psz_cachefile + i;