Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Compare Revisions
d1af27757f3bf5fc0ae31ead7bd8d91b8d5fafd0...ad2b9daadedcd02d28438d57cdeded4dad24ad5b
Source
ad2b9daadedcd02d28438d57cdeded4dad24ad5b
Select Git revision
...
Target
d1af27757f3bf5fc0ae31ead7bd8d91b8d5fafd0
Select Git revision
Compare
Commits (1)
"I'm going to do this rught now, I'm going to post it and I will
· ad2b9daa
Deuce
authored
Dec 19, 2020
have contributed *something*." -- Cyan
ad2b9daa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
3 deletions
+34
-3
3rdp/build/GNUmakefile
3rdp/build/GNUmakefile
+2
-1
3rdp/build/imacro-asm-fix.patch
3rdp/build/imacro-asm-fix.patch
+11
-0
3rdp/build/js-configure.patch
3rdp/build/js-configure.patch
+21
-2
No files found.
3rdp/build/GNUmakefile
View file @
ad2b9daa
...
...
@@ -48,7 +48,7 @@ $(JS_SRC): | $(3RDPSRCDIR)
$(JS_IDIR)
:
| $(3RDPODIR)
$(QUIET)$(IFNOTEXIST)
mkdir
$(JS_IDIR)
$(JSLIB_BUILD)
:
$(3RDP_ROOT)$(DIRSEP)dist/libmozjs.tgz $(3RDP_ROOT)$(DIRSEP)build/js_src_jsnativestack_cpp.patch $(3RDP_ROOT)$(DIRSEP)build/js-configure.patch $(3RDP_ROOT)$(DIRSEP)build/js-configure.in.patch | $(JS_SRC) $(JS_IDIR)
$(JSLIB_BUILD)
:
$(3RDP_ROOT)$(DIRSEP)dist/libmozjs.tgz $(3RDP_ROOT)$(DIRSEP)build/js_src_jsnativestack_cpp.patch $(3RDP_ROOT)$(DIRSEP)build/js-configure.patch $(3RDP_ROOT)$(DIRSEP)build/js-configure.in.patch
$(3RDP_ROOT)$(DIRSEP)build/imacro-asm-fix.patch
| $(JS_SRC) $(JS_IDIR)
@
echo
Creating
$@
...
$(QUIET)
-rm
-rf
$(JS_SRC)
/
*
$(QUIET)
tar
-xzC
$(JS_SRC)
-f
$(3RDPDISTDIR)$(DIRSEP)
libmozjs.tgz
...
...
@@ -56,6 +56,7 @@ $(JSLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/libmozjs.tgz $(3RDP_ROOT)$(DIRSEP)buil
$(QUIET)
patch
-b
-p0
-d
$(JS_SRC)$(DIRSEP)
js-1.8.5 < js_src_jsnativestack_cpp.patch
$(QUIET)
patch
-b
-p0
-d
$(JS_SRC)
< js-configure.patch
$(QUIET)
patch
-b
-p0
-d
$(JS_SRC)
< js-configure.in.patch
$(QUIET)
patch
-b
-p0
-d
$(JS_SRC)
< imacro-asm-fix.patch
-
$(QUIET)
cd
$(JS_SRC)$(DIRSEP)
js-1.8.5
$(DIRSEP)
js
$(DIRSEP)
src
&&
autoconf-2.13
$(QUIET)
cd
$(JS_SRC)$(DIRSEP)
js-1.8.5
$(DIRSEP)
js
$(DIRSEP)
src
&&
env
$(JS_CONFIGURE_ENV)
./configure
$(JS_CONFIGURE_ARGS)
$(QUIET)$(MAKE)
-C
$(JS_SRC)$(DIRSEP)
js-1.8.5
$(DIRSEP)
js
$(DIRSEP)
src
...
...
3rdp/build/imacro-asm-fix.patch
0 → 100644
View file @
ad2b9daa
--- js-1.8.5/js/src/imacro_asm.py 2020-12-19 01:15:38.325248687 -0800
+++ js-1.8.5/js/src/imacro_asm.py 2020-12-19 01:15:30.005192001 -0800
@@ -456,7 +456,7 @@
if __name__ == '__main__':
import sys
if len(sys.argv) != 3:
- print "usage: python imacro_asm.py infile.jsasm outfile.c.out"
+ print("usage: python imacro_asm.py infile.jsasm outfile.c.out")
sys.exit(1)
f = open(sys.argv[2], 'w')
3rdp/build/js-configure.patch
View file @
ad2b9daa
--- js-1.8.5/js/src/configure.orig 2011-03-31 12:08:36.000000000 -0700
+++ js-1.8.5/js/src/configure 2014-01-03 01:02:00.000000000 -0800
--- js-1.8.5/js/src/configure 2011-03-31 12:08:36.000000000 -0700
+++ js-1.8.5/js/src/configure 2020-12-19 01:02:37.189932487 -0800
@@ -6391,12 +6391,12 @@
echo $ac_n "checking for Python version >= $PYTHON_VERSION but not 3.x""... $ac_c" 1>&6
echo "configure:6393: checking for Python version >= $PYTHON_VERSION but not 3.x" >&5
-$PYTHON -c "import sys; sys.exit(sys.version[:3] < sys.argv[1] or sys.version[:2] != '2.')" $PYTHON_VERSION
-_python_res=$?
-
-if test "$_python_res" != 0; then
- { echo "configure: error: Python $PYTHON_VERSION or higher (but not Python 3.x) is required." 1>&2; exit 1; }
-fi
+#$PYTHON -c "import sys; sys.exit(sys.version[:3] < sys.argv[1] or sys.version[:2] != '2.')" $PYTHON_VERSION
+#_python_res=$?
+#
+#if test "$_python_res" != 0; then
+# { echo "configure: error: Python $PYTHON_VERSION or higher (but not Python 3.x) is required." 1>&2; exit 1; }
+#fi
echo "$ac_t""yes" 1>&6
@@ -9446,7 +9446,7 @@
echo "$ac_t""$ac_cv_have_visibility_builtin_bug" 1>&6
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
...
...