svgalib fails to compile, proposed fix

Javier Adrián Ortiz de la Tabla adriandelatabla at gmail.com
Thu May 10 06:07:08 CEST 2007


diff a/graphics/svgalib b/graphics/svgalib
--- a/graphics/svgalib/BUILD    2006-10-22 19:29:44.000000000 -0300
+++ b/graphics/svgalib/BUILD    2007-05-10 00:50:00.000000000 -0300
@@ -1,10 +1,6 @@
 (
-
-  sedit "s/fix)\/man/fix)\/share\/man/" Makefile.cfg           &&
-  sedit "s/zbl %%al,%%ax/zbl %%al,%%eax/" gl/inlstring.h       &&
-  # gcc-3.3.x fix
-  # gcc-3.4.x fixes
-  patch_it $SOURCE_CACHE/$SOURCE2 0                            &&
+  # gcc-3.4.x  & gcc4.1.x fixes
+  patch_it $SOURCE_CACHE/$SOURCE2 1                            &&

   make prefix=/usr shared static utils                         &&
   prepare_install                                              &&
--- a/graphics/svgalib/DETAILS  2007-01-05 13:01:07.000000000 -0300
+++ b/graphics/svgalib/DETAILS  2007-05-10 00:18:02.000000000 -0300
@@ -1,11 +1,11 @@
           MODULE=svgalib
          VERSION=1.4.3
           SOURCE=$MODULE-$VERSION.tar.gz
-         SOURCE2=$MODULE-$VERSION-switch-fix.patch
+         SOURCE2=$MODULE-$VERSION-debian_fixes-1.patch
       SOURCE_URL=http://www.svgalib.org/
       SOURCE_VFY=sha1:b89ddf5fd948dd5b9e801e5cc58401e190de4c50
-     SOURCE2_URL=$PATCH_URL
-     SOURCE2_VFY=sha1:f78c63f1da9c22f2a82ea2e9edf614c5d99fef0e
+     SOURCE2_URL=http://www.linuxfromscratch.org/patches/downloads/svgalib/
+     SOURCE2_VFY=sha1:a468280e30cc4cab63201e773e273a1c60e5ddfb
         WEB_SITE=http://www.svgalib.org/
          ENTERED=20011117
          UPDATED=20040302

-- 
Javier Adrián Ortiz de la Tabla


More information about the Lunar mailing list