ports/98774: [UPDATE] games/warsow: fix mouse problems
Alejandro Pulver
alepulver at FreeBSD.org
Sat Jun 10 01:20:19 UTC 2006
>Number: 98774
>Category: ports
>Synopsis: [UPDATE] games/warsow: fix mouse problems
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 10 01:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Alejandro Pulver
>Release: FreeBSD 6.0-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD 6.0-RELEASE-p6 #0: Tue Apr 4 22:29:05 ART 2006
ale at phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-PHOBOS
>Description:
- Fix mouse problems.
- Add OPTIONS to allow building only the client or dedicated server, or both.
- Use DATADIR instead of BASEDIR and use it in pkg-plist.
>How-To-Repeat:
>Fix:
--- warsow.diff begins here ---
? .Makefile.swp
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/warsow/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 1 Jun 2006 11:19:18 -0000 1.1
+++ Makefile 10 Jun 2006 01:14:53 -0000
@@ -20,33 +20,59 @@
MAINTAINER= danfe at FreeBSD.org
COMMENT= A fast paced first person shooter game
-LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
-
USE_GMAKE= yes
-USE_GL= yes
-USE_SDL= yes
USE_ZIP= yes
-USE_DOS2UNIX= linux/sys_linux.c
+USE_DOS2UNIX= linux/in_x11.c linux/sys_linux.c
-WRKSRC= ${WRKDIR}/source/source
+OPTIONS= CLIENT "Build client" on \
+ DEDICATED "Build dedicated server" on
+
+ALL_TARGET= cgame game ui
RELEASEDIR= ${WRKSRC}/release
-BASEDIR= ${PREFIX}/lib/${PORTNAME}
+WRKSRC= ${WRKDIR}/source/source
+DATADIR= ${PREFIX}/lib/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED)
+IGNORE= needs at least one of CLIENT and DEDICATED options
+.endif
+
+.if !defined(WITHOUT_CLIENT)
+LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
+USE_GL= yes
+USE_SDL= yes
+ALL_TARGET+= client
+PLIST_SUB+= CLIENT=""
+WSBIN+= warsow
+.else
+PLIST_SUB+= CLIENT="@comment "
+.endif
+
+.if !defined(WITHOUT_DEDICATED)
+ALL_TARGET+= ded
+PLIST_SUB+= DEDICATED=""
+WSBIN+= wsw_server
+.else
+PLIST_SUB+= DEDICATED="@comment "
+.endif
post-patch: .SILENT
${REINPLACE_CMD} -e 's#dllname, RTLD_LAZY#& | RTLD_GLOBAL#' \
${WRKSRC}/linux/qgl_linux.c
- ${REINPLACE_CMD} -e 's#path", "\.#path", "${BASEDIR}#; \
+ ${REINPLACE_CMD} -e 's#path", "\.#path", "${DATADIR}#; \
s#dir", "0#dir", "1#' ${WRKSRC}/qcommon/files.c
do-install:
- ${INSTALL_PROGRAM} ${RELEASEDIR}/warsow ${RELEASEDIR}/wsw_server \
- ${PREFIX}/bin
- @${MKDIR} ${BASEDIR}/basewsw
- ${INSTALL_PROGRAM} ${RELEASEDIR}/basewsw/*.so ${BASEDIR}/basewsw
+.for bin in ${WSBIN}
+ ${INSTALL_PROGRAM} ${RELEASEDIR}/${bin} ${PREFIX}/bin
+.endfor
+ @${MKDIR} ${DATADIR}/basewsw
+ ${INSTALL_PROGRAM} ${RELEASEDIR}/basewsw/*.so ${DATADIR}/basewsw
@${TAR} xzvf ${_DISTDIR}/${PORTNAME}_${PORTVERSION}_linux.tar.gz \
-C ${PREFIX}/lib warsow/basewsw/cfgs warsow/basewsw/huds \
warsow/basewsw/dedicated_autoexec.cfg \
- warsow/basewsw/\*.pk3 && ${CHOWN} -R root:wheel ${BASEDIR}
+ warsow/basewsw/\*.pk3 && ${CHOWN} -R root:wheel ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${TAR} xzvf ${_DISTDIR}/${PORTNAME}_${PORTVERSION}_linux.tar.gz \
@@ -54,4 +80,4 @@
${DOCSDIR} && ${CHMOD} -R 777 ${WRKDIR}/warsow
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/games/warsow/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist 1 Jun 2006 11:19:18 -0000 1.1
+++ pkg-plist 10 Jun 2006 01:14:53 -0000
@@ -1,120 +1,120 @@
-bin/warsow
-bin/wsw_server
-lib/warsow/basewsw/cgame.so
-lib/warsow/basewsw/game.so
-lib/warsow/basewsw/ui.so
-lib/warsow/basewsw/data0.pk3
-lib/warsow/basewsw/data0fix1.pk3
-lib/warsow/basewsw/map_wctf1.pk3
-lib/warsow/basewsw/map_wdm1.pk3
-lib/warsow/basewsw/map_wdm2.pk3
-lib/warsow/basewsw/map_wdm5.pk3
-lib/warsow/basewsw/map_wmid1.pk3
-lib/warsow/basewsw/map_wmid2.pk3
-lib/warsow/basewsw/map_wmid3.pk3
-lib/warsow/basewsw/map_wtest1.pk3
-lib/warsow/basewsw/map_wtest3.pk3
-lib/warsow/basewsw/map_wtest4.pk3
-lib/warsow/basewsw/cfgs/Medar.cfg
-lib/warsow/basewsw/cfgs/pb.cfg
-lib/warsow/basewsw/cfgs/nip.cfg
-lib/warsow/basewsw/cfgs/jal.cfg
-lib/warsow/basewsw/cfgs/dedicated_ffa.cfg
-lib/warsow/basewsw/cfgs/dedicated_ctf.cfg
-lib/warsow/basewsw/cfgs/ekse.cfg
-lib/warsow/basewsw/cfgs/ETR.cfg
-lib/warsow/basewsw/cfgs/dedicated_tdm_ctf.cfg
-lib/warsow/basewsw/cfgs/dedicated_allaround.cfg
-lib/warsow/basewsw/cfgs/dedicated_duel_quad.cfg
-lib/warsow/basewsw/cfgs/chas.cfg
-lib/warsow/basewsw/cfgs/dedicated_tdm.cfg
-lib/warsow/basewsw/cfgs/dedicated_duel.cfg
-lib/warsow/basewsw/cfgs/dedicated_quad.cfg
- at dirrm lib/warsow/basewsw/cfgs
-lib/warsow/basewsw/huds/inc/nip/speed_right_small.hud
-lib/warsow/basewsw/huds/inc/nip/health_numbers.hud
-lib/warsow/basewsw/huds/inc/nip/team_info.hud
-lib/warsow/basewsw/huds/inc/nip/selected_weapon.hud
-lib/warsow/basewsw/huds/inc/nip/pointing_middle.hud
-lib/warsow/basewsw/huds/inc/nip/selected_item.hud
-lib/warsow/basewsw/huds/inc/nip/race_timer.hud
-lib/warsow/basewsw/huds/inc/nip/armor_numbers.hud
-lib/warsow/basewsw/huds/inc/nip/fps_right_small.hud
-lib/warsow/basewsw/huds/inc/nip/frag_counter.hud
-lib/warsow/basewsw/huds/inc/nip/powerup_item.hud
-lib/warsow/basewsw/huds/inc/nip/picked_up_item.hud
-lib/warsow/basewsw/huds/inc/nip/clock_right_mid.hud
-lib/warsow/basewsw/huds/inc/nip/ammo.hud
-lib/warsow/basewsw/huds/inc/nip/help_message_center.hud
-lib/warsow/basewsw/huds/inc/nip/weaponlist_up.hud
-lib/warsow/basewsw/huds/inc/nip/crosshair.hud
-lib/warsow/basewsw/huds/inc/nip/chasing_top.hud
- at dirrm lib/warsow/basewsw/huds/inc/nip
-lib/warsow/basewsw/huds/inc/1oooK/speed_right_small.hud
-lib/warsow/basewsw/huds/inc/1oooK/health_numbers.hud
-lib/warsow/basewsw/huds/inc/1oooK/clock_right_mid.hud
-lib/warsow/basewsw/huds/inc/1oooK/team_info.hud
-lib/warsow/basewsw/huds/inc/1oooK/armor_bar.hud
-lib/warsow/basewsw/huds/inc/1oooK/selected_item.hud
-lib/warsow/basewsw/huds/inc/1oooK/chasing_left.hud
-lib/warsow/basewsw/huds/inc/1oooK/armor_numbers.hud
-lib/warsow/basewsw/huds/inc/1oooK/health_bar.hud
-lib/warsow/basewsw/huds/inc/1oooK/weaponlist_down.hud
-lib/warsow/basewsw/huds/inc/1oooK/crosshair.hud
-lib/warsow/basewsw/huds/inc/1oooK/fps_right_small.hud
-lib/warsow/basewsw/huds/inc/1oooK/frag_counter.hud
- at dirrm lib/warsow/basewsw/huds/inc/1oooK
-lib/warsow/basewsw/huds/inc/health_numbers.hud
-lib/warsow/basewsw/huds/inc/selected_weapon.hud
-lib/warsow/basewsw/huds/inc/team_info.hud
-lib/warsow/basewsw/huds/inc/pointing_middle.hud
-lib/warsow/basewsw/huds/inc/health_pic_bar2.hud
-lib/warsow/basewsw/huds/inc/selected_item.hud
-lib/warsow/basewsw/huds/inc/ETR/health_numbers.hud
-lib/warsow/basewsw/huds/inc/ETR/picked_up_item.hud
-lib/warsow/basewsw/huds/inc/ETR/team_info.hud
-lib/warsow/basewsw/huds/inc/ETR/speed_mid_mid.hud
-lib/warsow/basewsw/huds/inc/ETR/clock_mid_big.hud
-lib/warsow/basewsw/huds/inc/ETR/pointing_middle.hud
-lib/warsow/basewsw/huds/inc/ETR/chasing_left.hud
-lib/warsow/basewsw/huds/inc/ETR/armor_numbers.hud
-lib/warsow/basewsw/huds/inc/ETR/weaponlist_down.hud
-lib/warsow/basewsw/huds/inc/ETR/fps_right_small.hud
-lib/warsow/basewsw/huds/inc/ETR/crosshair.hud
-lib/warsow/basewsw/huds/inc/ETR/frag_counter.hud
-lib/warsow/basewsw/huds/inc/ETR/scores.hud
- at dirrm lib/warsow/basewsw/huds/inc/ETR
-lib/warsow/basewsw/huds/inc/net.hud
-lib/warsow/basewsw/huds/inc/race_timer.hud
-lib/warsow/basewsw/huds/inc/clock_right_small.hud
-lib/warsow/basewsw/huds/inc/armor_numbers.hud
-lib/warsow/basewsw/huds/inc/weaponlist_down.hud
-lib/warsow/basewsw/huds/inc/fps_right_small.hud
-lib/warsow/basewsw/huds/inc/powerup_item.hud
-lib/warsow/basewsw/huds/inc/speed_right_small.hud
-lib/warsow/basewsw/huds/inc/picked_up_item.hud
-lib/warsow/basewsw/huds/inc/clock_right_mid.hud
-lib/warsow/basewsw/huds/inc/armor_pic_bar2.hud
-lib/warsow/basewsw/huds/inc/weaponlist_right.hud
-lib/warsow/basewsw/huds/inc/health_pic_bar.hud
-lib/warsow/basewsw/huds/inc/armor_pic_bar.hud
-lib/warsow/basewsw/huds/inc/chasing_left.hud
-lib/warsow/basewsw/huds/inc/ammo.hud
-lib/warsow/basewsw/huds/inc/crosshair.hud
-lib/warsow/basewsw/huds/inc/help_message_center.hud
-lib/warsow/basewsw/huds/inc/scores.hud
-lib/warsow/basewsw/huds/inc/weaponlist_left.hud
- at dirrm lib/warsow/basewsw/huds/inc
-lib/warsow/basewsw/huds/default.hud
-lib/warsow/basewsw/huds/nip.hud
-lib/warsow/basewsw/huds/1oooK.hud
-lib/warsow/basewsw/huds/hud_left.hud
-lib/warsow/basewsw/huds/ETR.hud
-lib/warsow/basewsw/huds/hud_right.hud
- at dirrm lib/warsow/basewsw/huds
-lib/warsow/basewsw/dedicated_autoexec.cfg
- at dirrm lib/warsow/basewsw
- at dirrm lib/warsow
+%%CLIENT%%bin/warsow
+%%DEDICATED%%bin/wsw_server
+%%DATADIR%%/basewsw/cgame.so
+%%DATADIR%%/basewsw/game.so
+%%DATADIR%%/basewsw/ui.so
+%%DATADIR%%/basewsw/data0.pk3
+%%DATADIR%%/basewsw/data0fix1.pk3
+%%DATADIR%%/basewsw/map_wctf1.pk3
+%%DATADIR%%/basewsw/map_wdm1.pk3
+%%DATADIR%%/basewsw/map_wdm2.pk3
+%%DATADIR%%/basewsw/map_wdm5.pk3
+%%DATADIR%%/basewsw/map_wmid1.pk3
+%%DATADIR%%/basewsw/map_wmid2.pk3
+%%DATADIR%%/basewsw/map_wmid3.pk3
+%%DATADIR%%/basewsw/map_wtest1.pk3
+%%DATADIR%%/basewsw/map_wtest3.pk3
+%%DATADIR%%/basewsw/map_wtest4.pk3
+%%DATADIR%%/basewsw/cfgs/Medar.cfg
+%%DATADIR%%/basewsw/cfgs/pb.cfg
+%%DATADIR%%/basewsw/cfgs/nip.cfg
+%%DATADIR%%/basewsw/cfgs/jal.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_ffa.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_ctf.cfg
+%%DATADIR%%/basewsw/cfgs/ekse.cfg
+%%DATADIR%%/basewsw/cfgs/ETR.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_tdm_ctf.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_allaround.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_duel_quad.cfg
+%%DATADIR%%/basewsw/cfgs/chas.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_tdm.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_duel.cfg
+%%DATADIR%%/basewsw/cfgs/dedicated_quad.cfg
+ at dirrm %%DATADIR%%/basewsw/cfgs
+%%DATADIR%%/basewsw/huds/inc/nip/speed_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/nip/health_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/nip/team_info.hud
+%%DATADIR%%/basewsw/huds/inc/nip/selected_weapon.hud
+%%DATADIR%%/basewsw/huds/inc/nip/pointing_middle.hud
+%%DATADIR%%/basewsw/huds/inc/nip/selected_item.hud
+%%DATADIR%%/basewsw/huds/inc/nip/race_timer.hud
+%%DATADIR%%/basewsw/huds/inc/nip/armor_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/nip/fps_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/nip/frag_counter.hud
+%%DATADIR%%/basewsw/huds/inc/nip/powerup_item.hud
+%%DATADIR%%/basewsw/huds/inc/nip/picked_up_item.hud
+%%DATADIR%%/basewsw/huds/inc/nip/clock_right_mid.hud
+%%DATADIR%%/basewsw/huds/inc/nip/ammo.hud
+%%DATADIR%%/basewsw/huds/inc/nip/help_message_center.hud
+%%DATADIR%%/basewsw/huds/inc/nip/weaponlist_up.hud
+%%DATADIR%%/basewsw/huds/inc/nip/crosshair.hud
+%%DATADIR%%/basewsw/huds/inc/nip/chasing_top.hud
+ at dirrm %%DATADIR%%/basewsw/huds/inc/nip
+%%DATADIR%%/basewsw/huds/inc/1oooK/speed_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/health_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/clock_right_mid.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/team_info.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/armor_bar.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/selected_item.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/chasing_left.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/armor_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/health_bar.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/weaponlist_down.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/crosshair.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/fps_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/1oooK/frag_counter.hud
+ at dirrm %%DATADIR%%/basewsw/huds/inc/1oooK
+%%DATADIR%%/basewsw/huds/inc/health_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/selected_weapon.hud
+%%DATADIR%%/basewsw/huds/inc/team_info.hud
+%%DATADIR%%/basewsw/huds/inc/pointing_middle.hud
+%%DATADIR%%/basewsw/huds/inc/health_pic_bar2.hud
+%%DATADIR%%/basewsw/huds/inc/selected_item.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/health_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/picked_up_item.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/team_info.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/speed_mid_mid.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/clock_mid_big.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/pointing_middle.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/chasing_left.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/armor_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/weaponlist_down.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/fps_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/crosshair.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/frag_counter.hud
+%%DATADIR%%/basewsw/huds/inc/ETR/scores.hud
+ at dirrm %%DATADIR%%/basewsw/huds/inc/ETR
+%%DATADIR%%/basewsw/huds/inc/net.hud
+%%DATADIR%%/basewsw/huds/inc/race_timer.hud
+%%DATADIR%%/basewsw/huds/inc/clock_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/armor_numbers.hud
+%%DATADIR%%/basewsw/huds/inc/weaponlist_down.hud
+%%DATADIR%%/basewsw/huds/inc/fps_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/powerup_item.hud
+%%DATADIR%%/basewsw/huds/inc/speed_right_small.hud
+%%DATADIR%%/basewsw/huds/inc/picked_up_item.hud
+%%DATADIR%%/basewsw/huds/inc/clock_right_mid.hud
+%%DATADIR%%/basewsw/huds/inc/armor_pic_bar2.hud
+%%DATADIR%%/basewsw/huds/inc/weaponlist_right.hud
+%%DATADIR%%/basewsw/huds/inc/health_pic_bar.hud
+%%DATADIR%%/basewsw/huds/inc/armor_pic_bar.hud
+%%DATADIR%%/basewsw/huds/inc/chasing_left.hud
+%%DATADIR%%/basewsw/huds/inc/ammo.hud
+%%DATADIR%%/basewsw/huds/inc/crosshair.hud
+%%DATADIR%%/basewsw/huds/inc/help_message_center.hud
+%%DATADIR%%/basewsw/huds/inc/scores.hud
+%%DATADIR%%/basewsw/huds/inc/weaponlist_left.hud
+ at dirrm %%DATADIR%%/basewsw/huds/inc
+%%DATADIR%%/basewsw/huds/default.hud
+%%DATADIR%%/basewsw/huds/nip.hud
+%%DATADIR%%/basewsw/huds/1oooK.hud
+%%DATADIR%%/basewsw/huds/hud_left.hud
+%%DATADIR%%/basewsw/huds/ETR.hud
+%%DATADIR%%/basewsw/huds/hud_right.hud
+ at dirrm %%DATADIR%%/basewsw/huds
+%%DATADIR%%/basewsw/dedicated_autoexec.cfg
+ at dirrm %%DATADIR%%/basewsw
+ at dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/Shader_Manual.rtf
%%PORTDOCS%%%%DOCSDIR%%/bots_navigation.txt
%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
Index: files/patch-Makefile
===================================================================
RCS file: /home/pcvs/ports/games/warsow/files/patch-Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-Makefile
--- files/patch-Makefile 1 Jun 2006 11:19:18 -0000 1.1
+++ files/patch-Makefile 10 Jun 2006 01:14:53 -0000
@@ -1,5 +1,5 @@
---- Makefile.orig Fri May 26 02:03:42 2006
-+++ Makefile Thu Jun 1 15:22:05 2006
+--- ./Makefile.orig Fri May 26 02:03:42 2006
++++ ./Makefile Fri Jun 9 21:56:22 2006
@@ -6,7 +6,7 @@
ARCH:=$(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/)
@@ -47,6 +47,15 @@
######################################################################################################
# Helper functions
+@@ -127,7 +124,7 @@
+ clean clean-depend clean-client clean-ded clean-cgame clean-game clean-ui \
+ compile compile-client compile-ded compile-cgame compile-game compile-ui
+
+-all: client ded cgame game ui
++all: cgame game ui
+
+ client: $(BUILDDIRS) message-client compile-client link-client
+ ded: $(BUILDDIRS) message-ded compile-ded link-ded
@@ -182,21 +179,21 @@
@echo "> * Building cgame"
@echo "> *********************************************************"
Index: files/patch-linux+in_x11.c
===================================================================
RCS file: files/patch-linux+in_x11.c
diff -N files/patch-linux+in_x11.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-linux+in_x11.c 10 Jun 2006 01:14:53 -0000
@@ -0,0 +1,16 @@
+--- ./linux/in_x11.c.orig Mon May 29 19:04:46 2006
++++ ./linux/in_x11.c Fri Jun 9 21:06:53 2006
+@@ -589,11 +589,8 @@
+ }
+ else
+ {
+- mx = -((int)event.xmotion.x - mwx);// * 2;
+- my = -((int)event.xmotion.y - mwy);// * 2;
+- mwx = event.xmotion.x;
+- mwy = event.xmotion.y;
+-
++ mx += ((int)event.xmotion.x - mwx);
++ my += ((int)event.xmotion.y - mwy);
+ if (mx || my)
+ dowarp = qtrue;
+ }
--- warsow.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list