diff -Nurd -x'*~' xephem-3.7.2.orig/GUI/xephem/Makefile xephem-3.7.2/GUI/xephem/Makefile --- xephem-3.7.2.orig/GUI/xephem/Makefile 2006-05-13 19:06:06.000000000 -0400 +++ xephem-3.7.2/GUI/xephem/Makefile 2007-06-15 00:34:30.000000000 -0400 @@ -10,9 +10,9 @@ # back here and compile and link all the *.c files into one executable, xephem. # -I and -L flags to find required supporting XEphem libraries -LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz -LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz +LIBINC = -I../../libastro -I../../libip -I../../liblilxml +LIBLNK = -L../../libastro -L../../libip -L../../liblilxml +LIBLIB = -lastro -lip -llilxml -ljpeg -lpng12 -lz # MOTIFI is the directory containing the Xm directory of include files. # MOTIFL is the directory containing the libXm.a library. @@ -33,8 +33,8 @@ CC = gcc CLDFLAGS = -g CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include -LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib -XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lXmu -lX11 +AM_LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib +XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11 LIBS = $(XLIBS) $(LIBLIB) -lm # for ppc Apple OS X to make universal (i386 and ppc binary), requires @@ -179,7 +179,7 @@ all: libs xephem xephem.1 xephem: $(INCS) $(OBJS) - $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + $(CC) $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) xephem.1: xephem.man nroff -man $? > $@ @@ -187,10 +187,7 @@ libs: cd ../../libastro; make cd ../../libip; make - cd ../../libjpegd; make cd ../../liblilxml; make - cd ../../libpng; make - cd ../../libz; make clean: touch x.o diff -Nurd -x'*~' xephem-3.7.2.orig/GUI/xephem/patchlevel.c xephem-3.7.2/GUI/xephem/patchlevel.c --- xephem-3.7.2.orig/GUI/xephem/patchlevel.c 2006-11-12 21:22:26.000000000 -0500 +++ xephem-3.7.2/GUI/xephem/patchlevel.c 2007-06-15 00:14:19.000000000 -0400 @@ -1,3 +1,4 @@ +#include #include #include diff -Nurd -x'*~' xephem-3.7.2.orig/GUI/xephem/time.c xephem-3.7.2/GUI/xephem/time.c --- xephem-3.7.2.orig/GUI/xephem/time.c 2005-07-08 22:12:10.000000000 -0400 +++ xephem-3.7.2/GUI/xephem/time.c 2007-06-15 00:14:19.000000000 -0400 @@ -1,6 +1,6 @@ /* get the time from the os. */ - +#include #include #include #include diff -Nurd -x'*~' xephem-3.7.2.orig/xephem xephem-3.7.2/xephem --- xephem-3.7.2.orig/xephem 1969-12-31 19:00:00.000000000 -0500 +++ xephem-3.7.2/xephem 2007-06-15 00:14:19.000000000 -0400 @@ -0,0 +1,2 @@ +#!/bin/sh +@FINKPREFIX@/lib/xephem/xephem -env TELHOME=@FINKPREFIX@/lib