Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
e6c0a64f
Commit
e6c0a64f
authored
Feb 11, 2018
by
lovedheart
Committed by
Ed Reel
Feb 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[cbase] fix error on arm architecture (#1857)
* Update cbase.rb * Update cbase.rb * Update cbase.rb
parent
263dcf5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
packages/cbase.rb
packages/cbase.rb
+11
-5
No files found.
packages/cbase.rb
View file @
e6c0a64f
...
...
@@ -3,20 +3,26 @@ require 'package'
class
Cbase
<
Package
description
'cbase is a C library of useful functions that simplify systems software development on System V UNIX.'
homepage
'http://www.hyperrealm.com/oss_cbase.shtml'
version
'1.3.7-
1
'
version
'1.3.7-
2
'
source_url
'http://www.hyperrealm.com/packages/cbase-1.3.7.tar.gz'
source_sha256
'c4d155686ac2e9d1480319de311967fadad745a6ab6971d53d495d9a9e52dc47'
binary_url
({
i686:
'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
i686:
'9ce31b80b473652f8da8ede23294d5a8c7fb4b4d9c678d9452a3f8d77a91a8a0'
,
x86_64:
'2f504105cc4c0aef846e0d5fc272a7baf919517f40cc19a86e55b59c12ab0d61'
,
})
depends_on
'expat'
def
self
.
build
# fix error on arm architecture
case
ARCH
when
'armv7l'
,
'aarch64'
Dir
.
chdir
(
"lib"
)
do
system
"sed -i '376c if (&vp == NULL)' strings.c"
# change from if(!vp) to if (&vp == NULL), tested on armv7l
end
end
system
"./configure --prefix=
#{
CREW_PREFIX
}
"
system
"make"
end
...
...
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