File hylafax-4.4.4-pic.dif of Package hylafax

Index: hylafax-4.2.1/faxd/Makefile.in
===================================================================
--- hylafax-4.2.1.orig/faxd/Makefile.in
+++ hylafax-4.2.1/faxd/Makefile.in
@@ -43,6 +43,9 @@ LIBVERSION	= @VERSION@
 SRCDIR	= ${DEPTH}/${TOPSRCDIR}/faxd
 VPATH	= ../@SRCDIR@/faxd
 
+CFLAGS += -fPIC
+C++FLAGS += -fPIC
+
 C++FILES=ClassModem.c++ \
 	FaxModem.c++ \
 	Class0.c++ \
Index: hylafax-4.2.1/regex/Makefile.in
===================================================================
--- hylafax-4.2.1.orig/regex/Makefile.in
+++ hylafax-4.2.1/regex/Makefile.in
@@ -42,6 +42,7 @@ DEPTH=..
 SRCDIR	= ${DEPTH}/${TOPSRCDIR}/regex
 VPATH	= ../@SRCDIR@/regex
 
+CFLAGS += -fPIC
 CFILES= regexec.c regcomp.c regfree.c regerror.c
 TARGETS=libregex.a
 
Index: hylafax-4.2.1/util/Makefile.in
===================================================================
--- hylafax-4.2.1.orig/util/Makefile.in
+++ hylafax-4.2.1/util/Makefile.in
@@ -43,6 +43,9 @@ LIBVERSION	= @VERSION@
 SRCDIR	= ${DEPTH}/${TOPSRCDIR}/util
 VPATH	= ../@SRCDIR@/util
 
+CFLAGS += -fPIC
+C++FLAGS += -fPIC
+
 C++FILES=Array.c++ \
 	BoolArray.c++ \
 	Dictionary.c++ \
openSUSE Build Service is sponsored by