aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCág <ca6c@bitmessage.ch>2017-06-15 13:44:56 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-20 06:21:42 +0000
commit30231cb7bc477434bb821458177c890011fb81f9 (patch)
tree32fc72c9aa17a96d64e0fac4e61c0f2f064eb4c9 /community
parent4057ef45815d04b7f538739b9c9dc2bc78e0ff84 (diff)
downloadaports-30231cb7bc477434bb821458177c890011fb81f9.tar.bz2
aports-30231cb7bc477434bb821458177c890011fb81f9.tar.xz
community/pcc: update to the latest snapshot
Once again, please ignore the previous patch, the checksums didn't match. Sorry for the inconvenience.
Diffstat (limited to 'community')
-rw-r--r--community/pcc/APKBUILD22
-rw-r--r--community/pcc/multiarch.patch12
-rw-r--r--community/pcc/musl-fixes.patch20
3 files changed, 6 insertions, 48 deletions
diff --git a/community/pcc/APKBUILD b/community/pcc/APKBUILD
index 2e3633a8c1..876b95f5af 100644
--- a/community/pcc/APKBUILD
+++ b/community/pcc/APKBUILD
@@ -1,20 +1,18 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=pcc
-pkgver=1.1.0
-pkgrel=1
+pkgver=20170615
+pkgrel=0
pkgdesc="The portable C compiler."
url="http://pcc.ludd.ltu.se/"
arch="x86 x86_64"
license="BSD"
depends="pcc-libs-dev"
depends_dev=""
-makedepends="bison flex"
+makedepends="byacc flex"
install=""
subpackages="$pkgname-doc"
-source="ftp://pcc.ludd.ltu.se/pub/$pkgname-releases/$pkgname-$pkgver.tgz
- multiarch.patch
- musl-fixes.patch"
+source="ftp://pcc.fludd.ltu.se/pub/$pkgname/$pkgname-$pkgver.tgz"
builddir="$srcdir/"$pkgname-$pkgver
prepare() {
@@ -52,12 +50,4 @@ package() {
"$pkgdir"/usr/share/man/man1/$pkgname-cpp.1 || return 1
}
-md5sums="1c0f22440753075d64f9f2c6ed0e8278 pcc-1.1.0.tgz
-25149154030d2eefd3f5571674943d16 multiarch.patch
-7991640873523a3773721c9236728a2c musl-fixes.patch"
-sha256sums="d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64 pcc-1.1.0.tgz
-46c7065937175e91eb9ce6d41767b7d5d69554e191049389f3e36b6fee0a29e1 multiarch.patch
-4d82536428dd42912ff9af025a95e405104b1c4491aab571189f66ab0dfa9104 musl-fixes.patch"
-sha512sums="5bd2b59fbb323016d215023ce77793ae66766e8e8192b44bf0707ee444658022e1645669c13eea8c81bc55c161eea3b0271d6b3098b8a7d51ce67eb86c7527b4 pcc-1.1.0.tgz
-ef401677c27beb83005dae25151ec5c31bea04056733971ddaba2632868c024043e3faafbef16fe6b74713c96a54aa68681428dc11a2e3da7bd328376e72ee66 multiarch.patch
-0226a3f9d710840d7f710bc033d7eae6e5d5c8137eca6fe4147467066cb9fecf6acd03dc92f1559f4509eab84b5cc0e6c9533f2114903603644f728a411dc023 musl-fixes.patch"
+sha512sums="cfe96b0760e5a6f0006cddd7874fa20213a5a0744b3b863cecc4ad9a9d98d3e678ecdfcce6c7407527144cb02b6ed6547cb7b59417ce53f49623c126058224e8 pcc-20170615.tgz"
diff --git a/community/pcc/multiarch.patch b/community/pcc/multiarch.patch
deleted file mode 100644
index 087fda3c20..0000000000
--- a/community/pcc/multiarch.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr pcc-1.1.0.orig/cc/cc/cc.c pcc-1.1.0/cc/cc/cc.c
---- pcc-1.1.0.orig/cc/cc/cc.c 2016-09-16 20:38:14.932292071 +0200
-+++ pcc-1.1.0/cc/cc/cc.c 2016-09-16 20:39:17.022094921 +0200
-@@ -206,7 +206,7 @@ char *cppmdadd[] = CPPMDADD;
- #define PCCLIBDIR NULL
- #endif
- #ifndef DEFLIBDIRS /* default library search paths */
--#ifdef MULTIARCH_PATH
-+#ifndef MULTIARCH_PATH
- #define DEFLIBDIRS { "/usr/lib/", 0 }
- #else
- #define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }
diff --git a/community/pcc/musl-fixes.patch b/community/pcc/musl-fixes.patch
deleted file mode 100644
index cc58137c7f..0000000000
--- a/community/pcc/musl-fixes.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -upr pcc-1.1.0.orig/os/linux/ccconfig.h pcc-1.1.0/os/linux/ccconfig.h
---- pcc-1.1.0.orig/os/linux/ccconfig.h 2016-09-16 20:00:46.350281549 +0200
-+++ pcc-1.1.0/os/linux/ccconfig.h 2016-09-16 20:04:28.006146652 +0200
-@@ -39,14 +39,14 @@
-
- #if defined(mach_i386)
- #define CPPMDADD { "-D__i386__", NULL, }
--#define DYNLINKER { "-dynamic-linker", "/lib/ld-linux.so.2", NULL }
-+#define DYNLINKER { "-dynamic-linker", "/lib/ld-musl-i386.so.1", NULL }
- #elif defined(mach_powerpc)
- #define CPPMDADD { "-D__ppc__", NULL, }
- #define DYNLINKER { "-dynamic-linker", "/lib/ld-linux.so.2", NULL }
- #elif defined(mach_amd64)
- #define CPPMDADD { "-D__x86_64__", "-D__x86_64", "-D__amd64__", \
- "-D__amd64", "-D__LP64__", "-D_LP64", NULL, }
--#define DYNLINKER { "-dynamic-linker", "/lib64/ld-linux-x86-64.so.2", NULL }
-+#define DYNLINKER { "-dynamic-linker", "/lib/ld-musl-x86_64.so.1", NULL }
- #ifndef MULTIARCH_PATH
- #define DEFLIBDIRS { "/usr/lib64/", 0 }
- #else