View | Details | Raw Unified | Return to bug 133053
Collapse All | Expand All

(-)audio/raop_play/files/patch-aexcl-Makefile.in (-1 / +2 lines)
Lines 15-21 Link Here
15
-GLIB_SUBST=1 # remove this line, if you want to use libglib-2.0
15
-GLIB_SUBST=1 # remove this line, if you want to use libglib-2.0
16
 DESTDIR =
16
 DESTDIR =
17
 
17
 
18
 CXXFLAGS += -Wall -D_GNU_SOURCE -I../raop_play -I../rendezvous
18
-CXXFLAGS += -Wall -D_GNU_SOURCE -I../raop_play -I../rendezvous
19
+CXXFLAGS += -Wall -I../raop_play -I../rendezvous
19
 GLIB = glib-2.0
20
 GLIB = glib-2.0
20
-CXXFLAGS += -I/usr/include/$(GLIB) -I/usr/lib/$(GLIB)/include
21
-CXXFLAGS += -I/usr/include/$(GLIB) -I/usr/lib/$(GLIB)/include
21
-CFLAGS += -Wall -I/usr/include/$(GLIB) -I/usr/lib/$(GLIB)/include -I../raop_play
22
-CFLAGS += -Wall -I/usr/include/$(GLIB) -I/usr/lib/$(GLIB)/include -I../raop_play
(-)dns/fastresolve/files/patch-dns-terror::getline.c (+24 lines)
Added Link Here
1
--- dns-terror/getline.c.orig	2009-03-25 02:34:45.000000000 -0400
2
+++ dns-terror/getline.c	2009-03-25 02:38:48.000000000 -0400
3
@@ -26,6 +26,7 @@
4
    is defined.  */
5
 #define _GNU_SOURCE	1
6
 #include <stdio.h>
7
+#include <sys/param.h>
8
 #include <sys/types.h>
9
 
10
 #if defined __GNU_LIBRARY__ && HAVE_GETDELIM
11
@@ -134,6 +135,7 @@
12
   return ret;
13
 }
14
 
15
+#if __FreeBSD_version < 800067
16
 int
17
 getline (lineptr, n, stream)
18
      char **lineptr;
19
@@ -152,4 +154,5 @@
20
 {
21
   return getstr (lineptr, n, stream, delimiter, 0);
22
 }
23
+#endif	/* __FreeBSD_version < 800067 */
24
 #endif
(-)graphics/pecomato/files/patch-Makefile.unix (+15 lines)
Added Link Here
1
--- Makefile.unix.orig	2009-03-25 03:04:17.000000000 -0400
2
+++ Makefile.unix	2009-03-25 03:15:45.000000000 -0400
3
@@ -27,7 +27,11 @@
4
 SRC_PREFIX = $(shell pwd)/dist-src
5
 
6
 TARGET	 = $(PRODUCT)
7
-OBJECTS	 = main.o gnu-strndup.o gnu-getline.o util.o exif.o iptc.o jfif.o adobe.o tiff.o
8
+OBJECTS	 = main.o util.o exif.o iptc.o jfif.o adobe.o tiff.o
9
+NEEDEXT  = $(shell expr $(OSVERSION) \< 800067)
10
+ifeq ($(NEEDEXT),1)
11
+OBJECTS += gnu-strndup.o gnu-getline.o
12
+endif
13
 DOC_DEFS = doc/Makefile.defs
14
 
15
 
(-)graphics/pecomato/files/patch-util.h (-6 / +18 lines)
Lines 1-10 Link Here
1
--- util.h.orig	Mon Dec 18 20:22:56 2006
1
--- util.h.orig	2007-09-28 12:04:57.000000000 -0400
2
+++ util.h	Mon Dec 18 20:23:03 2006
2
+++ util.h	2009-03-25 03:18:26.000000000 -0400
3
@@ -8,6 +8,7 @@
3
@@ -10,6 +10,7 @@
4
 
5
 #ifndef _util_h_
6
 #define _util_h_
4
 #define _util_h_
7
+#define _SSIZE_T_DECLARED
8
 
5
 
9
 
6
 
7
+#include <sys/param.h>
10
 #include <stdio.h>
8
 #include <stdio.h>
9
 #include <stdarg.h>
10
 
11
@@ -67,9 +68,11 @@
12
 #define _SSIZE_T_DECLARED
13
 #endif
14
 #endif
15
+#if __FreeBSD_version < 800067
16
 #include "gnu-getline.h"
17
 #include "gnu-strndup.h"
18
 #endif
19
+#endif
20
 
21
 /* Microsoft Windows specific defines */
22
 #ifdef OS_WIN32
(-)security/vpnc/files/patch-sysdep.h (+13 lines)
Added Link Here
1
--- sysdep.h.orig	2009-03-25 03:28:26.000000000 -0400
2
+++ sysdep.h	2009-03-25 03:29:18.000000000 -0400
3
@@ -86,6 +86,10 @@
4
 #define HAVE_FGETLN    1
5
 #define HAVE_UNSETENV  1
6
 #define HAVE_SETENV    1
7
+#include <sys/param.h>
8
+#if __FreeBSD_version >= 800067
9
+#define	HAVE_GETLINE   1
10
+#endif
11
 #endif
12
 
13
 /***************************************************************************/

Return to bug 133053