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
8282 export GIT_SSL_NO_VERIFY=1
8383 git clone http://salsa.debian.org/science-team/euslisp /tmp/euslisp-dfsg
8484 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 ;
8587 # skip patch already applied by https://github.com/euslisp/EusLisp/pull/441
8688 if [[ $file =~ fix-for-reprotest.patch ]]; then
8789 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 11.TH eus 1 "Apr/20/1989"
22.SH NAME
3- eus eusx euscomp eusxview eusview \- EusLisp
3+ eus \- EusLisp
44.SH SYNOPSIS
55.nf
66eus [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
7474
7575# machine specific CFLAGS
7676ifneq ($(shell gcc -dumpmachine | egrep "^(arm|aarch)"),)
77- ADD_LDFLAGS=-Wl,-z,execstack
77+ ADD_LDFLAGS+ =-Wl,-z,execstack
7878 CFLAGS+=-DARM -fPIC
7979 ARCH=LinuxARM
8080endif
Original file line number Diff line number Diff line change 6767# On Solaris, XLIB and EUSLIB are combined together into lib/libeusx.so.
6868
6969# Linux
70- RAWLIB=-ldl -lm -lpthread
70+ RAWLIB=-ldl -lm -lpthread -lc
7171XLIB= -L/usr/X11R6/lib -lX11
7272
7373# specify directories where euslisp's libraries are located.
Original file line number Diff line number Diff line change 9292# On Solaris, XLIB and EUSLIB are combined together into lib/libeusx.so.
9393
9494# Linux
95- RAWLIB=-ldl -lm -lpthread
95+ RAWLIB=-ldl -lm -lpthread -lc
9696XLIB= -L/usr/X11R6/lib -lX11
9797
9898# specify directories where euslisp's libraries are located.
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ pointer initnames;
160160 void * dlhandle ;
161161 char namebuf [256 ];
162162
163- dlhandle = dlopen (0 ,RTLD_LAZY );
163+ dlhandle = dlopen (0 ,RTLD_LAZY | RTLD_GLOBAL );
164164 if (dlhandle == NULL ) {
165165 fprintf (stderr , "cannot dlopen self\n" ); exit (2 );}
166166 module_count = 0 ;
@@ -386,7 +386,7 @@ pointer *argv;
386386 else entry = (char * )get_string (argv [1 ]);}
387387 else entry = NULL ;
388388
389- dlhandle = (eusinteger_t )dlopen (binfn , RTLD_LAZY );/* ???? */
389+ dlhandle = (eusinteger_t )dlopen (binfn , RTLD_LAZY | RTLD_GLOBAL );/* ???? */
390390 if (dlhandle == 0 ) {
391391 fprintf (stderr ,"BINLOAD cannot dlopen: %s\n" , dlerror ());
392392 return (NIL );}
You can’t perform that action at this time.
0 commit comments