diff options
Diffstat (limited to 'app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch')
-rw-r--r-- | app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch new file mode 100644 index 000000000000..a988ef0b66f4 --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-bsd.patch @@ -0,0 +1,20 @@ +--- espgs-8.15.1/configure.ac ++++ espgs-8.15.1/configure.ac +@@ -742,8 +742,16 @@ + DYNAMIC_LIBS="-rdynamic -ldl" + X_DEVS="" + ;; ++ *BSD) ++ DYNAMIC_CFLAGS="-fPIC" ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" ++ DYNAMIC_LDFLAGS="-fPIC -shared" ++ DYNAMIC_LIBS="" ++ X_DEVS="" ++ ;; + *) +- AC_MSG_ERROR(Sorry, dynamic driver support not available on this platform!) ++ AC_MSG_ERROR([Sorry, dynamic driver support not available on this platform!]) + ;; + esac + ]) |