-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed sangnom and vcmod build instructions
- Loading branch information
Georg Pelz
committed
Apr 17, 2021
1 parent
21087a6
commit f8ee1b9
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
hg clone https://bitbucket.org/James1201/vapoursynth-sangnom build | ||
cd build | ||
build libsangnom | ||
ghdl dubhater/vapoursynth-sangnom | ||
CFLAGS="$CFLAGS -Wno-deprecated-declarations" meson build --prefix="$vsprefix" | ||
ninja -C build -j $JOBS | ||
ninja -C build install -j $JOBS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/modNeural.cpp.esee b/modNeural.cpp | ||
index d4135b6..ba73036 100644 | ||
--- a/modNeural.cpp.esee | ||
+++ b/modNeural.cpp | ||
@@ -8,6 +8,19 @@ Author V.C.Mohan | ||
Aug 26, 2017, Aug 20, 2020 | ||
********************************************************************************/ | ||
|
||
+#if defined(__unix__) | ||
+static inline void linux_strcpy_s(char *dest, size_t destsz, const char *src){ | ||
+ strcpy(dest, src); | ||
+} | ||
+ | ||
+static inline void linux_strcat_s(char *dest, size_t destsz, const char *src){ | ||
+ strcat(dest, src); | ||
+} | ||
+ | ||
+#define strcpy_s linux_strcpy_s | ||
+#define strcat_s linux_strcat_s | ||
+#endif | ||
+ | ||
|
||
typedef struct { | ||
|