nixpkgs/pkgs/by-name/gl/globulation2/header-order.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

24 lines
795 B
Diff

With gcc 4.4, compilation of libgag/src/TextStream.cpp fails with the error:
'class GAGCore::StreamBackend' has no member named 'getc'. Reordering
#include's solves the problem.
Patch from Debian.
Index: glob2-0.9.4.1/libgag/src/TextStream.cpp
===================================================================
--- glob2-0.9.4.1.orig/libgag/src/TextStream.cpp 2009-06-27 20:19:38.000000000 +0400
+++ glob2-0.9.4.1/libgag/src/TextStream.cpp 2009-06-27 20:20:22.000000000 +0400
@@ -17,11 +17,11 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <TextStream.h>
#include <assert.h>
#include <fstream>
#include <iostream>
#include <stack>
+#include <TextStream.h>
#ifdef WIN32
#define snprintf _snprintf
#define vsnprintf _vsnprintf