Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 828708 | Differences between
and this patch

Collapse All | Expand All

(-)a/files/2.1.2-ldflags.patch (-4 / +4 lines)
Lines 5-12 Link Here
5
@@ -91,7 +91,7 @@ clean:
5
@@ -91,7 +91,7 @@ clean:
6
 
6
 
7
 #------------------------------------------------------------
7
 #------------------------------------------------------------
8
 molscript: $(OBJ) clib/clib.a
8
 $(MOLSCRIPT): $(OBJ) clib/clib.a
9
-	$(CC) -o molscript $(COPT) $(OBJ) $(YLIB) clib/clib.a \
9
-	$(CC) -o $(MOLSCRIPT) $(COPT) $(OBJ) $(YLIB) clib/clib.a \
10
+	$(CC) $(LDFLAGS) -o molscript $(COPT) $(OBJ) $(YLIB) clib/clib.a \
10
+	$(CC) $(LDFLAGS) -o molscript $(COPT) $(OBJ) $(YLIB) clib/clib.a \
11
               $(GLUTLINK) $(JPEGLINK) $(PNGLINK) $(GIFLINK) $(ZLIBLINK) -lm
11
               $(GLUTLINK) $(JPEGLINK) $(PNGLINK) $(GIFLINK) $(ZLIBLINK) -lm
12
 
12
 
Lines 14-21 Link Here
14
@@ -147,7 +147,7 @@ gif_img.o: gif_img.c gif_img.h global.h graphics.h image.h opengl.h
14
@@ -147,7 +147,7 @@ gif_img.o: gif_img.c gif_img.h global.h graphics.h image.h opengl.h
15
 
15
 
16
 #------------------------------------------------------------
16
 #------------------------------------------------------------
17
 molauto: molauto.o clib/clib.a
17
 $(MOLAUTO): molauto.o clib/clib.a
18
-	$(CC) -o molauto molauto.o clib/clib.a -lm
18
-	$(CC) -o $(MOLAUTO) molauto.o clib/clib.a -lm
19
+	$(CC) $(LDFLAGS) -o molauto molauto.o clib/clib.a -lm
19
+	$(CC) $(LDFLAGS) -o molauto molauto.o clib/clib.a -lm
20
 
20
 
21
 molauto.o: molauto.c
21
 molauto.o: molauto.c
(-)a/files/2.1.2-libpng15.patch (-2 / +2 lines)
Lines 1-5 Link Here
1
--- png_img.c
1
--- a/png_img.c
2
+++ png_img.c
2
+++ b/png_img.c
3
@@ -18,6 +18,7 @@
3
@@ -18,6 +18,7 @@
4
 
4
 
5
 #include <GL/gl.h>
5
 #include <GL/gl.h>

Return to bug 828708