- Update to 0.951

PR:		108168
Submitted by:	Marcelo Araujo <araujo@bsdmail.org>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2007-02-14 20:39:41 +00:00
parent 4503be0da8
commit 4216e749fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185195
6 changed files with 6 additions and 58 deletions

View file

@ -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}@" \

View file

@ -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

View file

@ -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;*/
}

View file

@ -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)

View file

@ -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();

View file

@ -1,2 +0,0 @@
bin/ax
bin/accessx