Compare commits
No commits in common. "2e2b87b7148e7e041ca0cbb464df30fa9a1ad6c1" and "c70790bf627b45704abda33e643d0830f13ab17d" have entirely different histories.
2e2b87b714
...
c70790bf62
@ -49,9 +49,8 @@ enum __signals
|
|||||||
SIGPIPE = 13,
|
SIGPIPE = 13,
|
||||||
SIGALRM = 14,
|
SIGALRM = 14,
|
||||||
SIGTERM = 15,
|
SIGTERM = 15,
|
||||||
SIGTTIN,
|
SIGTTIN = 16,
|
||||||
SIGTTOU,
|
SIGTTOU = 17,
|
||||||
SIGWINCH,
|
|
||||||
// FIXME: Add the remaining signals.
|
// FIXME: Add the remaining signals.
|
||||||
__NSIG,
|
__NSIG,
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,6 @@ Try to keep this list in alphabetical order.
|
|||||||
|
|
||||||
Name | Version | Description | URL
|
Name | Version | Description | URL
|
||||||
---|---|--- | ---
|
---|---|--- | ---
|
||||||
bc | 6.6.0 | An implementation of the POSIX bc calculator | https://github.com/gavinhoward/bc
|
|
||||||
minitar | 1.7.5 | Tiny and easy-to-use C library to read/write tar archives | https://git.cloudapio.eu/apio/minitar
|
minitar | 1.7.5 | Tiny and easy-to-use C library to read/write tar archives | https://git.cloudapio.eu/apio/minitar
|
||||||
nasm | 2.16.01 | An assembler for the x86 CPU architecture | https://nasm.us
|
nasm | 2.16.01 | An assembler for the x86 CPU architecture | https://nasm.us
|
||||||
|
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
# Basic information
|
|
||||||
name="bc"
|
|
||||||
version="6.6.0"
|
|
||||||
|
|
||||||
# Download options
|
|
||||||
format="git"
|
|
||||||
url="https://github.com/gavinhoward/bc"
|
|
||||||
tag="$version"
|
|
||||||
|
|
||||||
# Build instructions
|
|
||||||
|
|
||||||
do_patch()
|
|
||||||
{
|
|
||||||
patch -u -i $portdir/bc.patch -p 1 -d $srcdir
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure()
|
|
||||||
{
|
|
||||||
HOSTCC=gcc PREFIX="/usr" $srcdir/configure --disable-nls --bc-only --disable-history --disable-man-pages
|
|
||||||
}
|
|
||||||
|
|
||||||
default_build_make=true
|
|
||||||
default_install_make=true
|
|
@ -1,29 +0,0 @@
|
|||||||
diff --git a/include/library.h b/include/library.h
|
|
||||||
index 1edd3757..377dd8ae 100644
|
|
||||||
--- a/include/library.h
|
|
||||||
+++ b/include/library.h
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
#ifndef LIBBC_PRIVATE_H
|
|
||||||
#define LIBBC_PRIVATE_H
|
|
||||||
|
|
||||||
-#ifndef _WIN32
|
|
||||||
+#if !defined(_WIN32) && !defined(__luna__)
|
|
||||||
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
@@ -386,10 +386,14 @@ typedef struct BclCtxt
|
|
||||||
BcVm*
|
|
||||||
bcl_getspecific(void);
|
|
||||||
|
|
||||||
-#ifndef _WIN32
|
|
||||||
+#if !defined(_WIN32) && !defined(__luna__)
|
|
||||||
|
|
||||||
typedef pthread_key_t BclTls;
|
|
||||||
|
|
||||||
+#elif __luna__
|
|
||||||
+
|
|
||||||
+typedef int BclTls;
|
|
||||||
+
|
|
||||||
#else // _WIN32
|
|
||||||
|
|
||||||
typedef DWORD BclTls;
|
|
@ -38,11 +38,11 @@ mkdir -p $LUNA_BASE/usr/share/pkgdb/
|
|||||||
|
|
||||||
cd $LUNA_BASE
|
cd $LUNA_BASE
|
||||||
|
|
||||||
find -type f | sed 's|^./||' > /tmp/before.list
|
find -type f > /tmp/before.list
|
||||||
|
|
||||||
tar -C $LUNA_BASE -xf $LUNA_ROOT/ports/local/$name-$version.tar.gz
|
tar -C $LUNA_BASE -xf $LUNA_ROOT/ports/local/$name-$version.tar.gz
|
||||||
|
|
||||||
find -type f | sed 's|^./||' > /tmp/after.list
|
find -type f > /tmp/after.list
|
||||||
|
|
||||||
awk 'FNR==NR {a[$0]++; next} !($0 in a)' /tmp/before.list /tmp/after.list > $LUNA_BASE/usr/share/pkgdb/$name.files
|
awk 'FNR==NR {a[$0]++; next} !($0 in a)' /tmp/before.list /tmp/after.list > $LUNA_BASE/usr/share/pkgdb/$name.files
|
||||||
|
|
||||||
|
@ -61,11 +61,6 @@ case $format in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
export CC=x86_64-luna-gcc
|
|
||||||
export CXX=x86_64-luna-g++
|
|
||||||
export CC_FOR_BUILD=gcc
|
|
||||||
export CXX_FOR_BUILD=g++
|
|
||||||
|
|
||||||
mkdir -p $builddir
|
mkdir -p $builddir
|
||||||
cd $builddir
|
cd $builddir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user