diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /net-misc/pedro/files | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'net-misc/pedro/files')
-rw-r--r-- | net-misc/pedro/files/pedro-1.12-portage.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/pedro/files/pedro-1.12-portage.patch b/net-misc/pedro/files/pedro-1.12-portage.patch new file mode 100644 index 000000000000..17b027cebdf0 --- /dev/null +++ b/net-misc/pedro/files/pedro-1.12-portage.patch @@ -0,0 +1,45 @@ +--- pedro-1.12.orig/configure.ac 2021-01-06 21:02:47.000000000 -0000 ++++ pedro-1.12/configure.ac 2021-05-31 18:52:32.205375746 -0000 +@@ -4,30 +4,31 @@ + AC_PROG_CC + AC_PROG_LEX + AC_PROG_INSTALL ++AM_PROG_AR + AC_PROG_RANLIB + #AC_PROG_LIBTOOL + PKG_CHECK_MODULES([GLIB],[glib-2.0 >= 2.12]) + AM_CONFIG_HEADER(config.h) + AC_CONFIG_MACRO_DIR([m4]) +-CPPFLAGS="-DNDEBUG -O2 -g `pkg-config --cflags glib-2.0`" ++CPPFLAGS="`${PKG_CONFIG} --cflags glib-2.0`" + case "${host}" in +- *i686*) ++ *-mingw32*) + WIN32="yes" +- LDFLAGS="" +- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" ++ #LDFLAGS="" ++ #LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm" ++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" + ;; + *x86*) + WIN32="no" +- LDFLAGS="" +- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" ++ #LDFLAGS="" ++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm" ++ #LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" + ;; + *) + WIN32="no" +- #LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LDFLAGS="" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" ++ #LDFLAGS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm" ++ #LDFLAGS="" ++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm" + ;; + esac + AC_OUTPUT(Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile) |