rpms/gtk2hs/devel gtk2hs-gtype-cuint.patch, NONE, 1.1 gtk2hs.spec, 1.15, 1.16

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Thu Aug 16 03:48:13 UTC 2007


Author: petersen

Update of /cvs/extras/rpms/gtk2hs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19652

Modified Files:
	gtk2hs.spec 
Added Files:
	gtk2hs-gtype-cuint.patch 
Log Message:
add patch from upstream to fix change of GType (Duncan Coutts)


gtk2hs-gtype-cuint.patch:

--- NEW FILE gtk2hs-gtype-cuint.patch ---
diff -u gtk2hs-0.9.12/tools/hierarchyGen/Hierarchy.chs.template\~ gtk2hs-0.9.12/tools/hierarchyGen/Hierarchy.chs.template
--- gtk2hs-0.9.12/tools/hierarchyGen/Hierarchy.chs.template~	2007-06-28 06:54:19.000000000 +1000
+++ gtk2hs-0.9.12/tools/hierarchyGen/Hierarchy.chs.template	2007-08-16 13:36:02.000000000 +1000
@@ -31,7 +31,7 @@
   ) where
 
 import Foreign.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr)
-import Foreign.C.Types    (CULong)
+import Foreign.C.Types    (CULong, CUInt)
 import System.Glib.GType	(GType, typeInstanceIsA)
 import GHC.Base			(unsafeCoerce#)
 @IMPORT_PARENT@


Index: gtk2hs.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2hs/devel/gtk2hs.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gtk2hs.spec	27 Jul 2007 21:21:21 -0000	1.15
+++ gtk2hs.spec	16 Aug 2007 03:47:40 -0000	1.16
@@ -10,7 +10,7 @@
 Summary:        A Haskell GUI library based on the Gtk+ GUI toolkit
 Name:           gtk2hs
 Version:        0.9.12
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        LGPL
 Group:          Development/Libraries
 Source:         http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}%{?snapdate:-%{snapdate}}.tar.gz
@@ -30,6 +30,7 @@
 %if %{build_cairo}
 BuildRequires:  cairo-devel
 %endif
+Patch1:         gtk2hs-gtype-cuint.patch
 
 %description
 A Gtk+ binding for the functional language Haskell featuring
@@ -106,7 +107,7 @@
 
 %prep
 %setup -q %{?snapdate:-n %{name}-%{version}}
-
+%patch1 -p1 -b .orig-1
 
 %build
 %configure \
@@ -266,6 +267,9 @@
 
 
 %changelog
+* Thu Aug 16 2007 Jens Petersen <petersen at redhat.com> - 0.9.12-2
+- add patch from upstream to fix change of GType (Duncan Coutts)
+
 * Fri Jul 27 2007 Bryan O'Sullivan <bos at serpentine.com> - 0.9.12-1
 - update to 0.9.12 release
 




More information about the fedora-extras-commits mailing list