Advertisement
Guest User

Untitled

a guest
Jan 14th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.80 KB | None | 0 0
  1.  # This patchfile was courtesy of the Debian team.  Thanks!
  2. --- Makefile.common
  3. +++ Makefile.common~
  4. @@ -16,7 +16,7 @@
  5.  endif
  6.  
  7.  CC = gcc
  8. -LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib  -lXmu
  9. +LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib  -lXmu -lX11
  10.  INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
  11.  CFLAGS = -O2    # overwriten by command line or env. variable
  12.  CFLAGS += -Wall # always nice to have
  13. @@ -25,7 +25,7 @@
  14.  endif
  15.  
  16.  # -DGTK_DISABLE_DEPRECATED does not work yet
  17. -CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
  18. +CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
  19.  
  20.  %.o: %.c
  21.     $(CC) $(CFLAGS) $(INCS) -c $<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement