mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
swiften: fix indentation of fix-cross-build.patch
This used to apply fine previously due to more lax default patch_args, fix it to build in 2022.
This commit is contained in:
parent
1a8fd21512
commit
dbc955ce28
1 changed files with 14 additions and 14 deletions
|
@ -1,19 +1,19 @@
|
||||||
--- a/3rdParty/LibMiniUPnPc/SConscript 2016-09-07 10:29:12.251340787 +0200
|
--- a/3rdParty/LibMiniUPnPc/SConscript 2016-09-07 10:29:12.251340787 +0200
|
||||||
+++ b/3rdParty/LibMiniUPnPc/SConscript 2016-09-07 10:29:49.165342691 +0200
|
+++ b/3rdParty/LibMiniUPnPc/SConscript 2016-09-07 10:29:49.165342691 +0200
|
||||||
@@ -46,11 +46,11 @@
|
@@ -46,11 +46,11 @@ if env.get("LIBMINIUPNPC_BUNDLED", False) :
|
||||||
if myenv["PLATFORM"] == "win32":
|
if myenv["PLATFORM"] == "win32":
|
||||||
myenv.Append(CCFLAGS = ["-DWIN32", "-D_WIN32_WINNT=0x0501"])
|
myenv.Append(CCFLAGS = ["-DWIN32", "-D_WIN32_WINNT=0x0501"])
|
||||||
|
|
||||||
- if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
|
- if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
|
||||||
- conf = Configure(conf_env)
|
- conf = Configure(conf_env)
|
||||||
- if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
|
- if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
|
||||||
- myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
|
- myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
|
||||||
- conf.Finish()
|
- conf.Finish()
|
||||||
+ #if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
|
+ #if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
|
||||||
+ # conf = Configure(conf_env)
|
+ # conf = Configure(conf_env)
|
||||||
+ # if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
|
+ # if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
|
||||||
+ # myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
|
+ # myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
|
||||||
+ # conf.Finish()
|
+ # conf.Finish()
|
||||||
|
|
||||||
myenv.WriteVal("src/miniupnpc/miniupnpcstrings.h", myenv.Value(
|
myenv.WriteVal("src/miniupnpc/miniupnpcstrings.h", myenv.Value(
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue