File tree Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ if [ "$QEMU" != "" ]; then
82
82
export GIT_SSL_NO_VERIFY=1
83
83
git clone http://salsa.debian.org/science-team/euslisp /tmp/euslisp-dfsg
84
84
for file in $( cat /tmp/euslisp-dfsg/debian/patches/series) ; do
85
+ # skip patches already applied by https://github.com/euslisp/EusLisp/pull/482
86
+ [[ $file =~ use-rtld-global-loadelf.patch| fix-arm-ldflags.patch| fix-library-not-linked-against-libc.patch| fix-manpage-has-bad-whatis-entry-on-man-pages.patch ]] && continue ;
85
87
# skip patch already applied by https://github.com/euslisp/EusLisp/pull/441
86
88
if [[ $file =~ fix-for-reprotest.patch ]]; then
87
89
filterdiff -p1 -x ' lisp/image/jpeg/makefile' -x ' lisp/comp/comp.l' < /tmp/euslisp-dfsg/debian/patches/$file > /tmp/euslisp-dfsg/debian/patches/$file -fix
Original file line number Diff line number Diff line change 1
1
.TH eus 1 "Apr/20/1989"
2
2
.SH NAME
3
- eus eusx euscomp eusxview eusview \- EusLisp
3
+ eus \- EusLisp
4
4
.SH SYNOPSIS
5
5
.nf
6
6
eus [start-up-files]
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ CFLAGS:= $(CFLAGS) $(CPPFLAGS) $(WFLAGS) -D$(MACHINE) -DLinux -D_REENTRANT -DVER
74
74
75
75
# machine specific CFLAGS
76
76
ifneq ($(shell gcc -dumpmachine | egrep "^(arm|aarch)"),)
77
- ADD_LDFLAGS=-Wl,-z,execstack
77
+ ADD_LDFLAGS+ =-Wl,-z,execstack
78
78
CFLAGS+=-DARM -fPIC
79
79
ARCH=LinuxARM
80
80
endif
Original file line number Diff line number Diff line change 67
67
# On Solaris, XLIB and EUSLIB are combined together into lib/libeusx.so.
68
68
69
69
# Linux
70
- RAWLIB=-ldl -lm -lpthread
70
+ RAWLIB=-ldl -lm -lpthread -lc
71
71
XLIB= -L/usr/X11R6/lib -lX11
72
72
73
73
# specify directories where euslisp's libraries are located.
Original file line number Diff line number Diff line change 92
92
# On Solaris, XLIB and EUSLIB are combined together into lib/libeusx.so.
93
93
94
94
# Linux
95
- RAWLIB=-ldl -lm -lpthread
95
+ RAWLIB=-ldl -lm -lpthread -lc
96
96
XLIB= -L/usr/X11R6/lib -lX11
97
97
98
98
# specify directories where euslisp's libraries are located.
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ pointer initnames;
160
160
void * dlhandle ;
161
161
char namebuf [256 ];
162
162
163
- dlhandle = dlopen (0 ,RTLD_LAZY );
163
+ dlhandle = dlopen (0 ,RTLD_LAZY | RTLD_GLOBAL );
164
164
if (dlhandle == NULL ) {
165
165
fprintf (stderr , "cannot dlopen self\n" ); exit (2 );}
166
166
module_count = 0 ;
@@ -386,7 +386,7 @@ pointer *argv;
386
386
else entry = (char * )get_string (argv [1 ]);}
387
387
else entry = NULL ;
388
388
389
- dlhandle = (eusinteger_t )dlopen (binfn , RTLD_LAZY );/* ???? */
389
+ dlhandle = (eusinteger_t )dlopen (binfn , RTLD_LAZY | RTLD_GLOBAL );/* ???? */
390
390
if (dlhandle == 0 ) {
391
391
fprintf (stderr ,"BINLOAD cannot dlopen: %s\n" , dlerror ());
392
392
return (NIL );}
You can’t perform that action at this time.
0 commit comments