freebsd-ports/audio/wsoundprefs/files/patch-ab
Pav Lucistnik 5155c1f383 - link against fontconfig [1] and libXft [2]
- misc WM api changes [1] and [2]
- XClearArea -> XFillRectangle with gray [1] because XClearArea is for Window
  not Drawable (was causing X BadWindow error)

  [1] me
  [2] ports/75000 Serge Gagnon <ser_gagnon@sympatico.ca>

If you hit "play" with a nonexistant file, the program dies - but apart from
that it's now functional again.

PR:		ports/79746
Submitted by:	Sam Lawrance <boris@brooknet.com.au>
2005-04-10 16:35:23 +00:00

39 lines
1.3 KiB
Text

--- src/Imakefile.orig Mon Oct 18 18:35:58 1999
+++ src/Imakefile Sat Apr 9 17:20:36 2005
@@ -5,9 +5,9 @@
ICONS = WSoundPrefs.xpm WSoundPrefs.tiff
-CC = gcc
+XCOMM CC = gcc
-BINDIR = /Apps/WSoundPrefs.app
+BINDIR = /GNUstep/Apps/WSoundPrefs.app
XCOMM EFENCELIB = -lefence
EFENCELIB =
@@ -18,19 +18,19 @@
WRASTERCFLAGS = `get-wraster-flags --cflags`
WRASTERLFLAGS = `get-wraster-flags --lflags`
WRASTERLIBS = `get-wraster-flags --libs`
-WINGSLIBS = -lWINGs -lPropList
-
-STD_INCLUDES = $(WRASTERCFLAGS) $(WSOUNDCFLAGS)
+WINGSLIBS = -lWINGs -L/$(LOCALBASE)/lib -lPropList
+
+STD_INCLUDES = $(WRASTERCFLAGS) -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/WINGs
DEPLIBS = $(DEPXLIB)
-LOCAL_LIBRARIES = $(XLIB) $(WINGSLIBS) $(WSOUNDLFLAGS) $(WSOUNDLIBS) $(WRASTERLFLAGS) $(WRASTERLIBS) $(EFENCELIB)
+LOCAL_LIBRARIES = $(XLIB) $(WINGSLIBS) $(WSOUNDLFLAGS) $(WSOUNDLIBS) $(WRASTERLFLAGS) $(WRASTERLIBS) $(EFENCELIB) $(FONTCONFIGLIB) $(XFTLIB) -lintl
LINTLIBS = $(LINTXLIB)
SRCS = PLFunctions.c SoundEvents.c SoundPaths.c SystemInfo.c WSoundPrefs.c main.c
OBJS = PLFunctions.o SoundEvents.o SoundPaths.o SystemInfo.o WSoundPrefs.o main.o
-ComplexProgramTarget(WSoundPrefs)
+ComplexProgramTargetNoMan(WSoundPrefs)
InstallMultiple($(ICONS),$(BINDIR))