Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dermot Bradley
aports
Commits
6d53bfce
Commit
6d53bfce
authored
8 years ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
testing/drawterm: fix segfault when starting rio
parent
f5150b2d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/drawterm/APKBUILD
+13
-6
13 additions, 6 deletions
testing/drawterm/APKBUILD
testing/drawterm/respect-env.patch
+22
-0
22 additions, 0 deletions
testing/drawterm/respect-env.patch
with
35 additions
and
6 deletions
testing/drawterm/APKBUILD
+
13
−
6
View file @
6d53bfce
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname
=
drawterm
pkgname
=
drawterm
pkgver
=
20170119
pkgver
=
20170119
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Connect to Plan 9 CPU servers from other operating systems"
pkgdesc
=
"Connect to Plan 9 CPU servers from other operating systems"
url
=
"http://drawterm.9front.org/"
url
=
"http://drawterm.9front.org/"
arch
=
"all !armhf !aarch64"
arch
=
"all !armhf !aarch64"
...
@@ -12,7 +12,7 @@ makedepends="linux-headers libx11-dev libxt-dev"
...
@@ -12,7 +12,7 @@ makedepends="linux-headers libx11-dev libxt-dev"
install
=
""
install
=
""
subpackages
=
"
$pkgname
-dbg"
subpackages
=
"
$pkgname
-dbg"
source
=
"http://dev.alpinelinux.org/archive/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz
source
=
"http://dev.alpinelinux.org/archive/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz
respect-
cflags
.patch"
respect-
env
.patch"
_srcurl
=
"https://code.9front.org/hg/
$pkgname
"
_srcurl
=
"https://code.9front.org/hg/
$pkgname
"
_srcrev
=
"169f32a871c9"
_srcrev
=
"169f32a871c9"
...
@@ -34,7 +34,14 @@ snapshot() {
...
@@ -34,7 +34,14 @@ snapshot() {
}
}
build
()
{
build
()
{
CONF
=
unix make
-C
"
$builddir
"
||
return
1
# Building drawterm with -Os currently causes a
# segfault after authentication on alpine. Thus
# disable our own CFLAGS for now.
unset
CFLAGS
CONF
=
unix make
X11INC
=
/usr/include/X11
\
X11LIB
=
/usr/lib/X11
\
-C
"
$builddir
"
||
return
1
}
}
package
()
{
package
()
{
...
@@ -47,8 +54,8 @@ package() {
...
@@ -47,8 +54,8 @@ package() {
}
}
md5sums
=
"98d9c8d514802b58cbbac50c52185371 drawterm-20170119.tar.gz
md5sums
=
"98d9c8d514802b58cbbac50c52185371 drawterm-20170119.tar.gz
e
9
2b5
f3aee4482dad62f1669705c42f9
respect-
cflags
.patch"
e
0
2b5
a0df664a5eec50ad58a79988f9c
respect-
env
.patch"
sha256sums
=
"aa7e170b39ae014d2687ad4dc99941695b02e4515054b6dfccc01a5261e4db7c drawterm-20170119.tar.gz
sha256sums
=
"aa7e170b39ae014d2687ad4dc99941695b02e4515054b6dfccc01a5261e4db7c drawterm-20170119.tar.gz
dfbe4ef43aefaab8c966b6fd05f7cf304415a0ec9353a43b562eb76c8c8ab6a0
respect-
cflags
.patch"
30f15a5b48d5f92107d5bedd28d3d619be8afedcb1063df5a94ca2c2609d632d
respect-
env
.patch"
sha512sums
=
"fec2895bd01940cd91ed6c4b73fd13ec6a55c5a5b2241f48430a73af44e6e4c649819a2ee9feee1880d4bf27ab007a229c6b5170039b73f1f19f8b0e6d04c510 drawterm-20170119.tar.gz
sha512sums
=
"fec2895bd01940cd91ed6c4b73fd13ec6a55c5a5b2241f48430a73af44e6e4c649819a2ee9feee1880d4bf27ab007a229c6b5170039b73f1f19f8b0e6d04c510 drawterm-20170119.tar.gz
b
d61f4b3c3de2b86bf35afaf95daed1beac3329e6e0f56e476fcd5607c39b83fc5700b6939c2a095e495be7c7708101e83f70074d3afdef1a58396270c23934f
respect-
cflags
.patch"
b
e42c27a550b49f13fa26cdd698fb4d8387d989141cae1a3671deceb82b9286c9f73772ec9731698c7ecef69949381f9eda8af1dc1d9957fa373752e52f809bb
respect-
env
.patch"
This diff is collapsed.
Click to expand it.
testing/drawterm/respect-
cflags
.patch
→
testing/drawterm/respect-
env
.patch
+
22
−
0
View file @
6d53bfce
diff -upr drawterm-20161016.orig/Make.unix drawterm-20161016/Make.unix
diff -upr drawterm-20170119.orig/Make.unix drawterm-20170119/Make.unix
--- drawterm-20161016.orig/Make.unix 2016-10-16 23:17:32.141093131 +0200
--- drawterm-20170119.orig/Make.unix 2017-01-23 22:41:27.402630694 +0100
+++ drawterm-20161016/Make.unix 2016-10-16 23:17:55.724316992 +0200
+++ drawterm-20170119/Make.unix 2017-01-23 22:41:43.879309573 +0100
@@ -6,7 +6,8 @@
AS=as
@@ -5,12 +5,15 @@
AR=ar
AS=as
RANLIB=ranlib
RANLIB=ranlib
X11=/usr/X11R6
X11=/usr/X11R6
CC=gcc
-
CC=gcc
-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
+X11INC=$(X11)/include
+X11LIB=$(X11)/lib
+CC?=gcc
+CFLAGS?=-O2
+CFLAGS?=-O2
+CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11
)/include
-D_THREAD_SAFE $(PTHREAD)
+CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11
INC)
-D_THREAD_SAFE $(PTHREAD)
O=o
O=o
OS=posix
OS=posix
GUI=x11
GUI=x11
-LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11 -ggdb
+LDADD=-L$(X11LIB) -lX11 -ggdb
LDFLAGS=$(PTHREAD)
TARG=drawterm
# AUDIO=none
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment