This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 14th, 2012  |  syntax: Diff  |  size: 0.80 KB  |  views: 63  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 $<
clone this paste RAW Paste Data