diff options
Diffstat (limited to 'debian/patches/solaris-target.patch')
-rw-r--r-- | debian/patches/solaris-target.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/solaris-target.patch b/debian/patches/solaris-target.patch new file mode 100644 index 0000000..c360fe3 --- /dev/null +++ b/debian/patches/solaris-target.patch @@ -0,0 +1,20 @@ +Index: trousers/configure.in +=================================================================== +--- trousers.orig/configure.in 2012-11-25 16:09:12.411168355 +0000 ++++ trousers/configure.in 2012-11-25 16:10:17.409241488 +0000 +@@ -38,11 +38,12 @@ + *ppc64* | *powerpc64* | *x86_64*) + CFLAGS="$CFLAGS -m64" + ;; ++esac ++case $target in + *solaris*) +- CFLAGS="$CFLAGS -DSOLARIS" ++ # -DBSD_COMP to include sys/ioccom.h in sys/ioctl.h: ++ CFLAGS="$CFLAGS -DSOLARIS -DBSD_COMP" + ;; +- *) +- ;; + esac + + # Non-standard OpenSSL location |