aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-01-13 15:21:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-01-13 15:21:04 +0800
commit3317a73cd71b9a3e0efd4ade02683e304ac64e3e (patch)
treeac57f5ed25dbd047668d7b3028d2914c5ee6ec4c /graphics
parent42ac3d2c8fd545d6f2fe5f9471138f7c8460ff63 (diff)
downloadfreebsd-ports-gnome-3317a73cd71b9a3e0efd4ade02683e304ac64e3e.tar.gz
freebsd-ports-gnome-3317a73cd71b9a3e0efd4ade02683e304ac64e3e.tar.zst
freebsd-ports-gnome-3317a73cd71b9a3e0efd4ade02683e304ac64e3e.zip
Update to 3.0.4
- Add LICENSE - Use USES=localbase - Use PORTDATA - Sort PLIST Changes: http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS Differential Revision: https://reviews.FreeBSD.org/D9073 PR: 215840 Exp-run by: antoine
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pixie/files/patch-src__ri__rib.l25
-rw-r--r--graphics/tumble/files/patch-parser.y20
2 files changed, 41 insertions, 4 deletions
diff --git a/graphics/pixie/files/patch-src__ri__rib.l b/graphics/pixie/files/patch-src__ri__rib.l
index 9ed7ff5b6e95..42a05961b2a7 100644
--- a/graphics/pixie/files/patch-src__ri__rib.l
+++ b/graphics/pixie/files/patch-src__ri__rib.l
@@ -1,6 +1,6 @@
---- src/ri/rib.l.orig
+--- src/ri/rib.l.orig 2008-11-12 07:00:24 UTC
+++ src/ri/rib.l
-@@ -17,7 +17,7 @@
+@@ -17,7 +17,7 @@ static TRibFile *ribStack = NULL;
// Overwrite the YYinput so that it uses libz
#undef YY_INPUT
@@ -9,7 +9,24 @@
YY_FATAL_ERROR( "input in flex scanner failed" );
#endif
-@@ -223,7 +223,7 @@
+@@ -208,12 +208,12 @@ version return RIB_VERSION;
+ \[ return RIB_ARRAY_BEGIN;
+ \] return RIB_ARRAY_END;
+
+-\"[^\"]*\" { riblval->string = rstrdup(ribtext+1,CRenderer::globalMemory); riblval->string[strlen(riblval->string)-1] = '\0'; return RIB_TEXT;}
+-[+-]?([0-9]+|([0-9]*(\.[0-9]+)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&riblval->real);*/ riblval->real = (float) atof(ribtext); return RIB_FLOAT; }
+-[+-]?([0-9]+|([0-9]+(\.[0-9]*)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&riblval->real);*/ riblval->real = (float) atof(ribtext); return RIB_FLOAT; }
++\"[^\"]*\" { yylval->string = rstrdup(ribtext+1,CRenderer::globalMemory); yylval->string[strlen(yylval->string)-1] = '\0'; return RIB_TEXT;}
++[+-]?([0-9]+|([0-9]*(\.[0-9]+)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&yylval->real);*/ yylval->real = (float) atof(ribtext); return RIB_FLOAT; }
++[+-]?([0-9]+|([0-9]+(\.[0-9]*)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&yylval->real);*/ yylval->real = (float) atof(ribtext); return RIB_FLOAT; }
+
+ [\t ] ;
+-#\!.* { riblval->string = rstrdup(ribtext+2,CRenderer::globalMemory); return RIB_STRUCTURE_COMMENT; }
++#\!.* { yylval->string = rstrdup(ribtext+2,CRenderer::globalMemory); return RIB_STRUCTURE_COMMENT; }
+ #.* ;
+ \n { ribLineno++; }
+ <<EOF>> {
+@@ -223,7 +223,7 @@ version return RIB_VERSION;
TRibFile *nextFile = ribStack->next;
rib_delete_buffer( YY_CURRENT_BUFFER );
#ifdef HAVE_ZLIB
@@ -18,7 +35,7 @@
#else
fclose(ribin);
#endif
-@@ -243,7 +243,7 @@
+@@ -243,7 +243,7 @@ version return RIB_VERSION;
rib_delete_buffer( YY_CURRENT_BUFFER );
#ifdef HAVE_ZLIB
diff --git a/graphics/tumble/files/patch-parser.y b/graphics/tumble/files/patch-parser.y
new file mode 100644
index 000000000000..499b51c0e3a6
--- /dev/null
+++ b/graphics/tumble/files/patch-parser.y
@@ -0,0 +1,20 @@
+--- parser.y.orig 2003-12-09 16:45:41 UTC
++++ parser.y
+@@ -110,7 +110,7 @@ image_ranges:
+
+
+ input_file_clause:
+- FILE_KEYWORD STRING ';' { input_set_file ($2) } ;
++ FILE_KEYWORD STRING ';' { input_set_file ($2); } ;
+
+ image_clause:
+ IMAGE INTEGER ';' { range_t range = { $2, $2 }; input_images (range); } ;
+@@ -119,7 +119,7 @@ images_clause:
+ IMAGES image_ranges ';' ;
+
+ rotate_clause:
+- ROTATE INTEGER ';' { input_set_rotation ($2) } ;
++ ROTATE INTEGER ';' { input_set_rotation ($2); } ;
+
+ unit:
+ /* empty */ /* default to INCH */ { $$ = 1.0; }