aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-28 02:21:14 +0800
committerlioux <lioux@FreeBSD.org>2002-08-28 02:21:14 +0800
commit16ee087af1b2f051d9bc361583571b82f710c005 (patch)
treece7b383538c80e6f1903191062fda832e11f00b9
parent1d05e8b8954caedc053f56f761b4b171402163a9 (diff)
downloadfreebsd-ports-gnome-16ee087af1b2f051d9bc361583571b82f710c005.tar.gz
freebsd-ports-gnome-16ee087af1b2f051d9bc361583571b82f710c005.tar.zst
freebsd-ports-gnome-16ee087af1b2f051d9bc361583571b82f710c005.zip
o Update to 1.2.2
o USE_REINPLACE
-rw-r--r--graphics/libdvdcss/Makefile5
-rw-r--r--graphics/libdvdcss/distinfo2
-rw-r--r--graphics/libdvdcss/files/patch-src::device.h10
-rw-r--r--graphics/libdvdcss/files/patch-src:dvdcss:dvdcss.h17
-rw-r--r--multimedia/libdvdcss/Makefile5
-rw-r--r--multimedia/libdvdcss/distinfo2
-rw-r--r--multimedia/libdvdcss/files/patch-src::device.h10
-rw-r--r--multimedia/libdvdcss/files/patch-src:dvdcss:dvdcss.h17
8 files changed, 28 insertions, 40 deletions
diff --git a/graphics/libdvdcss/Makefile b/graphics/libdvdcss/Makefile
index 35299700714d..77c8a2a93f7f 100644
--- a/graphics/libdvdcss/Makefile
+++ b/graphics/libdvdcss/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libdvdcss
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
@@ -17,9 +17,10 @@ MAINTAINER= lioux@FreeBSD.org
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
post-patch:
- @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
.include <bsd.port.mk>
diff --git a/graphics/libdvdcss/distinfo b/graphics/libdvdcss/distinfo
index 3e8fd05d847f..aa49e15fb397 100644
--- a/graphics/libdvdcss/distinfo
+++ b/graphics/libdvdcss/distinfo
@@ -1 +1 @@
-MD5 (libdvdcss-1.2.1.tar.gz) = e5c01162806456a03f4bd474ac7e64a3
+MD5 (libdvdcss-1.2.2.tar.gz) = bd1814be0ef950dcb6b89dd7028442ef
diff --git a/graphics/libdvdcss/files/patch-src::device.h b/graphics/libdvdcss/files/patch-src::device.h
new file mode 100644
index 000000000000..1e13db86f880
--- /dev/null
+++ b/graphics/libdvdcss/files/patch-src::device.h
@@ -0,0 +1,10 @@
+--- src/device.h.orig Tue Aug 27 15:12:05 2002
++++ src/device.h Tue Aug 27 15:13:30 2002
+@@ -29,6 +29,7 @@
+ #if defined( WIN32 )
+ # include <io.h> /* read() */
+ #else
++# include <sys/types.h>
+ # include <sys/uio.h> /* struct iovec */
+ #endif
+
diff --git a/graphics/libdvdcss/files/patch-src:dvdcss:dvdcss.h b/graphics/libdvdcss/files/patch-src:dvdcss:dvdcss.h
deleted file mode 100644
index bbc604274187..000000000000
--- a/graphics/libdvdcss/files/patch-src:dvdcss:dvdcss.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/dvdcss/dvdcss.h.orig Tue Apr 16 16:04:36 2002
-+++ src/dvdcss/dvdcss.h Tue Apr 16 16:05:06 2002
-@@ -22,6 +22,9 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
- *****************************************************************************/
-
-+#ifndef __DVDCSS_H__
-+#define __DVDCSS_H__
-+
- /*****************************************************************************
- * The libdvdcss structure
- *****************************************************************************/
-@@ -62,3 +65,4 @@
- int i_flags );
- extern char * dvdcss_error ( dvdcss_handle );
-
-+#endif /* __DVDCSS_H__ */
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 35299700714d..77c8a2a93f7f 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libdvdcss
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
@@ -17,9 +17,10 @@ MAINTAINER= lioux@FreeBSD.org
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
post-patch:
- @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
.include <bsd.port.mk>
diff --git a/multimedia/libdvdcss/distinfo b/multimedia/libdvdcss/distinfo
index 3e8fd05d847f..aa49e15fb397 100644
--- a/multimedia/libdvdcss/distinfo
+++ b/multimedia/libdvdcss/distinfo
@@ -1 +1 @@
-MD5 (libdvdcss-1.2.1.tar.gz) = e5c01162806456a03f4bd474ac7e64a3
+MD5 (libdvdcss-1.2.2.tar.gz) = bd1814be0ef950dcb6b89dd7028442ef
diff --git a/multimedia/libdvdcss/files/patch-src::device.h b/multimedia/libdvdcss/files/patch-src::device.h
new file mode 100644
index 000000000000..1e13db86f880
--- /dev/null
+++ b/multimedia/libdvdcss/files/patch-src::device.h
@@ -0,0 +1,10 @@
+--- src/device.h.orig Tue Aug 27 15:12:05 2002
++++ src/device.h Tue Aug 27 15:13:30 2002
+@@ -29,6 +29,7 @@
+ #if defined( WIN32 )
+ # include <io.h> /* read() */
+ #else
++# include <sys/types.h>
+ # include <sys/uio.h> /* struct iovec */
+ #endif
+
diff --git a/multimedia/libdvdcss/files/patch-src:dvdcss:dvdcss.h b/multimedia/libdvdcss/files/patch-src:dvdcss:dvdcss.h
deleted file mode 100644
index bbc604274187..000000000000
--- a/multimedia/libdvdcss/files/patch-src:dvdcss:dvdcss.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/dvdcss/dvdcss.h.orig Tue Apr 16 16:04:36 2002
-+++ src/dvdcss/dvdcss.h Tue Apr 16 16:05:06 2002
-@@ -22,6 +22,9 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
- *****************************************************************************/
-
-+#ifndef __DVDCSS_H__
-+#define __DVDCSS_H__
-+
- /*****************************************************************************
- * The libdvdcss structure
- *****************************************************************************/
-@@ -62,3 +65,4 @@
- int i_flags );
- extern char * dvdcss_error ( dvdcss_handle );
-
-+#endif /* __DVDCSS_H__ */