mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 11:26:29 -04:00
I've noticed that the program started to crash after commit 363f2d5681
due to missing function prototypes (guarded with GDK_DISABLE_DEPRECATED).
While I'm here, add EXAMPLES option and assume the port's maintainership.
8 lines
624 B
Text
8 lines
624 B
Text
--- Makefile.orig 2004-10-13 22:04:27 UTC
|
|
+++ Makefile
|
|
@@ -7,4 +7,4 @@ propertywatch: propertywatch.c
|
|
gcc -o propertywatch propertywatch.c `gtk-config --libs --cflags`
|
|
|
|
gromit: gromit.c Makefile
|
|
- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`
|
|
+ ${CC} -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c ${CFLAGS} `pkg-config --libs --cflags gtk+-2.0 x11` -lm
|