Browse Source

apt: Update from 1.2.1 to 1.2.3

android-5
Fredrik Fornwall 9 years ago
parent
commit
53882d1b07
  1. 14
      packages/apt/apt-pkg-deb-debindexfile.cc.patch
  2. 11
      packages/apt/apt-pkg-edsp-edspsystem.cc.patch
  3. 3
      packages/apt/build.sh

14
packages/apt/apt-pkg-deb-debindexfile.cc.patch

@ -0,0 +1,14 @@
diff -u -r ../apt-1.2.3/apt-pkg/deb/debindexfile.cc ./apt-pkg/deb/debindexfile.cc
--- ../apt-1.2.3/apt-pkg/deb/debindexfile.cc 2016-02-10 12:02:45.000000000 -0500
+++ ./apt-pkg/deb/debindexfile.cc 2016-02-18 02:44:56.707323056 -0500
@@ -26,8 +26,10 @@
#include <stdio.h>
#include <iostream>
+#include <stdlib.h>
#include <string>
#include <sstream>
+#include <unistd.h>
#include <sys/stat.h>
/*}}}*/

11
packages/apt/apt-pkg-edsp-edspsystem.cc.patch

@ -1,11 +0,0 @@
diff -u -r ../apt-1.1.3/apt-pkg/edsp/edspsystem.cc ./apt-pkg/edsp/edspsystem.cc
--- ../apt-1.1.3/apt-pkg/edsp/edspsystem.cc 2015-11-30 03:08:24.000000000 -0500
+++ ./apt-pkg/edsp/edspsystem.cc 2015-12-03 16:33:49.052450163 -0500
@@ -21,6 +21,7 @@
#include <stddef.h>
#include <unistd.h>
+#include <stdlib.h> /* For mkdtemp */
#include <string>
#include <vector>

3
packages/apt/build.sh

@ -1,8 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
TERMUX_PKG_DEPENDS="liblzma, libgnustl, dpkg, gnupg"
TERMUX_PKG_VERSION=1.2.1
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_VERSION=1.2.3
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--host=${TERMUX_ARCH}-linux --disable-rpath acl_cv_rpath=$TERMUX_PREFIX/lib gt_cv_func_CFPreferencesCopyAppValue=no gt_cv_func_CFLocaleCopyCurrent=no ac_cv_c_bigendian=no --no-create"
# When ready to drop bz2 support:

Loading…
Cancel
Save