svn commit: r318861 - in head/games/valyriatear: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu May 23 10:04:08 UTC 2013
Author: amdmi3
Date: Thu May 23 10:04:07 2013
New Revision: 318861
URL: http://svnweb.freebsd.org/changeset/ports/318861
Log:
- Add patch which fixes segfault in the shop
With this patch, the port becomes valyriatear-0.5.1 essentially,
but I'd prefer to not bump portversion and force distfile redownload
for such a small single change.
Added:
head/games/valyriatear/files/
head/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp (contents, props changed)
Modified:
head/games/valyriatear/Makefile
Modified: head/games/valyriatear/Makefile
==============================================================================
--- head/games/valyriatear/Makefile Thu May 23 09:59:49 2013 (r318860)
+++ head/games/valyriatear/Makefile Thu May 23 10:04:07 2013 (r318861)
@@ -3,6 +3,7 @@
PORTNAME= valyriatear
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= games
USE_GITHUB= yes
Added: head/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp Thu May 23 10:04:07 2013 (r318861)
@@ -0,0 +1,16 @@
+diff --git src/modes/shop/shop_sell.cpp src/modes/shop/shop_sell.cpp
+index 9fa3147..17537a2 100644
+--- src/modes/shop/shop_sell.cpp
++++ src/modes/shop/shop_sell.cpp
+@@ -295,10 +295,7 @@ void SellInterface::MakeActive()
+
+ void SellInterface::TransactionNotification()
+ {
+- _PopulateLists();
+-
+- _current_category = _number_categories > 0 ? _number_categories - 1 : 0;
+- _view_mode = SHOP_VIEW_MODE_LIST;
++ Reinitialize();
+ }
+
+
More information about the svn-ports-all
mailing list