diff options
Diffstat (limited to 'sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch')
-rw-r--r-- | sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch new file mode 100644 index 0000000..2de3c54 --- /dev/null +++ b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch @@ -0,0 +1,21 @@ +diff -Naur pam_mobile_otp.orig/Makefile pam_mobile_otp/Makefile +--- pam_mobile_otp.orig/Makefile 2010-11-01 17:54:30.000000000 +0900 ++++ pam_mobile_otp/Makefile 2010-11-23 10:13:38.098095114 +0900 +@@ -5,14 +5,14 @@ + OPTS="-D_TRACE_ -Wall" make all + + pam_mobile_otp.o : pam_mobile_otp.c +- gcc -fPIC -c pam_mobile_otp.c ++ $(CC) $(CFLAGS) -fPIC -c pam_mobile_otp.c + + pam_mobile_otp.so : pam_mobile_otp.o md5.o +- ld -x --shared -o pam_mobile_otp.so pam_mobile_otp.o \ ++ $(CC) -shared $(LDFLAGS) -o pam_mobile_otp.so pam_mobile_otp.o \ + md5.o -lpam + + md5.o : md5.c +- gcc -fPIC -c md5.c -DSTDC_HEADERS ++ $(CC) $(CFLAGS) -fPIC -c md5.c -DSTDC_HEADERS + + install : pam_mobile_otp.so + cp pam_mobile_otp.so /lib/security/pam_mobile_otp.so |