summaryrefslogtreecommitdiff
path: root/x11/libsx/files/patch-aa
blob: 1f466726e9e6138678cf4a68ad410fe6624dc076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
*** libsx_defs.orig	Mon Feb 28 11:04:26 1994
--- libsx_defs	Tue Dec 24 01:13:01 1996
***************
*** 9,15 ****
  # you have it).  Using cc seems to also work on the RS/6000 (though
  # you may need the -xansi or -ansi flag). 
  #CC     = gcc
! CC     = cc
  
  
  # Using gcc it's nice to be real strict and compile with -Wall, for
--- 9,15 ----
  # you have it).  Using cc seems to also work on the RS/6000 (though
  # you may need the -xansi or -ansi flag). 
  #CC     = gcc
! #CC     = cc
  
  
  # Using gcc it's nice to be real strict and compile with -Wall, for
***************
*** 46,60 ****
  # If you're daring, and you have OpenGL, try:
  #  CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
  #
! CFLAGS = -g -D_POSIX_SOURCE 
  
  #
  # if you are on a System V (like the SGI) machine, just define RANLIB
  # to be something innocuous like `echo'. On a Sun or other BSD machine
  # (like a DECstation, AIX) we need to run the ranlib program.
  #
! #RANLIB=ranlib
! RANLIB=echo
  
  #
  # libraries we need to link with...
--- 46,60 ----
  # If you're daring, and you have OpenGL, try:
  #  CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
  #
! CFLAGS += -O -D_POSIX_SOURCE -I$(X11BASE)/include
  
  #
  # if you are on a System V (like the SGI) machine, just define RANLIB
  # to be something innocuous like `echo'. On a Sun or other BSD machine
  # (like a DECstation, AIX) we need to run the ranlib program.
  #
! RANLIB=ranlib
! #RANLIB=echo
  
  #
  # libraries we need to link with...
***************
*** 83,87 ****
  #
  LIBSX  = ../src/libsx.a
  #LIBS   =  $(LIBSX) -lXaw -lXmu -lXt -lX11
! LIBS   =  $(LIBSX) -lXaw -lXmu -lXt -lX11
! 
--- 83,86 ----
  #
  LIBSX  = ../src/libsx.a
  #LIBS   =  $(LIBSX) -lXaw -lXmu -lXt -lX11
! LIBS   =  $(LIBSX) -lXaw -lXmu -lXt -lX11 -lm -lXext -L$(X11BASE)/lib