mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 15:50:33 -04:00
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful - Canonicalize patch names - Fix DOS line endings in patch files
20 lines
652 B
C
20 lines
652 B
C
--- mod_mem/mod_mem.c.orig 2009-06-15 22:34:24.000000000 +0400
|
|
+++ mod_mem/mod_mem.c 2009-11-06 06:28:55.000000000 +0300
|
|
@@ -128,7 +128,7 @@
|
|
get_system_info( &info );
|
|
return B_PAGE_SIZE * ( info.max_pages - info.used_pages );
|
|
|
|
-#elif !defined(TARGET_MAC)
|
|
+#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
|
|
/* Linux and other Unix (?) */
|
|
struct sysinfo meminf;
|
|
int fv;
|
|
@@ -166,7 +166,7 @@
|
|
get_system_info( &info );
|
|
return B_PAGE_SIZE * ( info.max_pages );
|
|
|
|
-#elif !defined(TARGET_MAC)
|
|
+#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
|
|
/* Linux and other Unix (?) */
|
|
struct sysinfo meminf;
|
|
int fv;
|