Hello community,

here is the log from the commit of package mtpaint for openSUSE:Factory
checked in at Mon Sep 5 16:41:48 CEST 2011.



--------
--- mtpaint/mtpaint.changes     2011-03-14 22:18:23.000000000 +0100
+++ /mounts/work_src_done/STABLE/mtpaint/mtpaint.changes        2011-09-04 
17:23:52.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep  4 15:23:26 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed. 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  mtpaint-fix-no-add-needed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mtpaint.spec ++++++
--- /var/tmp/diff_new_pack.dfjWpq/_old  2011-09-05 16:39:10.000000000 +0200
+++ /var/tmp/diff_new_pack.dfjWpq/_new  2011-09-05 16:39:10.000000000 +0200
@@ -21,7 +21,7 @@
 
 Name:           mtpaint
 Version:        3.31
-Release:        11
+Release:        13
 License:        GPLv3
 Group:          Productivity/Graphics/Bitmap Editors
 Url:            http://mtpaint.sourceforge.net/
@@ -31,6 +31,7 @@
 Patch1:         %{name}-3.31-openjpeg.patch
 Patch2:         %{name}-3.31-buff.diff
 Patch3:         %{name}-3.31-libpng14.patch
+Patch4:         mtpaint-fix-no-add-needed.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 AutoReqProv:    on
 BuildRequires:  gtk2-devel libpng-devel update-desktop-files zlib-devel
@@ -65,7 +66,7 @@
 %if 0%{?suse_version} > 1120
 %patch3 -p1
 %endif
-
+%patch4
 %{__chmod} 0755 %{name}_handbook-%{version}/docs/{en_GB,img,files,cs}
 dos2unix -k %{name}_handbook-%{version}/docs/index.html
 dos2unix -k %{name}_handbook-%{version}/docs/{en_GB,cs}/*.html

++++++ mtpaint-fix-no-add-needed.patch ++++++
--- 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

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to