diff options
-rw-r--r-- | debian/patches/kfreebsd-support-jdk.diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/kfreebsd-support-jdk.diff b/debian/patches/kfreebsd-support-jdk.diff index b7230ff..290e540 100644 --- a/debian/patches/kfreebsd-support-jdk.diff +++ b/debian/patches/kfreebsd-support-jdk.diff @@ -1103,7 +1103,7 @@ index 2c81ca4..ec5e6f1 100644 } #endif -#if !defined(__linux__) && !defined(MACOSX) /* Solaris */ -+#if !defined(__linux__) && !defined(MACOSX) || !defined(__GLIBC__) /* Solaris */ ++#if !defined(__linux__) && !defined(MACOSX) && !defined(__GLIBC__) /* Solaris */ static void xinerama_init_solaris() { void* libHandle = NULL; @@ -1126,7 +1126,7 @@ index 2c81ca4..ec5e6f1 100644 jobject point = NULL; #ifndef HEADLESS /* return NULL in HEADLESS, Linux */ -#if !defined(__linux__) && !defined(MACOSX) -+#if !defined(__linux__) && !defined(MACOSX) || !defined(__GLIBC__) ++#if !defined(__linux__) && !defined(MACOSX) && !defined(__GLIBC__) int x,y; AWT_LOCK(); @@ -1505,7 +1505,7 @@ index 0dcdbc7..11790f5 100644 #define MAXFDIRS 512 /* Max number of directories that contain fonts */ -#if !defined(__linux__) && !defined(MACOSX) -+#if !defined(__linux__) && !defined(MACOSX) || defined(__GLIBC__) ++#if !defined(__linux__) && !defined(MACOSX) && !defined(__GLIBC__) /* * This can be set in the makefile to "/usr/X11" if so desired. */ |