midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame libfetch-2.33.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
--- libfetch-2.33/Makefile.orig	2016-03-09 09:49:37.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
+++ libfetch-2.33/Makefile	2016-03-09 10:10:17.701283800 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
@@ -22,7 +22,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 ifeq ($(strip $(FETCH_WITH_OPENSSL)), true)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 CFLAGS+=	-DWITH_SSL
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
-LDFLAGS=	-lssl -lcrypto
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
+LDFLAGS_LIBS+=	-lssl -lcrypto
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 endif
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 ifeq ($(strip $(DEBUG)), true)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
@@ -65,7 +65,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 libfetch.so: $(GEN) $(INCS) $(OBJS)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 	$(E) "  build     " $@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 	$(Q) rm -f $@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
-	$(Q) $(LD) $(LDFLAGS) *.o -shared -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
+	$(Q) $(LD) $(LDFLAGS) *.o -shared -o $@ $(LDFLAGS_LIBS)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 libfetch.a: $(GEN) $(INCS) $(OBJS)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 	$(E) "  build     " $@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
--- libfetch-2.33/common.h.orig	2010-08-23 22:40:48.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
+++ libfetch-2.33/common.h	2016-03-09 10:01:24.270907600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
@@ -47,7 +47,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 #if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
     !defined(__digital__) && !defined(__linux) && !defined(__MINT__) && \
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
-    !defined(__sgi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
+    !defined(__sgi) && !defined(__midipix__)
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 #define HAVE_SA_LEN
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 5a3901