gnu-smalltalk: fix build

+27
+26
pkgs/by-name/gn/gnu-smalltalk/0001-fix-compilation.patch
···
··· 1 + diff --git a/packages/iconv/iconv.c b/packages/iconv/iconv.c 2 + index ba2c38a7..55c2e737 100644 3 + --- a/packages/iconv/iconv.c 4 + +++ b/packages/iconv/iconv.c 5 + @@ -66,7 +66,7 @@ iconvWrapper (iconv_t handle, OOP readBufferOOP, int readPos, 6 + int readCount, OOP writeBufferOOP, int writeCount, 7 + OOP bytesLeftOOP) 8 + { 9 + - const char *inbuf; 10 + + char *inbuf; 11 + size_t inbytesleft; 12 + char *outbuf; 13 + size_t outbytesleft; 14 + diff --git a/packages/xml/expat/expat.c b/packages/xml/expat/expat.c 15 + index 0ceee46c..4ea35289 100644 16 + --- a/packages/xml/expat/expat.c 17 + +++ b/packages/xml/expat/expat.c 18 + @@ -573,7 +573,7 @@ gst_XML_ParserCreate (OOP parserOOP) 19 + XML_SetNotationDeclHandler (p, gst_NotationDeclHandler); 20 + XML_SetStartNamespaceDeclHandler (p, gst_StartNamespaceDeclHandler); 21 + XML_SetEndNamespaceDeclHandler (p, gst_EndNamespaceDeclHandler); 22 + - XML_SetSkippedEntityHandler (p, gst_SkippedEntityHandler); 23 + + XML_SetSkippedEntityHandler (p, (void (*)(void *, const XML_Char *, int))(gst_SkippedEntityHandler)); 24 + XML_SetReturnNSTriplet (p, true); 25 + 26 + if (!saxEventSequenceClass)
+1
pkgs/by-name/gn/gnu-smalltalk/package.nix
··· 47 # The awk script incorrectly parsed `glib/glib.h` and was trying to find `glib/gwin32.h`, 48 # that isn't included since we're building only for linux. 49 ./0000-fix_mkorder.patch 50 ]; 51 52 # The dependencies and their justification are explained at
··· 47 # The awk script incorrectly parsed `glib/glib.h` and was trying to find `glib/gwin32.h`, 48 # that isn't included since we're building only for linux. 49 ./0000-fix_mkorder.patch 50 + ./0001-fix-compilation.patch 51 ]; 52 53 # The dependencies and their justification are explained at