Browse Source

slim: fixed to find X11 libraries

karasz/new-early
Alejandro Mery 15 years ago
parent
commit
ce1bd11862
  1. 16
      x11/slim/X11R6.patch

16
x11/slim/X11R6.patch

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../slim/X11R6.patch # Filename: package/.../slim/X11R6.patch
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 - 2009 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -47,3 +47,17 @@
# Executed when pressing F11 (requires imagemagick) # Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png screenshot_cmd import -window root /slim.png
--- ./Makefile.orig 2009-08-13 21:04:35.000000000 +0300
+++ ./Makefile 2009-08-13 21:04:53.000000000 +0300
@@ -5,9 +5,9 @@
#######################################################
CXX=/usr/bin/g++
CC=/usr/bin/gcc
-CFLAGS=-Wall -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
+CFLAGS=-Wall -I. -I/usr/X11/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
CXXFLAGS=$(CFLAGS)
-LDFLAGS=-L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg
+LDFLAGS=-L/usr/X11/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg
CUSTOM=-DHAVE_SHADOW
ifdef USE_PAM
LDFLAGS+= -lpam

Loading…
Cancel
Save