LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mtpaint-fix-no-add-needed.patch of Package mtpaint (Project openSUSE:Factory)

--- src/Makefile.orig
+++ src/Makefile
@@ -10,7 +10,7 @@ OBJS = mainwindow.o inifile.o png.o memo
 	toolbar.o channels.o csel.o shifter.o spawn.o font.o fpick.o icons.o cpick.o
 
 $(BIN): main.o $(OBJS)
-	$(CC) main.o $(OBJS) -o $(BIN) $(LDFLAGS)
+	$(CC) main.o $(OBJS) -o $(BIN) $(LDFLAGS) -lX11
 
 .c.o:
 	$(CC) $(CFLAGS) -c -o $*.o $*.c