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
This commit is contained in:
parent
8c05fea6cb
commit
75662e38ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301148
3 changed files with 37 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
33
x11/slim/files/patch-libpng-setjmp-image.cpp
Normal file
33
x11/slim/files/patch-libpng-setjmp-image.cpp
Normal file
|
@ -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
|
Loading…
Reference in a new issue