Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
680
Issues
680
List
Boards
Labels
Service Desk
Milestones
Merge Requests
206
Merge Requests
206
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
7accb497
Commit
7accb497
authored
Sep 16, 2016
by
Sören Tempel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/pcc: add multiarch patch from gentoo
Should fix build on x86.
parent
cc31e0e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
testing/pcc/APKBUILD
testing/pcc/APKBUILD
+6
-2
testing/pcc/multiarch.patch
testing/pcc/multiarch.patch
+12
-0
No files found.
testing/pcc/APKBUILD
View file @
7accb497
...
...
@@ -2,17 +2,18 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname
=
pcc
pkgver
=
1.1.0
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The portable C compiler."
url
=
"http://pcc.ludd.ltu.se/"
arch
=
"x86 x86_64"
license
=
"BSD"
depends
=
"pcc-libs-dev
bison
"
depends
=
"pcc-libs-dev"
depends_dev
=
""
makedepends
=
"bison flex"
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"ftp://pcc.ludd.ltu.se/pub/
$pkgname
-releases/
$pkgname
-
$pkgver
.tgz
multiarch.patch
musl-fixes.patch"
builddir
=
"
$srcdir
/"
$pkgname
-
$pkgver
...
...
@@ -51,8 +52,11 @@ package() {
}
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"
testing/pcc/multiarch.patch
0 → 100644
View file @
7accb497
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 }
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment