add patch-* files missed in last commit
This commit is contained in:
parent
93068e3d3d
commit
7b432b24a1
22
games/steamworks-nosteam/patches/patch-Makefile
Normal file
22
games/steamworks-nosteam/patches/patch-Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
remove build of Steamworks.NET.dll
|
||||
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
-all: Steamworks.NET/bin/Steamworks.NET.dll native wrapper cestub hlsteam
|
||||
+all: native wrapper cestub hlsteam
|
||||
|
||||
Steamworks.NET/bin/Steamworks.NET.dll: Steamworks.NET/*.cs \
|
||||
Steamworks.NET/*.csproj \
|
||||
@@ -29,8 +29,6 @@ Steamworks.NET/bin/Steamworks.NET.dll: Steamworks.NET/
|
||||
|
||||
install: all
|
||||
install -d $(PREFIX)/lib/steamworks-nosteam/
|
||||
- install Steamworks.NET/bin/Steamworks.NET.dll \
|
||||
- $(PREFIX)/lib/steamworks-nosteam/
|
||||
install native/libSteamworksNative.so.* \
|
||||
$(PREFIX)/lib/steamworks-nosteam/
|
||||
install wrapper/libsteamwrapper.so.* \
|
@ -0,0 +1,46 @@
|
||||
add stubs to steam.hdll
|
||||
|
||||
Index: hlsteam/native/common.cpp
|
||||
--- hlsteam/native/common.cpp.orig
|
||||
+++ hlsteam/native/common.cpp
|
||||
@@ -141,6 +141,31 @@ HL_PRIM bool HL_NAME(is_steam_running)(){
|
||||
return false;
|
||||
}
|
||||
|
||||
+HL_PRIM bool HL_NAME(delete_item)(){
|
||||
+ printf("%s\n", __func__);
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+HL_PRIM bool HL_NAME(get_app_dependencies)(){
|
||||
+ printf("%s\n", __func__);
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+HL_PRIM bool HL_NAME(is_subscribed_from_family_sharing)(){
|
||||
+ printf("%s\n", __func__);
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+HL_PRIM bool HL_NAME(remove_app_dependency)(){
|
||||
+ printf("%s\n", __func__);
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+HL_PRIM void HL_NAME(add_app_dependency)(){
|
||||
+ printf("%s\n", __func__);
|
||||
+ return;
|
||||
+}
|
||||
+
|
||||
HL_PRIM vbyte *HL_NAME(get_current_game_language)(){
|
||||
printf("%s\n", __func__);
|
||||
if (!CheckInit()) return NULL;
|
||||
@@ -191,3 +216,8 @@ DEFINE_PRIM(_BYTES, get_current_game_language, _NO_ARG
|
||||
DEFINE_PRIM(_BYTES, get_auth_ticket, _REF(_I32) _REF(_I32));
|
||||
DEFINE_PRIM(_VOID, cancel_call_result, _CRESULT);
|
||||
DEFINE_PRIM(_BYTES, get_current_beta_name, _NO_ARG);
|
||||
+DEFINE_PRIM(_BOOL, delete_item, _NO_ARG);
|
||||
+DEFINE_PRIM(_BOOL, get_app_dependencies, _NO_ARG);
|
||||
+DEFINE_PRIM(_BOOL, is_subscribed_from_family_sharing, _NO_ARG);
|
||||
+DEFINE_PRIM(_BOOL, remove_app_dependency, _NO_ARG);
|
||||
+DEFINE_PRIM(_VOID, add_app_dependency, _NO_ARG);
|
Loading…
x
Reference in New Issue
Block a user