diff options
author | agc <agc> | 2002-07-16 14:48:03 +0000 |
---|---|---|
committer | agc <agc> | 2002-07-16 14:48:03 +0000 |
commit | dd7270eaf15f1ad103e614972cf860b89429a029 (patch) | |
tree | f8a7661f33970e68df75daad304d48f7c0fe6968 /graphics/hermes/patches | |
parent | c4d3e0abedafd427c8a59be7e261ef5891e15cc2 (diff) | |
download | pkgsrc-dd7270eaf15f1ad103e614972cf860b89429a029.tar.gz |
Add const-poisoning in external interface, to allow OpenPTC to compile.
Bump NetBSD revision level of the package accordingly.
Diffstat (limited to 'graphics/hermes/patches')
-rw-r--r-- | graphics/hermes/patches/patch-ad | 13 | ||||
-rw-r--r-- | graphics/hermes/patches/patch-ae | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/graphics/hermes/patches/patch-ad b/graphics/hermes/patches/patch-ad new file mode 100644 index 00000000000..75a1ac8f8b2 --- /dev/null +++ b/graphics/hermes/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2002/07/16 14:48:04 agc Exp $ + +--- src/H_Pal.h 2002/07/16 14:39:53 1.1 ++++ src/H_Pal.h 2002/07/16 14:40:15 +@@ -31,7 +31,7 @@ + Copy the contents of the palette parameter provided into the internal + palette. The user palette has to be 256*4 bytes long. + */ +-HERMES_C void HERMES_API Hermes_PaletteSet(HermesHandle handle,int32 *palette); ++HERMES_C void HERMES_API Hermes_PaletteSet(HermesHandle handle, const int32 *palette); + + + /* diff --git a/graphics/hermes/patches/patch-ae b/graphics/hermes/patches/patch-ae new file mode 100644 index 00000000000..bce8e7496a6 --- /dev/null +++ b/graphics/hermes/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2002/07/16 14:48:04 agc Exp $ + +--- src/Palette.c 2002/07/16 14:40:39 1.1 ++++ src/Palette.c 2002/07/16 14:41:06 +@@ -122,7 +122,7 @@ + + + +-void HERMES_API Hermes_PaletteSet(HermesHandle handle,int32 *palette) ++void HERMES_API Hermes_PaletteSet(HermesHandle handle,const int32 *palette) + { HermesListElement *element=Hermes_ListLookup(PaletteList,handle); + HermesPalette *pal; + |