mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Ports: Update libmodplug's patches to use git patches
This commit is contained in:
parent
4007f69976
commit
70a8cb0ac3
24
Ports/libmodplug/patches/0001-Include-strings.h.patch
Normal file
24
Ports/libmodplug/patches/0001-Include-strings.h.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
From 8042f44a1358f080e28e727b3deecd43b046a8f7 Mon Sep 17 00:00:00 2001
|
||||
From: xSlendiX <gamingxslendix@gmail.com>
|
||||
Date: Sat, 18 Sep 2021 16:19:50 +0300
|
||||
Subject: [PATCH] Include strings.h
|
||||
|
||||
---
|
||||
src/libmodplug/stdafx.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/libmodplug/stdafx.h b/src/libmodplug/stdafx.h
|
||||
index d45d949..23c66fc 100644
|
||||
--- a/src/libmodplug/stdafx.h
|
||||
+++ b/src/libmodplug/stdafx.h
|
||||
@@ -62,6 +62,7 @@ inline void ProcessPlugins(int n) {}
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
--
|
||||
2.36.1
|
||||
|
7
Ports/libmodplug/patches/ReadMe.md
Normal file
7
Ports/libmodplug/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Patches for libmodplug on SerenityOS
|
||||
|
||||
## `0001-Include-strings.h.patch`
|
||||
|
||||
Include strings.h
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -Naur libmodplug-0.8.8.5/src/libmodplug/stdafx.h libmodplug-0.8.8.5.serenity/src/libmodplug/stdafx.h
|
||||
index 3eacf1da6..871fb6d82 100644
|
||||
--- libmodplug-0.8.8.5/src/libmodplug/stdafx.h
|
||||
+++ libmodplug-0.8.8.5.serenity/src/libmodplug/stdafx.h
|
||||
@@ -57,6 +57,7 @@ inline void ProcessPlugins(int n) {}
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
Loading…
Reference in a new issue