From owner-svn-ports-all@FreeBSD.ORG Wed Aug 28 12:19:57 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F14D6EA2; Wed, 28 Aug 2013 12:19:56 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDD81230B; Wed, 28 Aug 2013 12:19:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7SCJuQn087170; Wed, 28 Aug 2013 12:19:56 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7SCJuHJ087166; Wed, 28 Aug 2013 12:19:56 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201308281219.r7SCJuHJ087166@svn.freebsd.org> From: Niclas Zeising Date: Wed, 28 Aug 2013 12:19:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325522 - in head/x11/xcb-util-cursor: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 12:19:57 -0000 Author: zeising Date: Wed Aug 28 12:19:55 2013 New Revision: 325522 URL: http://svnweb.freebsd.org/changeset/ports/325522 Log: Update to 0.1.0 Add dependency on gperf. Fix build with out ancient gcc. Added: head/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf (contents, props changed) head/x11/xcb-util-cursor/files/patch-cursor_cursor.h (contents, props changed) Deleted: head/x11/xcb-util-cursor/files/patch-cursor__cursor.h head/x11/xcb-util-cursor/files/patch-cursor__parse_cursor_file.c Modified: head/x11/xcb-util-cursor/Makefile head/x11/xcb-util-cursor/distinfo Modified: head/x11/xcb-util-cursor/Makefile ============================================================================== --- head/x11/xcb-util-cursor/Makefile Wed Aug 28 12:07:44 2013 (r325521) +++ head/x11/xcb-util-cursor/Makefile Wed Aug 28 12:19:55 2013 (r325522) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= xcb-util-cursor -PORTVERSION= 0.0.99 +PORTVERSION= 0.1.0 CATEGORIES= x11 MASTER_SITES= http://xcb.freedesktop.org/dist/ @@ -10,7 +10,8 @@ COMMENT= XCB cursor library BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \ ${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \ - ${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image + ${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image \ + ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \ ${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \ @@ -22,6 +23,7 @@ USE_XORG= xcb xorg-macros USES= gmake GNU_CONFIGURE= yes +CONFIGURE_ENV= GPERF="${LOCALBASE}/bin/gperf" post-patch: @${REINPLACE_CMD} -e \ Modified: head/x11/xcb-util-cursor/distinfo ============================================================================== --- head/x11/xcb-util-cursor/distinfo Wed Aug 28 12:07:44 2013 (r325521) +++ head/x11/xcb-util-cursor/distinfo Wed Aug 28 12:19:55 2013 (r325522) @@ -1,2 +1,2 @@ -SHA256 (xcb-util-cursor-0.0.99.tar.bz2) = 14fa5bfe639d26e950047ab904c559e935bad0ffac7bc7dc0362066d0a4e55b3 -SIZE (xcb-util-cursor-0.0.99.tar.bz2) = 276739 +SHA256 (xcb-util-cursor-0.1.0.tar.bz2) = bb7bc11a977a7eca9c0b79dbe1c47ec813db98fbed6bcaf613118487a60131e5 +SIZE (xcb-util-cursor-0.1.0.tar.bz2) = 289086 Added: head/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf Wed Aug 28 12:19:55 2013 (r325522) @@ -0,0 +1,18 @@ +--- cursor/shape_to_id.gperf.orig 2013-08-28 14:00:29.539200308 +0200 ++++ cursor/shape_to_id.gperf 2013-08-28 14:01:02.866194795 +0200 +@@ -1,5 +1,5 @@ + struct shape_mapping { const char *name; int number; }; +-const int cursor_shape_to_id(const char *name); ++int cursor_shape_to_id(const char *name); + %% + X_cursor,0 + arrow,1 +@@ -79,7 +79,7 @@ + watch,75 + xterm,76 + %% +-const int cursor_shape_to_id(const char *name) { ++int cursor_shape_to_id(const char *name) { + struct shape_mapping *mapping = in_word_set(name, strlen(name)); + return (mapping ? (mapping->number * 2) : -1); + } Added: head/x11/xcb-util-cursor/files/patch-cursor_cursor.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xcb-util-cursor/files/patch-cursor_cursor.h Wed Aug 28 12:19:55 2013 (r325522) @@ -0,0 +1,11 @@ +--- cursor/cursor.h.orig 2013-08-28 13:57:29.231213533 +0200 ++++ cursor/cursor.h 2013-08-28 13:57:38.222207468 +0200 +@@ -154,7 +154,7 @@ + } __attribute__((packed)) xcint_image_t; + + /* shape_to_id.c */ +-const int cursor_shape_to_id(const char *name); ++int cursor_shape_to_id(const char *name); + + /* parse_cursor_file.c */ + int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);