diff options
-rw-r--r-- | debian/patches/dyson-mklib.sh-gcc.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/dyson-mklib.sh-gcc.patch b/debian/patches/dyson-mklib.sh-gcc.patch new file mode 100644 index 0000000..9787d31 --- /dev/null +++ b/debian/patches/dyson-mklib.sh-gcc.patch @@ -0,0 +1,14 @@ +Description: We use GNU toolchain, but not Glibc (yet) +Index: icon/ipl/cfuncs/mklib.sh +=================================================================== +--- icon.orig/ipl/cfuncs/mklib.sh 2005-07-07 17:36:06.000000000 +0000 ++++ icon/ipl/cfuncs/mklib.sh 2013-01-28 06:19:51.637580774 +0000 +@@ -15,7 +15,7 @@ + Darwin*) + cc -bundle -undefined suppress -flat_namespace -o $LIBNAME "$@";; + SunOS*) +- $CC $CFLAGS -G -o $LIBNAME "$@" -lc -lsocket;; ++ gcc -shared -o $LIBNAME -fPIC "$@" -lsocket;; + HP-UX*) + ld -b -o $LIBNAME "$@";; + IRIX*) diff --git a/debian/patches/series b/debian/patches/series index 98b6f03..1a2ecc9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ debian-9.4.3-2.patch config-illumos.patch undefine-SHARED-if-defined.patch use-__fpending.patch +dyson-mklib.sh-gcc.patch |