summaryrefslogtreecommitdiff
path: root/audio/xfce4-mixer/patches/patch-ab
blob: abb6229457721f0897090a6a49afb69757b2243c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.2 2007/01/23 11:53:46 martti Exp $

SunPro cannot handle function-like macros on the command line.

--- configure.orig	2007-01-14 21:05:51.000000000 +0000
+++ configure	2007-01-23 12:35:37.000000000 +0000
@@ -23199,13 +23199,9 @@
     { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
     xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_THREADED=1"
-    xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_LOCK\(\)=gdk_threads_enter\(\)"
-    xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_UNLOCK\(\)=gdk_threads_leave\(\)"
   else
     { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
-    xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_LOCK\(\)=do{}while\(0\)"
-    xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_UNLOCK\(\)=do{}while\(0\)"
   fi
   XFCE4_PANEL_CFLAGS="$xdt_cv_CFLAGS"