packages: plt/plt.spec, plt/plt-libpng14.patch (NEW) - 4.2.4 - fix building...
baggins
baggins at pld-linux.org
Thu Apr 1 16:04:03 CEST 2010
Author: baggins Date: Thu Apr 1 14:04:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- 4.2.4
- fix building with libpng 1.4
---- Files affected:
packages/plt:
plt.spec (1.24 -> 1.25) , plt-libpng14.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/plt/plt.spec
diff -u packages/plt/plt.spec:1.24 packages/plt/plt.spec:1.25
--- packages/plt/plt.spec:1.24 Wed Aug 19 20:44:11 2009
+++ packages/plt/plt.spec Thu Apr 1 16:03:57 2010
@@ -1,18 +1,14 @@
# $Revision$, $Date$
-#
-# TODO:
-# - lib64 patch still needed?
-#
Summary: PLT Scheme programming environment
Summary(pl.UTF-8): Środowisko programistyczne PLT Scheme
Name: plt
-Version: 4.2.1
-Release: 0.9
+Version: 4.2.4
+Release: 1
License: LGPL
Group: Development/Languages
Source0: http://download.plt-scheme.org/bundles/%{version}/plt/%{name}-%{version}-src-unix.tgz
-# Source0-md5: d448aa8b579682687a8748100a901274
-#Patch0: %{name}-lib64.patch
+# Source0-md5: 7a21fcb5b565b8c352aa22e1698eb05b
+Patch0: %{name}-libpng14.patch
URL: http://www.drscheme.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -154,9 +150,7 @@
%prep
%setup -q -n %{name}-%{version}
-#if "%{_lib}" == "lib64"
-#patch0 -p1
-#endif
+%patch0 -p1
%build
cd src/mzscheme
@@ -222,7 +216,6 @@
%{_libdir}/%{name}/collects/graphics
%{_libdir}/%{name}/collects/help
%{_libdir}/%{name}/collects/hierlist
-%{_libdir}/%{name}/collects/htdch
%{_libdir}/%{name}/collects/htdp
%{_libdir}/%{name}/collects/html
%{_libdir}/%{name}/collects/icons
@@ -241,7 +234,6 @@
%{_libdir}/%{name}/collects/plot
%{_libdir}/%{name}/collects/preprocessor
%{_libdir}/%{name}/collects/profile
-%{_libdir}/%{name}/collects/profj
%{_libdir}/%{name}/collects/r5rs
%{_libdir}/%{name}/collects/r6rs
%{_libdir}/%{name}/collects/readline
@@ -258,7 +250,6 @@
%{_libdir}/%{name}/collects/srfi
%{_libdir}/%{name}/collects/stepper
%{_libdir}/%{name}/collects/string-constants
-%{_libdir}/%{name}/collects/stxclass
%{_libdir}/%{name}/collects/swindle
%{_libdir}/%{name}/collects/syntax
%{_libdir}/%{name}/collects/syntax-color
@@ -270,6 +261,7 @@
%{_libdir}/%{name}/collects/trace
%{_libdir}/%{name}/collects/typed
%{_libdir}/%{name}/collects/typed-scheme
+%{_libdir}/%{name}/collects/unstable
%{_libdir}/%{name}/collects/version
%{_libdir}/%{name}/collects/wxme
%{_libdir}/%{name}/collects/xml
@@ -333,6 +325,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2010/04/01 14:03:57 baggins
+- 4.2.4
+- fix building with libpng 1.4
+
Revision 1.24 2009/08/19 18:44:11 jpc
- add some more BuildRequires (for AC too)
- removed the bogus log message
================================================================
Index: packages/plt/plt-libpng14.patch
diff -u /dev/null packages/plt/plt-libpng14.patch:1.1
--- /dev/null Thu Apr 1 16:04:03 2010
+++ packages/plt/plt-libpng14.patch Thu Apr 1 16:03:57 2010
@@ -0,0 +1,11 @@
+--- plt-4.2.4/src/wxcommon/wxJPEG.cxx~ 2010-01-18 07:06:55.000000000 +0100
++++ plt-4.2.4/src/wxcommon/wxJPEG.cxx 2010-04-01 14:52:35.738185922 +0200
+@@ -726,7 +726,7 @@
+ png_set_strip_16(png_ptr);
+
+ /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
+- png_set_gray_1_2_4_to_8(png_ptr);
++ png_set_expand_gray_1_2_4_to_8(png_ptr);
+ }
+
+ /* Set the background color to draw transparent and alpha images over.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/plt/plt.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list