diff --git a/deskutils/xpostit/Makefile b/deskutils/xpostit/Makefile index 9fea37a29ff9..6ec547371066 100644 --- a/deskutils/xpostit/Makefile +++ b/deskutils/xpostit/Makefile @@ -1,16 +1,16 @@ PORTNAME= xpostit PORTVERSION= 3.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} # DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= joerg@FreeBSD.org COMMENT= PostIt (R) messages onto your X11 screen USES= imake xorg USE_XORG= ice sm x11 xaw xext xmu xpm xt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig .include diff --git a/deskutils/xpostit/files/patch-menu.c b/deskutils/xpostit/files/patch-menu.c new file mode 100644 index 000000000000..5ee09fc8d7d8 --- /dev/null +++ b/deskutils/xpostit/files/patch-menu.c @@ -0,0 +1,11 @@ +--- menu.c~ 1992-12-11 14:04:14.000000000 +0100 ++++ menu.c 2023-02-13 23:44:16.137102000 +0100 +@@ -120,7 +120,7 @@ + smeBSBObjectClass, menuwidget, + NULL, 0); + +- XtAddCallback(entry, XtNcallback, HandleMenuSelection, i); ++ XtAddCallback(entry, XtNcallback, HandleMenuSelection, (XtPointer)i); + } + + XawSimpleMenuAddGlobalActions(appcontext);