aboutsummaryrefslogtreecommitdiffstats
path: root/games/trackballs/files
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-06-05 22:03:38 +0800
committersem <sem@FreeBSD.org>2005-06-05 22:03:38 +0800
commit48be23637d2921b9982e71a4f48474d867727adf (patch)
tree626e4bdf3c4c6af3590e16886fe6cde352c40e16 /games/trackballs/files
parent8beb8da516f6823a734cde5da995f71fcf725cd4 (diff)
downloadfreebsd-ports-gnome-48be23637d2921b9982e71a4f48474d867727adf.tar.gz
freebsd-ports-gnome-48be23637d2921b9982e71a4f48474d867727adf.tar.zst
freebsd-ports-gnome-48be23637d2921b9982e71a4f48474d867727adf.zip
- Update to 1.1.0
PR: ports/81860 Submitted by: Ports Fury
Diffstat (limited to 'games/trackballs/files')
-rw-r--r--games/trackballs/files/patch-po-Makefile.in18
-rw-r--r--games/trackballs/files/patch-src-Makefile.in11
-rw-r--r--games/trackballs/files/patch-src-pipe.cc13
3 files changed, 42 insertions, 0 deletions
diff --git a/games/trackballs/files/patch-po-Makefile.in b/games/trackballs/files/patch-po-Makefile.in
new file mode 100644
index 000000000000..5a5d139b58f7
--- /dev/null
+++ b/games/trackballs/files/patch-po-Makefile.in
@@ -0,0 +1,18 @@
+--- po/Makefile.in.in.orig Wed Feb 16 02:16:34 2005
++++ po/Makefile.in.in Fri Jun 3 03:18:21 2005
+@@ -21,13 +21,13 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/${PACKAGE}/locale
++localedir = $(datadir)/locale
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+-mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
++mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+
+ GMSGFMT = @GMSGFMT@
+ MSGFMT = @MSGFMT@
diff --git a/games/trackballs/files/patch-src-Makefile.in b/games/trackballs/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..c83c2b25cdd2
--- /dev/null
+++ b/games/trackballs/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sat Mar 5 03:26:01 2005
++++ src/Makefile.in Fri Jun 3 03:10:32 2005
+@@ -301,7 +301,7 @@
+ EXTRA_trackballs_SOURCES = trackballsIcon.rc
+ trackballs_LDADD = @WINRESOURCES@
+ trackballs_DEPENDENCIES = @WINRESOURCES@
+-snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
++snarfcppopts = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ localedir = $(datadir)/locale
+ all: all-am
+
diff --git a/games/trackballs/files/patch-src-pipe.cc b/games/trackballs/files/patch-src-pipe.cc
new file mode 100644
index 000000000000..377616124977
--- /dev/null
+++ b/games/trackballs/files/patch-src-pipe.cc
@@ -0,0 +1,13 @@
+--- src/pipe.cc.orig Wed Feb 23 00:10:31 2005
++++ src/pipe.cc Fri Jun 3 02:54:26 2005
+@@ -96,8 +96,8 @@
+ }
+ void Pipe::computeBoundingBox() {
+ for(int i=0;i<3;i++) {
+- boundingBox[0][i]=fmin(from[i]-radius,to[i]-radius)-position[i];
+- boundingBox[1][i]=fmax(from[i]+radius,to[i]+radius)-position[i];
++ boundingBox[0][i]=((from[i]-radius)>(to[i]-radius)?(to[i]-radius):(from[i]-radius))-position[i];
++ boundingBox[1][i]=((from[i]+radius)>(to[i]+radius)?(from[i]+radius):(to[i]+radius))-position[i];
+ }
+ }
+ void Pipe::onRemove() {Animated::onRemove(); pipes->erase(this);}