pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2005Q2]: pkgsrc/x11/qt3-libs Pullup ticket 572 - requested by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b9d5fdc76c1
branches: pkgsrc-2005Q2
changeset: 495845:0b9d5fdc76c1
user: snj <snj%pkgsrc.org@localhost>
date: Sat Jul 02 06:31:45 2005 +0000
description:
Pullup ticket 572 - requested by Min Sik Kim
portability fix for qt3-libs
Revision pulled up:
- pkgsrc/x11/qt3-libs/Makefile 1.37
Module Name: pkgsrc
Committed By: minskim
Date: Mon Jun 27 19:13:32 UTC 2005
Modified Files:
pkgsrc/x11/qt3-libs: Makefile
Log Message:
Use socklen_t, instead of int, as QT_SOCKLEN_T on Darwin>=8.0.
diffstat:
x11/qt3-libs/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 662e0e20cda1 -r 0b9d5fdc76c1 x11/qt3-libs/Makefile
--- a/x11/qt3-libs/Makefile Tue Jun 28 08:03:40 2005 +0000
+++ b/x11/qt3-libs/Makefile Sat Jul 02 06:31:45 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2005/06/21 23:06:07 jlam Exp $
+# $NetBSD: Makefile,v 1.35.2.1 2005/07/02 06:31:45 snj Exp $
LIBQT= ${WRKSRC}/lib/libqt-mt.la
@@ -34,6 +34,15 @@
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${QTPREFIX}/plugins/imageformats/
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la ${QTPREFIX}/plugins/imageformats/
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*)
+SUBST_CLASSES+= socklen
+SUBST_MESSAGE.socklen= "Correcting socklen_t."
+SUBST_STAGE.socklen= pre-configure
+SUBST_FILES.socklen= mkspecs/darwin-g++/qplatformdefs.h
+SUBST_SED.socklen= -e 's/QT_SOCKLEN_T.*/QT_SOCKLEN_T socklen_t/'
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index