Changeset 122714


Ignore:
Timestamp:
Jul 27, 2014, 2:35:07 PM (5 years ago)
Author:
jmr@…
Message:

libsdl_pango: apply buildfix from freebsd, remove unused libffi dep

Location:
trunk/dports/devel/libsdl_pango
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libsdl_pango/Portfile

    r122702 r122714  
    2323
    2424depends_build       port:pkgconfig
    25 depends_lib         port:libffi \
    26                     port:libsdl \
     25depends_lib         port:libsdl \
    2726                    port:fontconfig \
    2827                    path:lib/pkgconfig/pango.pc:pango
    2928
    30 patchfiles          patch-SDL_Pango-0.1.2-API-adds.diff
     29pre-patch {
     30    reinplace "s/\r//" ${worksrcpath}/src/SDL_Pango.c ${worksrcpath}/src/SDL_Pango.h
     31}
     32patchfiles          patch-SDL_Pango-0.1.2-API-adds.diff \
     33                    patch-src_SDL_Pango.c
    3134
    3235use_autoreconf      yes
  • trunk/dports/devel/libsdl_pango/files/patch-SDL_Pango-0.1.2-API-adds.diff

    r32379 r122714  
    1 --- src/SDL_Pango.c     2004-12-10 10:06:33.000000000 +0100
    2 +++ src/SDL_Pango.c     2006-09-24 22:46:24.000000000 +0200
    3 @@ -723,13 +723,8 @@
     1--- src/SDL_Pango.c.orig        2004-12-10 20:06:33.000000000 +1100
     2+++ src/SDL_Pango.c     2014-07-28 00:32:29.000000000 +1000
     3@@ -723,13 +723,8 @@ SDLPango_CopyFTBitmapToSurface(
    44     SDL_UnlockSurface(surface);
    55 }
     
    1616     SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context));
    1717     G_CONST_RETURN char *charset;
    18 @@ -743,8 +738,7 @@
     18@@ -743,8 +738,7 @@ SDLPango_CreateContext()
    1919     pango_context_set_language (context->context, pango_language_from_string (charset));
    2020     pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR);
     
    2626     context->layout = pango_layout_new (context->context);
    2727 
    28 @@ -762,6 +756,17 @@
     28@@ -762,6 +756,17 @@ SDLPango_CreateContext()
    2929 }
    3030 
     
    4444 
    4545     @param *context [i/o] Context to be free
    46 @@ -1053,6 +1058,20 @@
     46@@ -1053,6 +1058,20 @@ SDLPango_SetMarkup(
    4747     pango_layout_set_font_description (context->layout, context->font_desc);
    4848 }
     
    6565     Set plain text to context.
    6666     Text must be utf-8.
    67 @@ -1067,11 +1086,7 @@
     67@@ -1067,11 +1086,7 @@ SDLPango_SetText(
    6868     const char *text,
    6969     int length)
     
    7878 
    7979 /*!
    80 --- src/SDL_Pango.h     2004-12-10 10:06:33.000000000 +0100
    81 +++ src/SDL_Pango.h     2006-09-24 22:46:01.000000000 +0200
    82 @@ -109,12 +109,20 @@
     80--- src/SDL_Pango.h.orig        2004-12-10 20:06:33.000000000 +1100
     81+++ src/SDL_Pango.h     2014-07-28 00:32:29.000000000 +1000
     82@@ -109,12 +109,20 @@ typedef enum {
    8383     SDLPANGO_DIRECTION_NEUTRAL /*! Neutral */
    8484 } SDLPango_Direction;
     
    102102 
    103103 extern DECLSPEC void SDLCALL SDLPango_FreeContext(
    104 @@ -157,6 +165,12 @@
     104@@ -157,6 +165,12 @@ extern DECLSPEC void SDLCALL SDLPango_Se
    105105     const char *markup,
    106106     int length);
Note: See TracChangeset for help on using the changeset viewer.