diff options
-rw-r--r-- | x11/accessx/Makefile | 5 | ||||
-rw-r--r-- | x11/accessx/distinfo | 6 | ||||
-rw-r--r-- | x11/accessx/files/patch-Access.C | 29 | ||||
-rw-r--r-- | x11/accessx/files/patch-Access.h | 11 | ||||
-rw-r--r-- | x11/accessx/files/patch-ax.C | 11 | ||||
-rw-r--r-- | x11/accessx/pkg-plist | 2 |
6 files changed, 6 insertions, 58 deletions
diff --git a/x11/accessx/Makefile b/x11/accessx/Makefile index e2b56324a6bd..ba208863c771 100644 --- a/x11/accessx/Makefile +++ b/x11/accessx/Makefile @@ -6,8 +6,7 @@ # PORTNAME= accessx -PORTVERSION= 0.950 -PORTREVISION= 1 +PORTVERSION= 0.951 CATEGORIES= x11 accessibility MASTER_SITES= http://www.disability.uiuc.edu/accessx/software/ DISTNAME= accessx${PORTVERSION:S/.//g} @@ -20,6 +19,8 @@ RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 WRKSRC= ${WRKDIR}/accessx USE_X_PREFIX= yes +PLIST_FILES= bin/ax bin/accessx + post-patch: ${REINPLACE_CMD} \ -e "s@/usr/local@${PREFIX}@" \ diff --git a/x11/accessx/distinfo b/x11/accessx/distinfo index b418638742c4..0e2f2cd5fe25 100644 --- a/x11/accessx/distinfo +++ b/x11/accessx/distinfo @@ -1,3 +1,3 @@ -MD5 (accessx0950.tar.gz) = c61cf27887c76a8cca32f878389bba57 -SHA256 (accessx0950.tar.gz) = 94913972bc19dffe9e723635f85a51036ed26fd9ec4def65d5117980350dc6e6 -SIZE (accessx0950.tar.gz) = 10280 +MD5 (accessx0951.tar.gz) = e61286559b65e452705a6329646776f1 +SHA256 (accessx0951.tar.gz) = 441e9316552a88d26b265a3074656ec56a84d8ea287d7dcebdb7a2b562111863 +SIZE (accessx0951.tar.gz) = 17199 diff --git a/x11/accessx/files/patch-Access.C b/x11/accessx/files/patch-Access.C deleted file mode 100644 index dc50b39dd53d..000000000000 --- a/x11/accessx/files/patch-Access.C +++ /dev/null @@ -1,29 +0,0 @@ ---- Access.C.orig Tue Mar 13 23:39:55 2001 -+++ Access.C Tue Jan 30 22:18:00 2007 -@@ -21,6 +21,8 @@ - #include <X11/XKBlib.h> - #include "Access.h" - -+using namespace std; -+ - // - // Access() - // -@@ -152,7 +154,7 @@ - //Get the state of the keyboard. - - XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd); -- if ((int)xkb == BadAlloc || xkb == NULL) -+ if (xkb == NULL) - { - return 5; /*AccessKeyboardQueryFailure;*/ - } -@@ -261,7 +263,7 @@ - //Get the state of the keyboard. - - XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd); -- if ((int)xkb == BadAlloc || xkb == NULL) -+ if (xkb == NULL) - { - return 5; /*AccessKeyboardQueryFailure;*/ - } diff --git a/x11/accessx/files/patch-Access.h b/x11/accessx/files/patch-Access.h deleted file mode 100644 index 58c8c0b89c4c..000000000000 --- a/x11/accessx/files/patch-Access.h +++ /dev/null @@ -1,11 +0,0 @@ ---- Access.h-orig Sun Nov 17 19:34:23 2002 -+++ Access.h Sun Nov 17 19:34:34 2002 -@@ -20,7 +20,7 @@ - * - */ - --#include <iostream.h> -+#include <iostream> - #include <math.h> - - inline char* onoroff(int val) diff --git a/x11/accessx/files/patch-ax.C b/x11/accessx/files/patch-ax.C index 53900e49d392..ea2db429910e 100644 --- a/x11/accessx/files/patch-ax.C +++ b/x11/accessx/files/patch-ax.C @@ -6,14 +6,3 @@ +using namespace std; - /////////////////////////////////////////////////////////////////////////////// - // -@@ -713,7 +714,7 @@ - /////////////////////////////////////////////////////////////////////////////// - - --void main(int argc, char** argv) -+int main(int argc, char** argv) - { - Access ax; - ax.QueryServer(); diff --git a/x11/accessx/pkg-plist b/x11/accessx/pkg-plist deleted file mode 100644 index 405a63f49937..000000000000 --- a/x11/accessx/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/ax -bin/accessx |