aboutsummaryrefslogtreecommitdiffstats
path: root/games/nil/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-16 08:38:24 +0800
committerpav <pav@FreeBSD.org>2003-11-16 08:38:24 +0800
commitf19e43d86f829825695e5ed97c4f4c220ace651a (patch)
tree6d889cea228172ab3ba9ad0ace1c6c49b75ac4a5 /games/nil/files
parent72c82416d39fbaa1f9e61eff768e17ab2b532e8c (diff)
downloadfreebsd-ports-gnome-f19e43d86f829825695e5ed97c4f4c220ace651a.tar.gz
freebsd-ports-gnome-f19e43d86f829825695e5ed97c4f4c220ace651a.tar.zst
freebsd-ports-gnome-f19e43d86f829825695e5ed97c4f4c220ace651a.zip
- Unbreak on -CURRENT
- Remove Sourceforge mastersite. This release seems to never get there. - Use USE_SDL - Convert perl patching to sed inplace Approved by: marcus (backup mentor)
Diffstat (limited to 'games/nil/files')
-rw-r--r--games/nil/files/patch-nil-anim_helpers.cpp11
-rw-r--r--games/nil/files/patch-nil-animation.h11
-rw-r--r--games/nil/files/patch-nil-world.h15
3 files changed, 37 insertions, 0 deletions
diff --git a/games/nil/files/patch-nil-anim_helpers.cpp b/games/nil/files/patch-nil-anim_helpers.cpp
new file mode 100644
index 000000000000..66b7deebadb0
--- /dev/null
+++ b/games/nil/files/patch-nil-anim_helpers.cpp
@@ -0,0 +1,11 @@
+--- nil/anim_helpers.cpp.orig Sat Nov 15 16:43:08 2003
++++ nil/anim_helpers.cpp Sat Nov 15 16:57:35 2003
+@@ -210,7 +210,7 @@
+ }
+
+ if (hit != end())
+- return hit;
++ return &(*hit);
+ else {
+ logmsg(lt_debug,"Unable to find a suitable aim_id for elevation: %.2f (%i angles were tried)",elevation,size());
+ return NULL;
diff --git a/games/nil/files/patch-nil-animation.h b/games/nil/files/patch-nil-animation.h
new file mode 100644
index 000000000000..72fe65510a49
--- /dev/null
+++ b/games/nil/files/patch-nil-animation.h
@@ -0,0 +1,11 @@
+--- nil/animation.h.orig Sat Nov 15 16:18:52 2003
++++ nil/animation.h Sat Nov 15 16:26:19 2003
+@@ -25,7 +25,7 @@
+ class Animator;
+ class Animation {
+ public:
+- friend Animator;
++ friend class Animator;
+
+ Animation();
+ ~Animation();
diff --git a/games/nil/files/patch-nil-world.h b/games/nil/files/patch-nil-world.h
new file mode 100644
index 000000000000..52ae1a629044
--- /dev/null
+++ b/games/nil/files/patch-nil-world.h
@@ -0,0 +1,15 @@
+--- nil/world.h.orig Sat Nov 15 16:28:04 2003
++++ nil/world.h Sat Nov 15 16:34:01 2003
+@@ -34,10 +34,8 @@
+ int flags;
+ union {
+ int object_id;
+- struct abspos {
+- float x_pos;
+- float y_pos;
+- };
++ float x_pos;
++ float y_pos;
+ };
+ };
+