Hello community,

here is the log from the commit of package nodejs for openSUSE:Factory checked 
in at 2015-04-27 13:02:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes    2015-03-19 
21:26:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes       2015-04-27 
13:02:27.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr  3 19:40:20 UTC 2015 - [email protected]
+
+- enable aarch64
+- add support-arm64-build.patch
+
+-------------------------------------------------------------------

New:
----
  support-arm64-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs.spec ++++++
--- /var/tmp/diff_new_pack.mn8LcL/_old  2015-04-27 13:02:28.000000000 +0200
+++ /var/tmp/diff_new_pack.mn8LcL/_new  2015-04-27 13:02:28.000000000 +0200
@@ -27,6 +27,7 @@
 Source99:       README.SUSE.PowerPC
 Patch1:         nodejs-openssl-missing-api.patch
 Patch2:         nodejs-v%{version}-release-ppc.patch.bz2
+Patch3:         support-arm64-build.patch
 BuildRequires:  curl
 BuildRequires:  gcc-c++
 BuildRequires:  procps
@@ -52,7 +53,7 @@
 Provides:       nodejs(engine) = %{version}
 
 #building nodejs makes sense only on v8 archs
-ExclusiveArch:  %{ix86} x86_64 %{arm} ppc ppc64 ppc64le s390x
+ExclusiveArch:  %{ix86} x86_64 armv7hl aarch64 ppc ppc64 ppc64le s390x
 
 %description
 Provides an easy way to build scalable network programs
@@ -86,6 +87,7 @@
 # need rebase
 #%patch1 -p0
 %patch2 -p1
+%patch3
 # Make sure nothing gets included from bundled deps:
 # We only delete the source and header files, because
 # the remaining build scripts are still used.
@@ -106,21 +108,28 @@
     --prefix=%{_prefix} \
     --shared-openssl \
     --shared-zlib \
+%ifarch aarch64
+    --dest-cpu=arm64 \
+%endif
 %ifarch s390x
     --dest-cpu=s390x \
 %endif
-%ifnarch ppc ppc64 ppc64le s390x
+%ifnarch aarch64 ppc ppc64 ppc64le s390x
     --gdb \
 %endif
     --without-npm \
     --without-dtrace
 #    --shared-v8 \
 #    --shared-cares 
+%ifarch aarch64
+make DESTCPU=arm64
+%else
 %ifarch s390x
 make DESTCPU=s390x
 %else
 make %{?_smp_mflags}
 %endif
+%endif
 
 %install
 %{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}

++++++ support-arm64-build.patch ++++++
--- configure
+++ configure
@@ -444,6 +444,7 @@
   matchup = {
     '__x86_64__'  : 'x64',
     '__i386__'    : 'ia32',
+    '__aarch64__' : 'arm64',
     '__arm__'     : 'arm',
     '__mips__'    : 'mips',
     '__PPC64__'   : 'ppc64',
--- Makefile
+++ Makefile
@@ -255,6 +255,9 @@
 ifeq ($(DESTCPU),arm)
 ARCH=arm
 else
+ifeq ($(DESTCPU),arm64)
+ARCH=arm64
+else
 ifeq ($(DESTCPU),ppc)
 ARCH=ppc
 else
@@ -271,6 +274,7 @@
 endif
 endif
 endif
+endif
 endif
 endif
 endif

Reply via email to