From ed91d797d9604e37ba25852a8e0a5fec87f602e8 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Mon, 12 Feb 2007 13:03:29 +0000 Subject: Add patch to make nvu compile with >freetype-2.1, bug 166401 and remove unneeded version (Portage version: 2.1.2-r9) --- app-editors/nvu/files/1.0/nvu-1.0-const.patch | 58 +++++++++++++++++++++++++++ app-editors/nvu/files/digest-nvu-1.0-r2 | 3 -- 2 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 app-editors/nvu/files/1.0/nvu-1.0-const.patch delete mode 100644 app-editors/nvu/files/digest-nvu-1.0-r2 (limited to 'app-editors/nvu/files') diff --git a/app-editors/nvu/files/1.0/nvu-1.0-const.patch b/app-editors/nvu/files/1.0/nvu-1.0-const.patch new file mode 100644 index 000000000000..c4e8226c1987 --- /dev/null +++ b/app-editors/nvu/files/1.0/nvu-1.0-const.patch @@ -0,0 +1,58 @@ +--- gfx/src/ps/nsType1.cpp 2002-12-11 08:24:47.000000000 +0200 ++++ gfx/src/ps/nsType1.cpp 2006-10-11 17:17:11.000000000 +0300 +@@ -81,8 +81,8 @@ + int wmode; + } FT2PT1_info; + +-static int cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, +- FT_Vector *aEndPt, void *aClosure); ++static int cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2, ++ const FT_Vector *aEndPt, void *aClosure); + static int Type1CharStringCommand(unsigned char **aBufPtrPtr, int aCmd); + static int Type1EncodeCharStringInt(unsigned char **aBufPtrPtr, int aValue); + +@@ -173,7 +173,7 @@ + } + + static PRBool +-sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti) ++sideWidthAndBearing(const FT_Vector *aEndPt, FT2PT1_info *aFti) + { + int aw = 0; + int ah = 0; +@@ -216,7 +216,7 @@ + } + + static int +-moveto(FT_Vector *aEndPt, void *aClosure) ++moveto(const FT_Vector *aEndPt, void *aClosure) + { + FT2PT1_info *fti = (FT2PT1_info *)aClosure; + FT_UShort upm = fti->face->units_per_EM; +@@ -253,7 +253,7 @@ + } + + static int +-lineto(FT_Vector *aEndPt, void *aClosure) ++lineto(const FT_Vector *aEndPt, void *aClosure) + { + FT2PT1_info *fti = (FT2PT1_info *)aClosure; + FT_UShort upm = fti->face->units_per_EM; +@@ -279,7 +279,7 @@ + } + + static int +-conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure) ++conicto(const FT_Vector *aControlPt, const FT_Vector *aEndPt, void *aClosure) + { + FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure; + FT_UShort upm = ftinfo->face->units_per_EM; +@@ -311,7 +311,7 @@ + } + + static int +-cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, FT_Vector *aEndPt, ++cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2, const FT_Vector *aEndPt, + void *aClosure) + { + FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure; diff --git a/app-editors/nvu/files/digest-nvu-1.0-r2 b/app-editors/nvu/files/digest-nvu-1.0-r2 deleted file mode 100644 index 9e9bf40be61d..000000000000 --- a/app-editors/nvu/files/digest-nvu-1.0-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ae0f7c85e230ce8a90dc438b53be06e6 nvu-1.0-sources.tar.bz2 29687976 -RMD160 6d6fdb747d79e8602a4757e8eff8bbb21db6df8c nvu-1.0-sources.tar.bz2 29687976 -SHA256 9ec892e352c3596a4f734a885c6e085028574714cf0d44c2dac32b0d89b4b630 nvu-1.0-sources.tar.bz2 29687976 -- cgit v1.2.3-65-gdbad