- 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.
This commit is contained in:
parent
d2aa15c252
commit
51260e7016
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318861
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= valyriatear
|
||||
PORTVERSION= 0.5.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
16
games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp
Normal file
16
games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp
Normal file
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user