diff options
author | dougb <dougb@FreeBSD.org> | 2012-07-19 18:12:45 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-07-19 18:12:45 +0800 |
commit | d8ed82853bcddbbb0e0f33e46c5d3b3d01c7456e (patch) | |
tree | dbb5d8db58b963b7f532db8ea78bc928ab3d71a0 /x11 | |
parent | 26fc41ef6a584e76774e350d83a7621b9278c728 (diff) | |
download | freebsd-ports-gnome-d8ed82853bcddbbb0e0f33e46c5d3b3d01c7456e.tar.gz freebsd-ports-gnome-d8ed82853bcddbbb0e0f33e46c5d3b3d01c7456e.tar.zst freebsd-ports-gnome-d8ed82853bcddbbb0e0f33e46c5d3b3d01c7456e.zip |
1.3.4 - 2012.06.26
* Replaced stderr writes function.
* Fix numlock control.
* Fix build with GLUT.
* Fix PAM authentication.
Submitted by: rea
Approved by: maintainer timeout
Diffstat (limited to 'x11')
-rw-r--r-- | x11/slim/Makefile | 10 | ||||
-rw-r--r-- | x11/slim/distinfo | 6 | ||||
-rw-r--r-- | x11/slim/files/patch-libpng-setjmp-image.cpp | 33 |
3 files changed, 37 insertions, 12 deletions
diff --git a/x11/slim/Makefile b/x11/slim/Makefile index 8ce42a8801e7..c3de237bc467 100644 --- a/x11/slim/Makefile +++ b/x11/slim/Makefile @@ -5,12 +5,9 @@ # $FreeBSD$ PORTNAME= slim -PORTVERSION= 1.3.3 -PORTREVISION= 2 +PORTVERSION= 1.3.4 CATEGORIES= x11 MASTER_SITES= http://slim.berlios.de/releases/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.release.asc -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= henry.hu.sh@gmail.com COMMENT= Graphical login manager for X11, derived from Login.app @@ -45,9 +42,6 @@ CMAKE_ARGS+= -DUSE_PAM=no PLIST_SUB+= PAM="@comment " .endif -verify: checksum - gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.release.asc - post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/${PORTNAME}.conf @${REINPLACE_CMD} -e 's|"/etc"|"${PREFIX}/etc"|' \ @@ -57,7 +51,7 @@ post-patch: @${MV} ${WRKSRC}/slim.conf ${WRKSRC}/slim.conf.sample @${REINPLACE_CMD} -e 's|std::snprintf|snprintf|' ${WRKSRC}/Ck.cpp -# Fix a previous bad install +# Fix a previous bad install - Ok to remove at version 1.3.5 or later pre-install: @${RM} -f ${LOCALBASE}/share/man/man1/slim.1 @${RMDIR} ${LOCALBASE}/share/man/man1 2>/dev/null || true diff --git a/x11/slim/distinfo b/x11/slim/distinfo index ab9dc408c589..db2a7ff2664e 100644 --- a/x11/slim/distinfo +++ b/x11/slim/distinfo @@ -1,4 +1,2 @@ -SHA256 (slim-1.3.3.tar.gz) = c15248d99c36cb45c66298b0797246d43cd851765536746a431a1533e48dbbb9 -SIZE (slim-1.3.3.tar.gz) = 226797 -SHA256 (slim-1.3.3.tar.gz.release.asc) = 14d2d9c1048ca624c8521bb815eb9bbd2802d03eea72069a5afd861ac970d430 -SIZE (slim-1.3.3.tar.gz.release.asc) = 1145 +SHA256 (slim-1.3.4.tar.gz) = 155c26460c98b9f0925624028b4254afc0de4fda33300f3ac45606b2c5cbd501 +SIZE (slim-1.3.4.tar.gz) = 227197 diff --git a/x11/slim/files/patch-libpng-setjmp-image.cpp b/x11/slim/files/patch-libpng-setjmp-image.cpp new file mode 100644 index 000000000000..ddbd4f9f92a9 --- /dev/null +++ b/x11/slim/files/patch-libpng-setjmp-image.cpp @@ -0,0 +1,33 @@ +--- image.cpp.orig 2012-07-05 11:54:10.000000000 +0400 ++++ image.cpp 2012-07-05 12:20:08.000000000 +0400 +@@ -746,6 +746,10 @@ + return(ret); + } + ++#if (PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5) || PNG_LIBPNG_VER_MAJOR > 1 ++#define PNG_NEW_SETJMP_API ++#endif ++ + int + Image::readPng(const char *filename, int *width, int *height, + unsigned char **rgb, unsigned char **alpha) +@@ -781,7 +785,13 @@ + (png_infopp) NULL); + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp( ++#ifdef PNG_NEW_SETJMP_API ++(png_jmpbuf(png_ptr)) ++#else ++png_ptr->jmpbuf ++#endif ++ )) { + goto png_destroy; + } + +@@ -894,3 +904,4 @@ + fclose(infile); + return(ret); + } ++#undef PNG_NEW_SETJMP_API |