Commits

Joshua Root authored 98b5a838e4e
New port: mddisplay (https://trac.macports.org/ticket/21611)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@60248 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

science/mddisplay/files/patch-displib.c.diff

Added
1 +--- displib.c.orig 2003-08-04 07:50:36.000000000 -0700
2 ++++ displib.c 2009-09-30 11:43:57.000000000 -0700
3 +@@ -76,7 +76,7 @@
4 +
5 + if ( nread != n )
6 + {
7 +- fprintf(stderr,"Unable to fread(%d elements of size %d). fread() returned %d Error: %s\n",n,size,nread,strerror(errno));
8 ++ fprintf(stderr,"Unable to fread(%ld elements of size %ld). fread() returned %ld Error: %s\n",n,size,nread,strerror(errno));
9 + exit(EXIT_FAILURE);
10 + }
11 + }
12 +@@ -89,7 +89,7 @@
13 +
14 + if ( nwritten != n )
15 + {
16 +- fprintf(stderr,"Unable to fwrite(%d elements of size %d): %s\n",n,size,strerror(errno));
17 ++ fprintf(stderr,"Unable to fwrite(%ld elements of size %ld): %s\n",n,size,strerror(errno));
18 + exit(EXIT_FAILURE);
19 + }
20 + }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut